Skip to content

Better experience of failing package installation #607

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 28, 2025

Conversation

MichaelChirico
Copy link
Contributor

@MichaelChirico MichaelChirico commented May 9, 2025

I have some C++ lib issue that was hidden by quiet=TRUE, I only experienced this as:

Error in file(con, "r") : cannot open the connection
In addition: Warning message:
In file(con, "r") :
  cannot open file '/tmp/RtmpryiHR0/R_LIBS25202924885e/TestCompiled/R/TestCompiled': No such file or directory

Not very helpful.

@jimhester
Copy link
Member

I think we should probably make this an error rather than a warning. I don't know of any cases where a non-zero return from package installation would still be workable.

@jimhester jimhester merged commit 40122df into r-lib:main May 28, 2025
12 checks passed
@jimhester
Copy link
Member

Thanks, appreciate the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants