remotes icon indicating copy to clipboard operation
remotes copied to clipboard

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

Open sorenwacker opened this issue 1 year ago • 1 comments

> 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.

sorenwacker avatar Oct 14 '24 15:10 sorenwacker

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

gaborcsardi avatar Oct 14 '24 15:10 gaborcsardi