Impossible to install
- Dominant language
- R
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
> remotes::install_github("BAAQMD/strtools")
Downloading GitHub repo BAAQMD/strtools@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?
1: All
2: CRAN packages only
3: None
4: curl (5.0.2 -> 5.2.0) [CRAN]
5: textshaping (0.3.6 -> 0.3.7) [CRAN]
Enter one or more numbers, or an empty line to skip updates: 3
── R CMD build ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ checking for file ‘/tmp/RtmpWnuBhF/remotes347c906adbb7d1/BAAQMD-strtools-fc1c956/DESCRIPTION’ ...
─ preparing ‘strtools’:
✔ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
Omitted ‘LazyData’ from DESCRIPTION
─ building ‘strtools_2023.10.10.tar.gz’
Installing package into ‘/home/kalmer/R/x86_64-pc-linux-gnu-library/4.3’
(as ‘lib’ is unspecified)
* installing *source* package ‘strtools’ ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘units’
Calls: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
ERROR: lazy loading failed for package ‘strtools’
* removing ‘/home/kalmer/R/x86_64-pc-linux-gnu-library/4.3/strtools’
Warning message:
In i.p(...) :
installation of package ‘/tmp/RtmpWnuBhF/file347c907084afeb/strtools_2023.10.10.tar.gz’ had non-zero exit status
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the failure with remotes::install_github("BAAQMD/strtools") and note the missing `units` package during lazy loading. Inspect the package metadata in DESCRIPTION, then rerun the installation to confirm it completes without the missing-package error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100