Skip to content
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

How to get a more informative stack trace from install_github()? #813

Open
sorenwacker opened this issue Oct 14, 2024 · 1 comment
Open

Comments

@sorenwacker
Copy link

> install_github("LewisResearchGroup/digestR")
Downloading GitHub repo LewisResearchGroup/digestR@HEAD
── R CMD build ────────────────────────────────────────────────────────────────────────────────────
─  building ‘digestR_1.0.0.tar.gz’mation ...r/bq19zbjx0wvbr5gmvwypgb7431fw57/T/RtmpeocDou/remotes1476a6f69595f/LewisResearchGroup-digestR-69c5114/DESCRIPTION’ ...
   
Warning message:
In i.p(...) :
  installation of package ‘/var/folders/hr/bq19zbjx0wvbr5gmvwypgb7431fw57/T//RtmpeocDou/file1476a6d6aa51d/digestR_1.0.0.tar.gz’ had non-zero exit status

Trying to debug a package that I can install via GitHub actions, but for some reason it fails locally on a MacBook. The error only telle me that it failed, but not why. Is there a way to get more information ? I tried debug = TRUE, but that is not supported.

@gaborcsardi
Copy link
Member

Try downloading the tarball or zip file from GitHub, extracting it and then calling R CMD build and R CMD INSTALL.

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

No branches or pull requests

2 participants