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

install error on linux, unable to build sysdata db #2

Closed
wvictor14 opened this issue Jun 26, 2019 · 6 comments
Closed

install error on linux, unable to build sysdata db #2

wvictor14 opened this issue Jun 26, 2019 · 6 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@wvictor14
Copy link
Owner

Installing on R 3.6.0 fails:
r-lib/remotes#374 (comment)

Installing on R 3.5.3, 3.5.1 works fine (only ones I tested).

Current workaround is to run:

withr::with_envvar(c(R_REMOTES_NO_ERRORS_FROM_WARNINGS="true"), 
  remotes::install_github('wvictor14/planet')
)
@wvictor14 wvictor14 self-assigned this Jun 26, 2019
@wvictor14 wvictor14 added the help wanted Extra attention is needed label Jun 26, 2019
@wvictor14
Copy link
Owner Author

install_github('wvictor14/planet') works fine on 3.6.1

@wvictor14 wvictor14 reopened this Dec 1, 2020
@wvictor14
Copy link
Owner Author

Still a problem.

Some info here and here

@wvictor14
Copy link
Owner Author

I've discovered that this problem is unique to linux and not restricted to R version 3.

The workaround still works when installing on linux:

withr::with_envvar(c(R_REMOTES_NO_ERRORS_FROM_WARNINGS="true"),
remotes::install_github('wvictor14/planet')
)

But for some reason users cannot access or import data objects with data()

I also tried updating sysdata.rda as some other threads mentioned this may be the reason, but this didn't solve anything.

@wvictor14 wvictor14 changed the title install on R 3.6.0 results in error install error on linux, unable to build sysdata db Dec 1, 2020
@wvictor14
Copy link
Owner Author

With PR #6 , install works without error. However data is still not properly exported.

Tested on Mac and Windows both work fine in all aspects AFAIK. This problem is still restricted to linux.

@wvictor14
Copy link
Owner Author

I've discovered that on linux the data/ folder is not present after installing

@wvictor14
Copy link
Owner Author

Fixed in #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant