`install.packages('tidyverse')` needs `BH` and `plogr` installed specifically
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 409
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
So I came up on an issue similar to https://github.com/rstudio/packrat/issues/511 , on a different computer. I used my usual process of install.packages('tidyverse') to start, and then adding additional packages, in this case fable and tsibble.
When I came to my first snapshot a similar error appeared, but I scanned down the packrat pane in RStudio and noticed it listed BH and plogr as 'Not Installed'. I installed them specifically, manually and tried again. This time it identified progress as not installed, which wasn't on the GUI at all. I installed that as well, and afterwards snapshot ran, seemingly successfully, but with the following warning:
In fileDependencies.R(tempfile) :
Failed to parse /var/folders/c4/yqgzfyhn0252l6m56ldcs3hc0000gn/T//RtmpqgjfmL/file25818e469dc ; dependencies in this file will not be discovered.
I have isolated the first two features purely to tidyverse. In a new project:
install.packages("tidyverse")
packrat::snapshot()
Returns:
Error: Unable to retrieve package records for the following packages:
- 'BH', 'plogr'
Why progress turns up in my specific case is still unclear though. Both cases I was running on Mac.
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 with the minimal reproduction using install.packages("tidyverse") followed by packrat::snapshot(), and inspect the package-record retrieval path for BH and plogr. The warning identifies fileDependencies.R as another entry point to examine. Done means the reproduction no longer reports BH and plogr as unavailable, with the behavior covered by an appropriate regression test.
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
- Mostly clear
- Newbie friendliness
- 35/100