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

Installation fails on Mac? #739

Open
latot opened this issue Feb 4, 2025 · 0 comments
Open

Installation fails on Mac? #739

latot opened this issue Feb 4, 2025 · 0 comments

Comments

@latot
Copy link

latot commented Feb 4, 2025

Hi!, I was trying to install a private repo from pak (0.8.0.1), which works in linux.

The error, seems something of the credentials are failing:

Caused by error: 
! Bad GitHub credentials, make sure that your GitHub token is valid.
Caused by error in `stop(http_error(resp))`:
! Unauthorized (HTTP 401).

Here the info:

R version 4.2.3 (2023-03-15)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS 15.2
 
Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRlapack.dylib
 
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
 
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods  
[7] base     
 
loaded via a namespace (and not attached):
[1] processx_3.8.4    compiler_4.2.3    R6_2.5.1         
[4] cli_3.6.3         tools_4.2.3       rstudioapi_0.16.0
[7] callr_3.7.6       ps_1.8.1          pak_0.8.0.1    

The project has also private dependencies.

Here the weird things:

In Linux it works.

In Mac:

  • Remotes fails
  • Pak fails
  • Devtools works! (clone and install locally, which also needs to clone the internal deps which works, so is able to get the private repo)
  • Git Clone works from the terminal

Thx!

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

1 participant