Windows CI Errors on Package Re-build
@cderv is already working on this.
Since Nov 12, 2024.
Assessment
This issue has not been assessed yet.
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:
https://github.com/stanford-stats290/netid-package/actions/runs/11763068834/job/32766629444
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.
- Dominant language
- R
- Stars
- 161
- Forks
- 29
- Avg merge
- 3h 18m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from quarto-dev/quarto-r
-
Difficulty 3/5 1-2 days Newbie friendliness 50/100
quarto-dev/quarto-r#301 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
quarto-dev/quarto-r#299 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
quarto-dev/quarto-r#297 ·
-
enhancement
quarto-dev/quarto-r#294 · 1 comment · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
quarto-dev/quarto-r#290 · 1 comment ·
All issues in quarto-dev/quarto-r
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
r-lib/pkgdepends#485 · 3 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
beginners blocker
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enviPathR OpenBuild Error Build OK Build Warning policies-accepted pre-review precheck-passed
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Bioconductor/BiocContributions#207 · 6 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
datacarpentry/semester-biology#1255 ·