Skip to content

Commit c0b9f44

Browse files
committed
don't use --vanilla in test as we rely on it for renv in test environment
1 parent 11a8898 commit c0b9f44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/smoke/knitr/rscript-args.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ let rscriptArgs: string | undefined;
1818
testRender(rscriptArgsDoc.input, "markdown_strict", true, [
1919
noErrorsOrWarnings,
2020
ensureFileRegexMatches(rscriptArgsDoc.output.outputPath, [
21-
/"--vanilla"/, /"--max-connection=258"/]
21+
/"--no-restore"/, /"--max-connection=258"/]
2222
),
2323
],
2424
{
2525
setup: async () => {
26-
rscriptArgs = setEnvVar("QUARTO_KNITR_RSCRIPT_ARGS", "--vanilla,--max-connections=258");
26+
rscriptArgs = setEnvVar("QUARTO_KNITR_RSCRIPT_ARGS", "--no-restore,--max-connections=258");
2727
},
2828
teardown: async () => {
2929
restoreEnvVar("QUARTO_KNITR_RSCRIPT_ARGS", rscriptArgs);

0 commit comments

Comments
 (0)