dgrtwo / ebbr

Empirical Bayes binomial estimation
Other
69 stars 13 forks source link

Install Fails on Missing 'psych' Package #1

Open phillc73 opened 7 years ago

phillc73 commented 7 years ago

Attempting to install ebbr this morning on a Windows 7 machine, I encountered a build error on the pysch package.

> devtools::install_github("dgrtwo/ebbr")
Downloading GitHub repo dgrtwo/ebbr@master
from URL https://api.github.com/repos/dgrtwo/ebbr/zipball/master
Installing ebbr
"C:/PROGRA~1/R/R-33~1.3/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL  \
  "C:/Users/phillc/AppData/Local/Temp/RtmpMVzQV6/devtools1dcc44f5442d/dgrtwo-ebbr-4b9747d"  \
  --library="C:/Program Files/R/R-3.3.3/library" --install-tests 

* installing *source* package 'ebbr' ...
** R
** tests
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called 'psych'
ERROR: lazy loading failed for package 'ebbr'
* removing 'C:/Program Files/R/R-3.3.3/library/ebbr'
Error: Command failed (1)

This is a reasonably clean R install, with a very small collection of external libraries installed. On my main Linux machine, running R 3.3.2, which has many additional libraries installed, ebbr installed fine.

Manually installing psych package fixes the issue and ebbr installs subsequently without error.

I notice psych is not listed as an Import or Suggest in the DESCRIPTION file.