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

Failed install - R v3.6.0 - staged install #18

Closed
leppott opened this issue May 7, 2019 · 4 comments
Closed

Failed install - R v3.6.0 - staged install #18

leppott opened this issue May 7, 2019 · 4 comments

Comments

@leppott
Copy link
Owner

leppott commented May 7, 2019

Describe the bug
Staged install implemented in R v.3.6.0 is causing the package to not install.

StagedInstall: no in DESCRIPTION is a quick (temporary) fix.

Due to use of system.file(package="BioMonTools"). Probably save to a variable.

Staged install installs to temp directory and fails.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Additional context
https://developer.r-project.org/Blog/public/2019/02/14/staged-install/index.html

leppott added a commit that referenced this issue May 7, 2019
Temp fix for staged install for R v3.6.0, issue #18

Add 5 metrics for GA DNR 2006 index.
@leppott
Copy link
Owner Author

leppott commented May 17, 2019

Issue with devtools and R v3.6.0 so need to add an extra line of code before installing.

r-lib/devtools#1939

Using Sys.setenv("TAR" = "internal") prior to devtools::install_gitbub("leppott/CASTfxn") seems to do the trick.

Need to add to README.

@leppott
Copy link
Owner Author

leppott commented May 17, 2019

Works fine otherwise. That is, not issues with hard coded paths and staged install.

@leppott
Copy link
Owner Author

leppott commented May 17, 2019

Update Badges while editing README.

@leppott
Copy link
Owner Author

leppott commented May 17, 2019

Remove StagedInstall: no from DESCRIPTION.

leppott added a commit that referenced this issue May 17, 2019
Fixes for R v3.6.0, Issue #18

Updated badges in ReadMe.
@leppott leppott closed this as completed May 17, 2019
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