pak icon indicating copy to clipboard operation
pak copied to clipboard

pak::pkg_install freezes installing shinyWidgets, leaflet, when having mran.microsoft.com configured as repo, no timeout, no error

Open pascalgulikers opened this issue 2 years ago • 3 comments

When installing a private Github release, pkg_install hangs. Can only abort with sigterm

pak::pkg_install("My-company/my-private-repo@*release", upgrade = TRUE) While this works: remotes::install_github("My-company/my-private-repo@*release", upgrade = "always")

image

pascalgulikers avatar May 07 '22 10:05 pascalgulikers

actually, I've pinpointed it to the lockfile_create() function. When built from source:

pak::lockfile_create() Error in cli$num_ansi_colors() : attempt to apply non-function

And the binary just hangs forever: image

pascalgulikers avatar May 27 '22 19:05 pascalgulikers

This happens when I have shinyWidgets or leaflet in my DESCRIPTION file, plus when mran.microsoft.com is configured as a source repo

pascalgulikers avatar May 27 '22 20:05 pascalgulikers

This is probably a case when the solver is slow. We have improved this situation, do you still have this problem.

gaborcsardi avatar Nov 01 '23 13:11 gaborcsardi