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

Failing to install here library with R 4.1.2 #79

Open
thaiswalter10 opened this issue Mar 2, 2022 · 0 comments
Open

Failing to install here library with R 4.1.2 #79

thaiswalter10 opened this issue Mar 2, 2022 · 0 comments

Comments

@thaiswalter10
Copy link

thaiswalter10 commented Mar 2, 2022

Question
Hello, I updated my R version from 4.0.1 to 4.1.2 and I can't reinstall the here library anymore.

Environment
MacOS
RStudio: 2021.09.1 Build 372
"Ghost Orchid" Release (8b9ced18, 2021-11-08) for macOS
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.10 Chrome/69.0.3497.128 Safari/537.36

Error message

Command:
install.packages("here")

Error message:

Retrieving 'https://cran.rstudio.com/bin/macosx/contrib/4.1/here_1.0.1.tgz' ...
OK [file is up to date]
/usr/bin/tar xf '~/Library/Application Support/renv/binary/R-4.1/x86_64-apple-darwin17.0/repository/here/here_1.0.1.tgz' -C '/var/folders/nx/ffcrpmcx7n7143gn07z9pt7m0000gn/T//RtmpGdcaZ3/renv-description-1d232bc92821' 'here/DESCRIPTION'

tar: Error opening archive: Failed to open '~/Library/Application Support/renv/binary/R-4.1/x86_64-apple-darwin17.0/repository/here/here_1.0.1.tgz'
Erreur : error decompressing archive [error code 1]
Traceback (most recent calls last):
18: install.packages("here")
17: install(pkgs)
16: retrieve(names(remotes))
15: handler(package, renv_retrieve_impl(package))
14: renv_retrieve_impl(package)
13: renv_retrieve_repos(record)
12: renv_retrieve_repos_impl(record)
11: renv_retrieve_package(record, url, path)
10: renv_retrieve_successful(record, path)
9: renv_description_read(path, subdir = subdir)
8: filebacked(scope = "DESCRIPTION", path = path, callback = renv_description_read_impl,
subdir = subdir, ...)
7: callback(path, ...)
6: renv_archive_decompress(path, files = file, exdir = exdir)
5: renv_archive_decompress_tar(archive, files = files, exdir = exdir,
...)
4: renv_tar_decompress(tar, archive = archive, files = files, exdir = exdir,
...)
3: renv_system_exec(tar, args, action = "decompressing archive")
2: stopf(fmt, action, status)
1: stop(sprintf(fmt, ...), call. = call.)`

Thank you very much in advance,

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