diff --git a/tests/testrmd.R b/tests/testrmd.R index a3c8adf8bb..23db4e59b6 100644 --- a/tests/testrmd.R +++ b/tests/testrmd.R @@ -1,5 +1,5 @@ # only run this test on CI platforms -if (.Platform$OS.type == 'unix' && !isTRUE(as.logical(Sys.getenv("CI"))) && rmarkdown::pandoc_available()) { +if (.Platform$OS.type == 'unix' && isTRUE(as.logical(Sys.getenv("CI"))) && rmarkdown::pandoc_available()) { # test if Word documents can be rendered with a specified intermediate dir # (https://github.com/rstudio/rmarkdown/issues/1431)