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

[macOS M1] Updating R (4.1 to 4.2) caused issues #384

Open
sabaferdous12 opened this issue Jan 24, 2023 · 0 comments
Open

[macOS M1] Updating R (4.1 to 4.2) caused issues #384

sabaferdous12 opened this issue Jan 24, 2023 · 0 comments
Labels
bug Something isn't working frequency: low indicator that a use-case has a low-frequency in lessons package cache Related to the {renv} package cache solution 💡 A temporary solution is in the comments

Comments

@sabaferdous12
Copy link

sabaferdous12 commented Jan 24, 2023

I was working on R version 4.1 (in Rstudio) and I had to update my R to 4.2 to resolve M1 (arm64) and R 4.1 (x86_64) incompatibility issues.

On updating the R to 4.2, sandpaper lesson build did not finish successfully and stopped with the following error:

Retrieving 'https://mran.microsoft.com/snapshot/2022-07-20/bin/macosx/big-sur-arm64/contrib/4.2/stringi_1a1b5115884cd68650915bb1a8ad893ee4d3f4c6.tgz' ...
Warning messages:
1: could not retrieve available packages for url 'https://carpentries.github.io/drat/bin/macosx/big-sur-arm64/contrib/4.2' 
2: curl: (22) The requested URL returned error: 404 
Error: 
! in callr subprocess.
Caused by error: 
! failed to find binary for 'knitr 1.38' in package repositoriesSee `$stdout` and `$stderr` for standard output and error.

renv.lock.txt

I have attached renv.lock file for error reference.

Note: running update_cache() did solve the issue. @zkamvar

@zkamvar zkamvar added bug Something isn't working package cache Related to the {renv} package cache solution 💡 A temporary solution is in the comments labels Jan 24, 2023
@zkamvar zkamvar changed the title Updating R (4.1 to 4.2) caused issues Feb 7, 2023
@zkamvar zkamvar added the frequency: low indicator that a use-case has a low-frequency in lessons label Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frequency: low indicator that a use-case has a low-frequency in lessons package cache Related to the {renv} package cache solution 💡 A temporary solution is in the comments
2 participants