The site is correctly built locally but when we send it to the CI it fails for some vignettes with this error:
Error in strsplit(cnd$stderr, "\r?\n") : non-character argument
I suspect this has something to do with line-ending character between Windows and Linux. However, everyone verified they have set it to LF
in RStudio global options.
At first, changing the Docker container helped solved the error once or twice, but now it keeps coming back for some files, even with empty vignettes. Also, when I develop inside the Docker container, it compiles correctly.
I am not able to provide a reproducible example, but I can share the repository and the Ci log file : https://gitlab.com/rdes_dreal/propre.rpls/-/jobs/803092186
Also, if you look at the history of the CI, you can follow when I started to fail : https://gitlab.com/rdes_dreal/propre.rpls/-/pipelines?page=1&scope=all&ref=dev
I know that without the reprex, it can be difficult to spot the problem, but I am looking for new directions to look for.
Thank you
I opened an issue on {pkgdown} but it is probably better to discuss it here as I don't really know if it is a {pkgdown} bug (https://github.com/r-lib/pkgdown/issues/1424)