Martina145 / RLab4

0 stars 1 forks source link

Problem installing the package #1

Open MansMeg opened 8 years ago

MansMeg commented 8 years ago

Hi!

I have a problem building the package (when building vignettes). The problem is lines 40-46 in ridgereg.Rmd.

> devtools::install_github(repo, subdir = subpath, build_vignettes = TRUE)
Downloading GitHub repo Martina145/RLab4@master
Installing RLab4
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save  \
  --no-restore CMD build  \
  '/private/var/folders/nx/psn9dtzd1m19wvf5_cyq2pl40000gn/T/Rtmpa2JbEW/devtools19d4244c46/Martina145-RLab4-ac78fc5/RLab4'  \
  --no-resave-data --no-manual 

* checking for file ‘/private/var/folders/nx/psn9dtzd1m19wvf5_cyq2pl40000gn/T/Rtmpa2JbEW/devtools19d4244c46/Martina145-RLab4-ac78fc5/RLab4/DESCRIPTION’ ... OK
* preparing ‘RLab4’:
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... ERROR
Quitting from lines 40-46 (ridgereg.Rmd) 
Error: processing vignette 'ridgereg.Rmd' failed with diagnostics:
Execution halted
Error: Command failed (1)
MansMeg commented 8 years ago

Hi!

The reason was that you used two packages that I had not installed (and that should be in you dependency in the DESCRIPTION file. Those package where leaps and elastic nets (used by caret). If you update your dependency in the package this issue is ok.

/måns