Open
Description
Windows CI fails during vignette creation step of R CMD check
, while macOS and Ubuntu CI builds pass. Pre-building the package locally resolves the issue across all platforms. Further, adding local::.
under setup-r-dependencies
resolves the issue on the Windows CI; but, I don't think that's an optimal solution.
Build reference:
Windows CI Check log
── R CMD build ─────────────────────────────────────────────────────────────────
* checking for file 'D:\a\netid-package\netid-package/DESCRIPTION' ... OK
* preparing 'netid':
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... ERROR
Error: --- re-building 'hello.qmd' using html
processing file: hello.qmd
1/13
2/13 [setup]
Error in `library()`:
! there is no package called 'netid'
Backtrace:
1. global .main()
2. execute(...)
3. rmarkdown::render(...)
4. knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
5. knitr:::process_file(text, output)
...
16. base::withRestarts(...)
17. base (local) withRestartList(expr, restarts)
18. base (local) withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])
19. base (local) docall(restart$handler, restartArgs)
21. evaluate (local) fun(base::quote(`<pckgNtFE>`))
Quitting from lines 11-12 [setup] (hello.qmd)
Execution halted
Error: Error: processing vignette 'hello.qmd' failed with diagnostics:
✖ Error running quarto cli.
Caused by error:
! System command 'quarto.exe' failed
--- failed re-building 'hello.qmd'
SUMMARY: processing the following file failed:
'hello.qmd'
Error: Error: Vignette re-building failed.
Execution halted
Error: Error in proc$get_built_file() : Build process failed
Calls: <Anonymous> ... build_package -> with_envvar -> force -> <Anonymous>
Execution halted
Error: Process completed with exit code 1.
Metadata
Metadata
Assignees
Labels
No labels