-
Notifications
You must be signed in to change notification settings - Fork 156
Closed
Description
Without pak
enabled, renv::update()
with no arguments updates all packages in the lockfile. With pak
enabled, it errors as follows:
> renv::update()
Error:
! error in pak subprocess
Caused by error in `find_package_root(path = root)`:
! Could not find R package in `/Users/ericscott/Documents/GitHub/usa-npn/thermal-trends` or its parent directories.
Type .Last.error to see the more details.
Traceback (most recent calls last):
6: renv::update()
5: renv_pak_install(packages = packages, library = libpaths, rebuild = rebuild,
type = type, prompt = prompt, project = project)
4: pak$local_install_dev_deps(root = project, lib = lib, ask = prompt)
3: remote(function(...) {
get("local_install_dev_deps_make_plan", asNamespace("pak"))(...)
}, list(root = root, lib = lib, upgrade = upgrade, start = start,
dependencies = dependencies, loaded = loaded_packages(lib)))
2: err$throw(res$error)
1: base::stop(cond)
Metadata
Metadata
Assignees
Labels
No labels