Hello. I created a github action and I get this error:
Run Rscript -e 'source("auto workflow.R")'
[9](https://github.com/iamYannC/r-podcast/actions/runs/9747296399/job/26900790405#step:5:10)Error: Error in library(rvest) : there is no package called βrvestβ
And this install job runs with no issues.
It suppose to run a auto workflow.R file that then runs the full script. Here is a link to my GitHub Repo YAML
What do you think is the issue?
Oh and BTW feel free to clone and do some cool analysis on it! I hope to automate it, but for now I maintain a weekly update of the episodes of the R weekly podcast!
Hey Gabor, thanks.
I am writing this project outside of the context of a package, and I don't have a description file.
Would you suggest using a lock file from renv to make sure my dependencies are installed instead maybe?
Or, is there a pre-made job from the r-lib which already installs system libraries?
I am not sure about the ubunto-packages. If you have a reliable reference for further reading that would also do the trick. I found various sources online regarding the whole automation process and I realise i didn't go through any official documentation or process.
You do not need to create a package. If you create a DESCRIPTION file it will serve as a lock file and you can use setup-r-dependencies to to install system packages (on Linux) and R packages.
Here is an example that is a book and not a package. The DESCRIPTION file:
I took a diff approach and used renv. Now the failure is at something i am not sure i have to do with: Error: Error: Error installing package 'curl':
and mainly, Package libcurl was not found in the pkg-config search path.
I really thought that one would work :
Any thought? I feel like I butchered my yml workflow by now. im really in the dark here