Skip to content

Renv in quarto_publish.yaml #13

@amyheather

Description

@amyheather

In commit 8420b0c, I finally got a GitHub action thay successfully builds the quarto book running Python and R.

I had tried directly installing the environment in an action then rendering, but it failed to use both environments.

I switched to a Dockerfile, and used that container when rendering. However, I found that it did not find the R environment, and I had to re-run renv::restore() in the GitHub action for it to finally run successfully.

It would be good to understand why this is the case, and whether there is any changes I can make to the Dockerfile or quarto_publish.yaml which would avoid us needing to re-run the restore, as that is an intensive and long thing to run, and I would ideally like to make the GitHub action quicker. It also seems a little redundant, having already run renv::restore() in the Dockerfile.

Metadata

Metadata

Assignees

Labels

invalidThis doesn't seem right

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions