slucey / RpathDev

This repo is no longer updated - please visit NOAA-EDAB/Rpath for latest
GNU General Public License v2.0
5 stars 5 forks source link

Errors installing/building vignettes #7

Closed raerickson closed 5 years ago

raerickson commented 6 years ago

I tried to install the package in a Linux Docker (specifically, rocker/verse) image using

devtools::install_github('slucey/RpathDev/Rpath', ref = 'Public', build_vignettes = TRUE)

But I got this error message:

* checking for file ‘/tmp/Rtmp2pcIM9/devtools945f438ad8/slucey-RpathDev- 9dddaa2/Rpath/DESCRIPTION’ ... OK
* preparing ‘Rpath’:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* installing the package to build vignettes
* creating vignettes ... ERROR
Quitting from lines 182-184 (Rsim.Rmd) 
Error: processing vignette 'Rsim.Rmd' failed with diagnostics:
unused arguments (gear = "Trawlers", year = 25:100)
Execution halted
Installation failed: Command failed (1)

Does one of your vignettes need to be updated? If I use

   devtools::install_github('slucey/RpathDev/Rpath', ref = 'Public', build_vignettes = FALSE)

The package builds without error.

slucey commented 6 years ago

Richard,

Thank you for flagging this. A few changes to the Rsim code may have broken the vignette. I will update it and push the changes soon.

Sean

Sean M. Lucey Fisheries Biologist Ecosystem Dynamics and Assessment Branch U. S. Dept. of Commerce/NOAA/NMFS Northeast Fisheries Science Center 166 Water Street, Woods Hole, MA 02543 508-495-2011 (voice) 508-495-2232 (fax)

On Tue, Aug 7, 2018 at 5:48 PM, Richard Erickson notifications@github.com wrote:

I tried to install the package in a Linux Docker (specifically, rocker/verse) image using

devtools::install_github('slucey/RpathDev/Rpath', ref = 'Public', build_vignettes = TRUE)

But I got this error message:

  • checking for file ‘/tmp/Rtmp2pcIM9/devtools945f438ad8/slucey-RpathDev- 9dddaa2/Rpath/DESCRIPTION’ ... OK
  • preparing ‘Rpath’:
  • checking DESCRIPTION meta-information ... OK
  • cleaning src
  • installing the package to build vignettes
  • creating vignettes ... ERROR Quitting from lines 182-184 (Rsim.Rmd) Error: processing vignette 'Rsim.Rmd' failed with diagnostics: unused arguments (gear = "Trawlers", year = 25:100) Execution halted Installation failed: Command failed (1)

Does one of your vignettes need to be updated? If I use

devtools::install_github('slucey/RpathDev/Rpath', ref = 'Public', build_vignettes = FALSE)

The package builds without error.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/slucey/RpathDev/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/AFUeDok7T_4n_7l5DI8ine-dEPEIfSUFks5uOgsxgaJpZM4Vy8Zq .