Skip to content

Updating metadata database ... failed #765

@jeroen

Description

@jeroen

As of a few days ago, for all builds in r-universe we very often see:

pak::pkg_sysreqs('.', upgrade = FALSE)
#  ✔ Updated metadata database: 8.82 MB in 16 files.
#  ℹ Updating metadata database
#  ✖ Updating metadata database ... failed

update here is a minimal example: https://github.com/jeroen/pak-tests/actions/runs/14442464229/job/40495486494


Perhaps it is the same problem as #764

> pak::pkg_sysreqs('.', upgrade = FALSE)
! Optional package `pillar` is not available for pak.
  Use `pak::pak_install_extra()` to install optional packages.
  Use `options(pak.no_extra_messages = TRUE)` to suppress this message.
✔ Updated metadata database: 6.16 MB in 15 files.
✖ Updating metadata database ... failed
Error:  13  deps for  1/1  pkgs [⠧] Done
! error in pak subprocess
Caused by error in `value$ref %in% private$state$ref && !value$direct`:
! 'length = 12' in coercion to 'logical(1)'
Type .Last.error to see the more details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions