Skip to content

Commit 78475f8

Browse files
committed
Add missing skip_if_no_quarto()
1 parent 96564d8 commit 78475f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/testthat/test-utils-extract.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ test_that("qmd_to_r_script() writes R file that renders", {
4747
})
4848

4949
test_that("qmd_to_r_script() comment cells with eval = TRUE", {
50+
skip_if_no_quarto()
5051
r_script <- withr::local_tempfile(pattern = "purl", fileext = ".R")
5152

5253
qmd_to_r_script(
@@ -67,6 +68,7 @@ test_that("qmd_to_r_script() comment cells with eval = TRUE", {
6768
})
6869

6970
test_that("qmd_to_r_script() ignore cells with purl = FALSE", {
71+
skip_if_no_quarto()
7072
r_script <- withr::local_tempfile(pattern = "purl", fileext = ".R")
7173

7274
qmd_to_r_script(

0 commit comments

Comments
 (0)