setup-r-dependencies@v2 causes setup quarto v2 to fail with older quarto versions

I ran into an issue that I think is related to this commit, but isn't necessarily a bug. It looks like in the new setup-r-dependencies@v2 action, quarto is installed if necessary.

I ran into a failing action because Quarto 1.5.56 was being installed in the setup-r-dependencies@v2 action, but the setup-quarto action was looking specifically for version 1.3.450. I've fixed by upgrading quarto, but to avoid this issue in the future, is the solution just to run the setup quarto job prior to the setup r dependencies job?

Yes, if you want a specific quarto version, then either run setup-quarto before setup-r-dependencies, or drop the quarto setup step and specify quarto-version to setup-r-dependencies.

This topic was automatically closed 7 days after the last reply. 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.