You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing a package from GitHub where the package is in a subdirectory of the main repository, pak::pkg_install() downloads the entire repository. For some repositories this may be a non-issue, but if the repository is large (and the R package is only a small part of the repository), this may result in a long, slow download.
Might it be possible to implement a sparse-checkout or equivalent to reduce downloads and improve install times in this situation?
The text was updated successfully, but these errors were encountered:
It does not seem that the git:: remotes in pak allow subdirectories? I did test whether remotes::install_git with a subdirectory specified used a sparse checkout, but it does not seem to.
When installing a package from GitHub where the package is in a subdirectory of the main repository,
pak::pkg_install()
downloads the entire repository. For some repositories this may be a non-issue, but if the repository is large (and the R package is only a small part of the repository), this may result in a long, slow download.Might it be possible to implement a sparse-checkout or equivalent to reduce downloads and improve install times in this situation?
The text was updated successfully, but these errors were encountered: