Skip to content

Commit

Permalink
Correctly run some tests only on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cderv committed Jul 3, 2023
1 parent aef69f3 commit ec2ea30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testrmd.R
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit ec2ea30

Please sign in to comment.