quarto-dev / quarto-actions

GNU General Public License v2.0
228 stars 53 forks source link

Error with gh action publish@v2 #94

Open Cidree opened 11 months ago

Cidree commented 11 months ago

Hello.

I am facing an issue for some months with the GitHub action publish@v2, and I do not find the way of getting rid of it.

In this link you can see my last attemp: https://github.com/Cidree/blog/actions/runs/7075882995

[ 4/11] courses.qmd
Error in loadNamespace(x) : there is no package called ‘rmarkdown’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted

I don't know what's the problem there with rmarkdown. I have the version 2.25 of rmarkdown installed.

Do you know what could be the problem?

cscheid commented 11 months ago

I don't know what's the problem there with rmarkdown. I have the version 2.25 of rmarkdown installed.

When you say "I have", do you mean it in your computer? GitHub actions are run on GitHub's servers, so your GitHub actions need to also install the dependencies. The documentation explains it.