kaijagahm / kaijagahm/dataExploration
Renv package install problems on networked drive
- Dominant language
- HTML
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
When I try to install some packages in renv-enabled projects on the network drive, I get this error message. Removing the package doesn't do anything. It also doesn't change anything if I use `renv::install()` vs. `install.packages()`.
```
> renv::install("rlang")
The following package(s) are missing their DESCRIPTION files:
rlang [Z:/Kaija/roostClassification/renv/library/R-4.2/x86_64-w64-mingw32/rlang]
These may be left over from a prior, failed installation attempt.
Consider removing or reinstalling these packages.
Installing rlang [1.0.6] ...
OK [copied cache]
Error: target file 'Z:/Kaija/roostClassification/renv/library/R-4.2/x86_64-w64-mingw32/rlang' already exists
> renv::remove("rlang")
* Removing package(s) from project library ...
Removing package 'rlang' ... Done!
> renv::install("rlang")
The following package(s) are missing their DESCRIPTION files:
rlang [Z:/Kaija/roostClassification/renv/library/R-4.2/x86_64-w64-mingw32/rlang]
These may be left over from a prior, failed installation attempt.
Consider removing or reinstalling these packages.
Installing rlang [1.0.6] ...
OK [copied cache]
Error: target file 'Z:/Kaija/roostClassification/renv/library/R-4.2/x86_64-w64-mingw32/rlang' already exists
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the failure with renv::install("rlang"), renv::remove("rlang"), and install.packages() using the network-drive path shown in the report. Inspect how the project library handles the existing rlang directory and missing DESCRIPTION file. Done means the cause is identified and package installation no longer fails with the target-file error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100