hmorlon / PANDA

Phylogenetic ANalyses of DiversificAtion
24 stars 15 forks source link

update RPANDA---Error : object 'GIC' is not exported by 'namespace:mvMORPH' #9

Closed Cactusolo closed 6 years ago

Cactusolo commented 6 years ago

installing the source package ‘RPANDA’

trying URL 'https://cran.rstudio.com/src/contrib/RPANDA_1.4.tar.gz' Content type 'application/x-gzip' length 299199 bytes (292 KB) downloaded 292 KB

JClavel commented 6 years ago

Please try installing with the option 'dependencies=TRUE' or update the last version of 'mvMORPH' on your machine. install.packages("RPANDA", dependencies = TRUE)

Or directly install from gitHub through devtools: library(devtools) install_github("hmorlon/PANDA")

Note that the packages has just been updated and CRAN is still processing the binaries. If you're not using Rtools or a compiler (e.g. 'gfortran') you might need to wait for the binaries to be available on CRAN (in 2-3 days max).

You can check the statut for the binaries online at https://CRAN.R-project.org/package=RPANDA

Cactusolo commented 6 years ago

@JClavel Thanks for your quick responding! I'll wait for the binaries.

Just let you know that so far the same error generated from both of options you suggested:

> install.packages("RPANDA", dependencies = TRUE) Installing package into ‘C:/Users/XXX/R/win-library/3.5’ (as ‘lib’ is unspecified) also installing the dependencies ‘praise’, ‘testthat’

There is a binary version available but the source version is later: binary source needs_compilation RPANDA 1.3 1.4 FALSE

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/praise_1.0.0.zip' Content type 'application/zip' length 19485 bytes (19 KB) downloaded 19 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/testthat_2.0.0.zip' Content type 'application/zip' length 1594906 bytes (1.5 MB) downloaded 1.5 MB

package ‘praise’ successfully unpacked and MD5 sums checked package ‘testthat’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in C:\Users\XXX\AppData\Local\Temp\RtmpQhp14r\downloaded_packages installing the source package ‘RPANDA’

trying URL 'https://cran.rstudio.com/src/contrib/RPANDA_1.4.tar.gz' Content type 'application/x-gzip' length 299199 bytes (292 KB) downloaded 292 KB

The downloaded source packages are in ‘C:\Users\XXX\AppData\Local\Temp\RtmpQhp14r\downloaded_packages’

> library(devtools) > install_github("hmorlon/PANDA") Downloading GitHub repo hmorlon/PANDA@master from URL https://api.github.com/repos/hmorlon/PANDA/zipball/master Installing RPANDA "C:/PROGRA~1/R/R-35~1.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore \ --quiet CMD INSTALL \ "C:/Users/XXX/AppData/Local/Temp/RtmpQhp14r/devtools36507f816191/hmorlon-PANDA-05144d3" \ --library="C:/Users/XXX/Documents/R/win-library/3.5" --install-tests

JClavel commented 6 years ago

Hi,

Try to re-install 'mvMORPH', you need the latest version (1.1.0) on which RPANDA 1.4 depends. If it's not working, I think that you need to install Rtools for Windows for compiling the package from source or wait for the binaries to be built on CRAN (for both RPANDA and mvMORPH).

Cheers,

Julien

JClavel commented 6 years ago

Should work now with 'devtools'! Regards, Julien

Cactusolo commented 6 years ago

Thanks for the note!

I installed version 1.4 on my MAC, will try windows soon.

Miao

On Aug 6, 2018, at 19:38, JClavel notifications@github.com wrote:

Should work now with 'devtools'! Regards, Julien

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hmorlon/PANDA/issues/9#issuecomment-410886220, or mute the thread https://github.com/notifications/unsubscribe-auth/AHczAMMb8P40ws4S6ouGHbMZnKNbSh7Uks5uONODgaJpZM4VwoRA.