`rig library list` errors with 'No such file or directory' on macos
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start from the rig system dirs output in the issue, which lists the project library root as (in-project, .rvenv/lib), and find where rig library list resolves that path in the Rust source. Reproduce on macOS with a default system R 4.6 install and check which directory the lookup expects but does not find. Done when the command lists installed libraries or prints a clear message when no project library exists.
Written by the indexing model from the issue text.
Description
Hello! Excited to try out rig; I installed r-rig via Brew and tried running rig library list without any further configuration or installations. I see ✗ No such file or directory (os error 2) after a short pause. rig appears able to find my default systemwide 4.6 installation. The website/docs led me to believe this command should work.
Here is the relevant info I could find
> rig system dirs
Mode admin
Architecture arm64
R root /Library/Frameworks/R.framework/Versions
Binary dir /usr/local/bin
Config file /Users/cmccartan/Library/Application Support/com.gaborcsardi.rig/config.json
Data dir /Users/cmccartan/Library/Application Support/com.gaborcsardi.rig
Cache dir /Users/cmccartan/Library/Caches/com.gaborcsardi.rig
Download dir /var/folders/64/lv8c__115kj6hxqc1f9sq5zr0000gn/T/rig-501
Logs dir /Users/cmccartan/Library/Logs/com.gaborcsardi.rig
Project library root (in-project, .rvenv/lib)
> Rscript -e 'sessionInfo()'
R version 4.6.0 (2026-04-24)
Platform: aarch64-apple-darwin23
Running under: macOS Sequoia 15.7.4
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.6/Resources/lib/libRlapack.dylib; LAPACK version 3.12.1
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
time zone: America/New_York
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_4.6.0 tools_4.6.0
- Dominant language
- Rust
- Stars
- 1k
- Forks
- 41
- Avg merge
- 9h 33m
- Merged PRs (30d)
- 17
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
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.
More from r-lib/rig
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug documentation
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
.Renviron activation in rig proj: handling project secrets and Posit Assistant restrictionsPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ubugeeei-prod/vize#13586 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
storytold/photocraft#16565 ·
Maintainers usually reply within 1 day
-
flaky needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
bherbruck/solvecraft#21315 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
undergroundrap/hatchling#624 ·
Maintainers usually reply within 1 day
-
node:url: url.parse and url.resolve report name parse/resolve instead of Node's urlParse/urlResolveOpenarea:stdlib effort:S impact:low parity type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day