leppott / MBSStools

Suite of tools for data manipulation and calculations for Maryland DNR MBSS program.
https://leppott.github.io/MBSStools/
GNU General Public License v3.0
3 stars 3 forks source link

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

Closed leppott closed 5 years ago

leppott commented 5 years ago

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

StagedInstall = FALSE in DESCRIPTION is a quick (temporary) fix.

Due to use system.file(package="ContDataQC").

Staged install installs to temp directory and fails.

To Reproduce Fails on devtools::install_github("leppott/MBSStools")

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 commented 5 years ago

Still has to be installed from a local file rather than devtools::install_github().

leppott commented 5 years ago

Also have issue with devtools::install_github() and R v3.6.0.

image

Need to add extra line of code.

https://github.com/r-lib/devtools/issues/1939

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

leppott commented 5 years ago

Update README and remove StagedInstall: no from DESCRIPTION.