packrat

Trouble with packrat corrupting R functioning

ぐ巨炮叔叔 提交于 2020-01-03 08:33:13
问题 I installed the package packrat at some point, used it perhaps once and moved on with my life. However, despite not having loaded it in months, it remains a nuisance to my regular R usage. Seemingly at random, my R session within RStudio will fail with errors at certain operations, especially package installation. Here's the most recent error message (after running parallel::makeCluster(parallel::detectCores()) : Error in file(filename, "r", encoding = encoding) : cannot open the connection

Using R package source files in packrat (rather than CRAN) with Travis-CI

半腔热情 提交于 2019-12-18 12:01:17
问题 I'm working with an R package that is an RStudio project, and I'm using packrat to keep a local copy of the source of the packages I depend on for my project. I've got Travis-CI checking my R package each time I make a commit, but each time Travis builds my package it gets the latest version of the dependent packages, rather than the versions I've got in my packrat/ directory. I can see in richfitz/wood that he appears to have achieved this goal with this in his .travis.yml file: env: USE

Using R package source files in packrat (rather than CRAN) with Travis-CI

。_饼干妹妹 提交于 2019-12-18 12:00:38
问题 I'm working with an R package that is an RStudio project, and I'm using packrat to keep a local copy of the source of the packages I depend on for my project. I've got Travis-CI checking my R package each time I make a commit, but each time Travis builds my package it gets the latest version of the dependent packages, rather than the versions I've got in my packrat/ directory. I can see in richfitz/wood that he appears to have achieved this goal with this in his .travis.yml file: env: USE

R: Packrat will not completely uninstall

白昼怎懂夜的黑 提交于 2019-12-13 14:19:59
问题 I previously turned on packrat() in RStudio. I now wish to completely remove and disable it (i.e. revert to the state prior to installing packrat). I tried to find an option in Rstudio to disable it but could find anything. I therefore uninstalled R and RStudio by (on OSX 10.9.5) dragging the icons for R and RStudio from the applications folder to the trash. However, upon reinstallation of R (version 3.2.3), the R console displayed the following message and a pop-up prompted me to select a

Building R packages with Packrat and AppVeyor

China☆狼群 提交于 2019-12-09 18:27:37
问题 Can someone point me towards a working example where packrat is used with AppVeyor to build an R package? Searching through Google and GitHub, I can't find any packrat-enable package that uses AppVeyor. Does the appveyor.yml file need to change? Are there some settings I need to add through the AppVeyor website? I have a very minimal package ( testthat is the only dependency) that broke AppVeyor builds. Here is the code frozen for that commit. Here is the AppVeyor log. (If this SO question

Building R packages with Packrat and AppVeyor

≯℡__Kan透↙ 提交于 2019-12-04 08:46:48
Can someone point me towards a working example where packrat is used with AppVeyor to build an R package? Searching through Google and GitHub, I can't find any packrat-enable package that uses AppVeyor. Does the appveyor.yml file need to change? Are there some settings I need to add through the AppVeyor website? I have a very minimal package ( testthat is the only dependency) that broke AppVeyor builds. Here is the code frozen for that commit . Here is the AppVeyor log . (If this SO question sounds familiar, I'm about to ask a similar question for Travis-CI .) Ben Yes, the solution here is

Using R package source files in packrat (rather than CRAN) with Travis-CI

旧街凉风 提交于 2019-11-30 05:09:12
I'm working with an R package that is an RStudio project , and I'm using packrat to keep a local copy of the source of the packages I depend on for my project. I've got Travis-CI checking my R package each time I make a commit, but each time Travis builds my package it gets the latest version of the dependent packages, rather than the versions I've got in my packrat/ directory. I can see in richfitz/wood that he appears to have achieved this goal with this in his .travis.yml file: env: USE_PACKRAT=1 and a fairly complex make/packrat.mk file which makes it all work. My question is what is the