Skip to content

digest package missing when using package with url:: syntax #433

@krlmlr

Description

@krlmlr

https://github.com/tidyverse/dplyr/actions/runs/3542720296/jobs/5948511287#step:5:129

Dependency resolution
  ℹ Creating lockfile '.github/pkg.lock'
  ✖ Creating lockfile '.github/pkg.lock' [237ms]
  
  Error: 
  ! error in pak subprocess
  Caused by error in `loadNamespace(x)`:
  ! there is no package called ‘digest’
  ---
  Backtrace:
  1. pak::lockfile_create(c(deps, extra_deps), lockfile = ".github/pkg.lock", …
  2. pak:::remote(function(...) { …
  3. err$throw(res$error)

To reproduce locally:

rig system add-pak --pak-version devel

In tidyverse/dplyr#6526:

remove.packages("digest")
pak::pak(c("deps::.", "url::https://duckdb.r-universe.dev/src/contrib/duckdb_0.6.0.tar.gz"), dependencies = TRUE)

I'll work around on GHA by preinstalling digest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions