Skip to content

Packages not saved to cache in setup-renv when using pak #1085

Description

@Bisaloo

Describe the bug

Since I have switched to pak in my setup-renv, it looks like all packages (excepted pak itself) are reinstalled for each run instead of being cached:

      - uses: r-lib/actions/setup-renv@v2
+       env:
+         RENV_CONFIG_PAK_ENABLED: "true"

To Reproduce

https://github.com/r-hub/cransays/actions/runs/27604973809/job/81614615594

Expected behavior

Before the switch to pak: https://github.com/r-hub/cransays/actions/runs/27491524574/job/81257498288

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviorhelp wanted ❤️we'd love your help!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions