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

big-sur-arm64 binary #5033

Closed
adamaltmejd opened this issue Jun 1, 2021 · 11 comments
Closed

big-sur-arm64 binary #5033

adamaltmejd opened this issue Jun 1, 2021 · 11 comments

Comments

@adamaltmejd
Copy link

Have https://Rdatatable.gitlab.io/data.table set as a repo in getOption("repos") but renv produces the following warning at startup, guessing because the url 404s:

1: could not retrieve available packages for url 'https://Rdatatable.gitlab.io/data.table/bin/macosx/big-sur-arm64/contrib/4.1'
@jangorecki
Copy link
Member

I don't know what is renv, please define your problem with the use of base R.

@jangorecki
Copy link
Member

We don't produce binaries for Mac, not just big sure but any version of Mac. As of current moment.

@adamaltmejd
Copy link
Author

Strange, maybe this started with an update of renv that coincided with me moving over from homebrew R 4.1 to the mac binary. Renv is here: https://rstudio.github.io/renv/articles/renv.html, and on startup I get that message. But maybe its got nothing to do with data.table, thanks!

@adamaltmejd
Copy link
Author

Did not notice before but the warning message actually shows up when install.packages() is run too if getOption("repos") contains "https://Rdatatable.gitlab.io/data.table"

@jangorecki
Copy link
Member

This will be addressed in #3326

@adamaltmejd
Copy link
Author

Still receiving the same warning. Should one not set the url in option("repos") on Mac anymore?

> install.packages("data.table")
Installing package into ‘/Users/adam/.R/packages’
(as ‘lib’ is unspecified)
Warning: unable to access index for repository https://Rdatatable.gitlab.io/data.table/bin/macosx/big-sur-arm64/contrib/4.1:
  cannot open URL 'https://Rdatatable.gitlab.io/data.table/bin/macosx/big-sur-arm64/contrib/4.1/PACKAGES'

@jangorecki
Copy link
Member

You are attempting to install Mac binaries, try sources instead, "type" argument to install.packages

@adamaltmejd
Copy link
Author

Sure, I know. My problem here is i guess mainly with renv which cannot access and retrieve the list of packages available at the data.table repository making it issue a warning at every startup. Don't know how repositories are structured but couldn't it be that you are missing some file indicating that a data.table binary is not available?

@jangorecki
Copy link
Member

I think it may be issue with renv that assumes binaries are present.

@adamaltmejd
Copy link
Author

Yeah. Filed an issue yesterday: rstudio/renv#979

@adamaltmejd
Copy link
Author

See rstudio/renv#979 (comment)

Seems warning shows up in base R too because of missing PACKAGES file.

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