It seems that one of my vignette is failing to build on GitHub actions, but only on Windows and macOS, and although it runs with no error/warning/note with R CMD check locally on Windows 10.
The vignette can be accessed here: Automatic indirect effects • lavaanExtra (and it's GitHub code here: lavaanExtra/indirect.Rmd at main · rempsyc/lavaanExtra · GitHub). The failed run can be accessed here: lavaanExtra 0.0.8 · rempsyc/lavaanExtra@8f7309b · GitHub
And the full message is the following:
Quitting from lines 23-48 (indirect.Rmd) Error: Error: processing vignette 'indirect.Rmd' failed with diagnostics: invalid 'path' argument Error: Error: Vignette re-building failed. Error: Error in proc$get_built_file() : Build process failed Warning: No files were found with the provided path: check. No artifacts will be uploaded.
The lines mentioned are the first code chunk where I do actual processing (first one just loads functions), and there is a plot being printed; I suspect the problem might relate to this as it is when I added this plotting function that the problem started appearing.
The strange thing is that I don't deal with paths in this vignette or in the functions used. I have checked online for this message but have not found any satisfying answer. Any idea?