Hi, folks. I'm trying to figure out why my package's vignette has failed to rebuild on Ubuntu in the R CMD Check workflow. It worked just fine on Windows and MacOS.
The following is the error message regarding the vignette build failure that I got from the R CMD Check on Ubuntu.
── R CMD build ─────────────────────────────────────────────────────────────────
* checking for file ‘.../DESCRIPTION’ ... OK
* preparing ‘bpsr’:
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... ERROR
Error: --- re-building ‘bpsr.Rmd’ using rmarkdown
Quitting from lines 56-65 (bpsr.Rmd)
Error: Error: processing vignette 'bpsr.Rmd' failed with diagnostics:
error:0A000152:SSL routines::unsafe legacy renegotiation disabled
--- failed re-building ‘bpsr.Rmd’
SUMMARY: processing the following file failed:
‘bpsr.Rmd’
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.
Run ## --------------------------------------------------------------------
Show testthat output
Run actions/upload-artifact@v3
Warning: No files were found with the provided path: /home/runner/work/bpsr/bpsr/check. No artifacts will be uploaded.
The pkgdown workflow also failed when building the vignette, seemingly due to the same reason.
Any pointers will be much appreciated. Thanks!