Skip to content

Error: <callr_remote_error: Failed to move installed package at '/usr/local/lib/R/site-library/ps'> #251

@mskyttner

Description

@mskyttner

Reproducible steps

Make a build with docker build . using the Dockerfile below:

FROM rocker/geospatial:4.0.3
RUN R -e 'install.packages("pak", repos = "https://r-lib.github.io/p/pak/dev/")'
RUN R -e 'pak::pkg_install("ps", ask = FALSE)'

Log

Stack trace:

  1. (function (...) ...
  2. base:::withCallingHandlers(cli_message = function(msg) { ...
  3. get("pkg_install_do_plan", asNamespace("pak"))(...)
  4. pkgdepends::install_package_plan(plan = plan, lib = lib, num_workers = num_ ...
  5. base:::withCallingHandlers({ ...
  6. pkgdepends:::handle_events(state, events)
  7. pkgdepends:::handle_event(state, i)
  8. proc$get_result()
  9. processx:::process_get_result(self, private)
  10. private$post_process()
  11. pkgdepends:::install_extracted_binary(filename, lib_cache, pkg_cache, ...
  12. base:::throw(new_fs_error("Failed to move installed package at {installed_p ...
  13. base:::signalCondition(cond)
  14. (function (e) ...
  15. base:::stop(e)
  16. (function (e) ...

Related issue

#175

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions