Skip to content

pak fails in github action (windows): error in pkgs$platform[winbin] <- ifelse(is.na(archs) | archs %in% c("i386,x64", … #448

Description

@MLopez-Ibanez
 shell: C:\R\bin\Rscript.EXE {0}
 env:
   pythonLocation: C:\hostedtoolcache\windows\Python\3.7.9\x64
   PKG_CONFIG_PATH: C:\hostedtoolcache\windows\Python\3.7.9\x64/lib/pkgconfig
   Python_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.7.9\x64
   Python2_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.7.9\x64
   Python3_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.7.9\x64
   _R_INSTALL_TIME_PATCHES_: no
   R_LIBS_USER: D:\a\_temp\Library
   TZ: UTC
   _R_CHECK_SYSTEM_CLOCK_: FALSE
   NOT_CRAN: true
   RSPM: https://packagemanager.rstudio.com/all/latest
   RENV_CONFIG_REPOS_OVERRIDE: https://packagemanager.rstudio.com/all/latest
   R_LIB_FOR_PAK: C:/R/site-library
 ##[endgroup]
 ##[group]Install/update packages
 ℹ Installing lockfile '.github/pkg.lock'
 Error: 
 ! error in pak subprocess
 Caused by error in `pkgs$platform[winbin] <- ifelse(is.na(archs) | archs %in% c("i386,x64", …`:
 ! replacement has length zero
 ---
 Backtrace:
 1. pak::lockfile_install(".github/pkg.lock")
 2. pak:::remote(function(...) { …
 3. err$throw(res$error)
 ---
 Subprocess backtrace:
 1. base::withCallingHandlers(cli_message = function(msg) { …
 2. get("lockfile_install_internal", asNamespace("pak"))(...)
 3. plan$update()
 4. pkgdepends:::pkg_lockfile_update(self, private)
 5. private$plan$update()
 6. pkgdepends:::pkgplan_update(self, private)
 7. pkgdepends:::make_installed_cache(private$config$get("library"))
 8. base::.handleSimpleError(function (e) …
 9. global h(simpleError(msg, call))
 Execution halted

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Fields

    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