Skip to content

Commit 49a6ac6

Browse files
committed
Try installing pandoc
1 parent 86dd932 commit 49a6ac6

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

ci/scripts/r_test.sh

+10-6
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ SCRIPT="as_cran <- !identical(tolower(Sys.getenv('NOT_CRAN')), 'true')
9191
args <- '--as-cran'
9292
build_args <- character()
9393
env <- c('_R_CHECK_CRAN_INCOMING_REMOTE_'='TRUE')
94+
95+
# Attempt to install pandoc
96+
system('apt', 'install', '-y', 'pandoc)
9497
} else {
9598
args <- c('--no-manual', '--ignore-vignettes')
9699
build_args <- '--no-build-vignettes'
@@ -122,12 +125,13 @@ SCRIPT="as_cran <- !identical(tolower(Sys.getenv('NOT_CRAN')), 'true')
122125
args <- c(args, paste0('--install-args=\"', install_args, '\"'))
123126
}
124127
125-
message(
126-
'Running rcmdcheck with:\n',
127-
'build_args: ', build_args,
128-
'args: ', args,
129-
'env: ', env
130-
)
128+
message('Running rcmdcheck with:\n')
129+
message('build_args:\n')
130+
print(build_args)
131+
message('args:\n')
132+
print(args)
133+
message('env:\n')
134+
print(env)
131135
132136
rcmdcheck::rcmdcheck(build_args = build_args, args = args, error_on = 'warning', check_dir = 'check', timeout = 3600, env = env)"
133137
echo "$SCRIPT" | ${R_BIN} --no-save

0 commit comments

Comments
 (0)