bbuchsbaum / rMVPA

Multivoxel Pattern Analysis in R
http://bbuchsbaum.github.io/rMVPA/
12 stars 11 forks source link

try to install rMVPA through devtools , but failed #1

Open sungoku opened 7 years ago

sungoku commented 7 years ago

try to install this package in R Studio,first it report an error about FNN package not found, then I manually install FNN , and re-run rMVPA install. This time failed with a not found package "flog.info", but I can not found this package anywhere! message is :

Downloading GitHub repo bbuchsbaum/rMVPA@master
from URL https://api.github.com/repos/bbuchsbaum/rMVPA/zipball/master
Installing rMVPA
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ  \
  --no-save --no-restore --quiet CMD INSTALL  \
  '/private/var/folders/x8/fb7c5rmn2_72xmrrcn8852bw0000gn/T/Rtmp9YV8sB/devtools827540e4d3f/bbuchsbaum-rMVPA-e32568c'  \
  --library='/Library/Frameworks/R.framework/Versions/3.3/Resources/library'  \
  --install-tests 

* installing *source* package ‘rMVPA’ ...
** R
** tests
** preparing package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  there is no package called ‘flog.info’
ERROR: lazy loading failed for package ‘rMVPA’
* removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rMVPA’
错误: Command failed (1)

Please help , thanks!

sungoku commented 7 years ago

some updates about this issue: After download the zip file , manually delete the import(flog.info),then try to build the proj in r studio, and message showed that I need another package dplyr. After manually install the packge dplyr, re-build the project, finally , got success message. install rMVPA package from my build version, can install now, but ,still have some warning:

Warning messages:
1: replacing previous import ‘itertools::timeout’ by ‘memoise::timeout’ when loading ‘rMVPA’ 
2: replacing previous import ‘MASS::select’ by ‘dplyr::select’ when loading ‘rMVPA’

And this warning shows every time when I load rMVPA package.

bbuchsbaum commented 7 years ago

rMVPA is a work in progress. I'm going to try and clean some things up in the next week.

sungoku commented 7 years ago

After I watched a youtube video about your recent work in rMVPA, I found this fantastic package here following the url in that presentation video . I was so excited about this package, and can't wait to try it. Looking forward to your package... Best wishes