-
Notifications
You must be signed in to change notification settings - Fork 156
Open
Labels
featurea feature request or enhancementa feature request or enhancement
Description
I have private packages on a CRAN where I authenticate with credentials in a header:
install.packages("<package>", headers = <header>)
According to the docs, install_local and install_deps pass their ellipsis on to install.packages. However, this fails:
remotes::install_local("<path>", headers = <header>)
Replicating some of the work of install_deps I can make a work-around:
deps = remotes::dev_package_deps(dependencies = TRUE)
missing_deps = deps[is.na(deps[["installed"]]), ]
install.packages(missing_deps[["package"]], headers = <header>)
(Pardon the Base R way of filtering, but this is in a CI pipeline where I want to keep deps to a minimum.)
I haven't looked further into why this is failing, but I would be happy to do so and make a PR if you are interested.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featurea feature request or enhancementa feature request or enhancement