Building Vignette Fails on Ubuntu in R CMD Check GHA Workflow

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:
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!

This is a problem with the server that serves the API. I see this from the Ubuntu command line:

root@5e09602c535f:~# curl
curl: (35) error:0A000152:SSL routines::unsafe legacy renegotiation disabled

Maybe there is a way to tell libcurl to accept the unsafe encryption, but nevertheless you could report this issue to them.

This topic was automatically closed after 45 days. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.