davharris / rosalia

Exact inference for small binary Markov networks
Other
7 stars 2 forks source link

DESCRIPTION fails to declare an Imports dependency on package progress #31

Open gavinsimpson opened 8 years ago

gavinsimpson commented 8 years ago

In NAMESPACE you have

importFrom(progress,progress_bar)

Hence installing via devtools results in:

Downloading GitHub repo davharris/rosalia@master
from URL https://api.github.com/repos/davharris/rosalia/zipball/master
Installing rosalia
'/home/gavin/R/build/3.2-patched/bin/R' --no-site-file --no-environ --no-save  \
  --no-restore CMD INSTALL  \
  '/tmp/Rtmpx2g1CO/devtools7d27161d2ed3/davharris-rosalia-b6ad42f'  \
  --library='/home/gavin/R/build/3.2-patched/library' --install-tests 

* installing *source* package ‘rosalia’ ...
** R
** inst
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called ‘progress’
ERROR: lazy loading failed for package ‘rosalia’
* removing ‘/home/gavin/R/build/3.2-patched/library/rosalia’
Error: Command failed (1)
davharris commented 8 years ago

Thanks for the pointer. I just added progress to the DESCRIPTION file. I think it should work now.

Dave

On Feb 25, 2016, at 1:01 PM, Gavin Simpson notifications@github.com wrote:

In NAMESPACE you have

importFrom(progress,progress_bar) Hence installing via devtools results in:

Downloading GitHub repo davharris/rosalia@master from URL https://api.github.com/repos/davharris/rosalia/zipball/master Installing rosalia '/home/gavin/R/build/3.2-patched/bin/R' --no-site-file --no-environ --no-save \ --no-restore CMD INSTALL \ '/tmp/Rtmpx2g1CO/devtools7d27161d2ed3/davharris-rosalia-b6ad42f' \ --library='/home/gavin/R/build/3.2-patched/library' --install-tests

  • installing source package ‘rosalia’ ... * R * inst \ preparing package for lazy loading Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called ‘progress’ ERROR: lazy loading failed for package ‘rosalia’
  • removing ‘/home/gavin/R/build/3.2-patched/library/rosalia’ Error: Command failed (1) — Reply to this email directly or view it on GitHub https://github.com/davharris/rosalia/issues/31.