Skip to content

manage_deps() doesn't respect pinned version #628

@andrewGhazi

Description

@andrewGhazi

Hi there, I maintain a new module in the Carpentries incubator. I used sandpaper::pin_version("[email protected]") in an attempt to pin the dependency on duckdb to version 1.1.2. You can see the updated renv.lock file here. The build process that gets triggered shows the dependency on the right version but then ignores that and tries to install the latest bugged version when setting up the cache to build the site, causing the whole build to fail. The subsequent re-attempts also fail from the same issue.

I believe the offending sandpaper::manage_deps() call in the github workflow is this line. I've tried to understand the source code for both the github action and sandpaper::manage_deps() but there's just too many layers of abstraction for me to identify the source of the error.

Sidenote: The failure from duckdb has something to do with a cleanup script in the latest version of duckdb which is why I'm trying to pin to 1.1.2.

Metadata

Metadata

Assignees

Labels

package cacheRelated to the {renv} package cachesolution 💡A temporary solution is in the comments

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions