Skip to content

Commit 0193b90

Browse files
committed
skip non-working test on Windows
#217 is the issue. Somehow setting R_LIBS in the process that calls R CMD check does not work on windows like it does on Linux and Mac. We'll opt-in back the test on windows when #217 is solved
1 parent a9c59e4 commit 0193b90

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/testthat/test-quarto.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ test_that("quarto_available()", {
161161
test_that("quarto sees same libpaths as main process", {
162162
skip_if_no_quarto()
163163
skip_on_cran()
164+
# Issue on windows with libpaths
165+
# https://github.com/quarto-dev/quarto-r/issues/217
166+
skip_on_os("windows")
164167
qmd <- local_qmd_file(c("```{r}", "#| echo: false", ".libPaths()", "```"))
165168
tmp_lib <- withr::local_tempdir("tmp_libpath")
166169
withr::local_libpaths(tmp_lib, action = "prefix")

0 commit comments

Comments
 (0)