r-lib / pak

A fresh approach to package installation
https://pak.r-lib.org
643 stars 56 forks source link

pkg_install stuck with empty pkg #526

Open VincentGuyader opened 11 months ago

VincentGuyader commented 11 months ago

I, i'm using {renv} to restore environnement,In some edge-cases, I find myself in the situation described below.

I think this should be handled by pak.

I tried with the development version, but the error message was different.

with 0.5.1

remotes <- structure(character(0), names = character(0))
pak::pkg_install(remotes)

# Found  0  deps for  0/0  pkgs [⠏] Done
# FREEZE

with 0.5.1.9000

remotes <- structure(character(0), names = character(0))
pak::pkg_install(remotes)

# Error in load_private_package("glue") : 
#   Cannot load glue from the private library