‘splines’ is not a valid installed package
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 409
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
packrat has an issue with the package survival. survival depends on splines which is no longer on CRAN as a separate download. So when I depend on survival in a project I get the error in the subject.
That is even true when I use extlib:
> packrat::extlib("splines")
Error in library(package, character.only = TRUE, lib.loc = lib.loc) :
‘splines’ is not a valid installed package
I use the current packrat from CRAN
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported failure with packrat::extlib("splines") and the survival dependency. Inspect packrat's handling of R packages that are no longer separate CRAN downloads. Done means survival can be depended on and splines can be loaded without the reported invalid-installed-package error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100