Closed thibautjombart closed 9 years ago
I have \dontrunned the examples in both muldiDat files to pass the check: 6c60c3fd4d7c05 the errors are still there though.
The second example should be fine the first requires the latest phangorn version devtools::install_github("KlausVigo/phangorn")
Just tried but I can't seem to install phangorn's current github version:
> install_github("KlausVigo/phangorn")
Downloading github repo KlausVigo/phangorn@master
Installing phangorn
'/usr/local/lib/R/bin/R' --vanilla CMD INSTALL \
'/tmp/RtmpORlxbN/devtoolsbb57746c28d/KlausVigo-phangorn-7c6ac41' \
--library='/home/thibaut/R/x86_64-unknown-linux-gnu-library/3.3' \
--install-tests
* installing *source* package ‘phangorn’ ...
** libs
gcc -std=gnu99 -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -I"/home/thibaut/R/x86_64-unknown-linux-gnu-library/3.3/Rcpp/include" -I"/home/thibaut/R/x86_64-unknown-linux-gnu-library/3.3/RcppArmadillo/include" -fopenmp -fpic -g -O2 -c dist.c -o dist.o
gcc -std=gnu99 -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -I"/home/thibaut/R/x86_64-unknown-linux-gnu-library/3.3/Rcpp/include" -I"/home/thibaut/R/x86_64-unknown-linux-gnu-library/3.3/RcppArmadillo/include" -fopenmp -fpic -g -O2 -c fitch.c -o fitch.o
gcc -std=gnu99 -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -I"/home/thibaut/R/x86_64-unknown-linux-gnu-library/3.3/Rcpp/include" -I"/home/thibaut/R/x86_64-unknown-linux-gnu-library/3.3/RcppArmadillo/include" -fopenmp -fpic -g -O2 -c init.c -o init.o
gcc -std=gnu99 -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -I"/home/thibaut/R/x86_64-unknown-linux-gnu-library/3.3/Rcpp/include" -I"/home/thibaut/R/x86_64-unknown-linux-gnu-library/3.3/RcppArmadillo/include" -fopenmp -fpic -g -O2 -c ml.c -o ml.o
gcc -std=gnu99 -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -I"/home/thibaut/R/x86_64-unknown-linux-gnu-library/3.3/Rcpp/include" -I"/home/thibaut/R/x86_64-unknown-linux-gnu-library/3.3/RcppArmadillo/include" -fopenmp -fpic -g -O2 -c phangorn.c -o phangorn.o
gcc -std=gnu99 -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -I"/home/thibaut/R/x86_64-unknown-linux-gnu-library/3.3/Rcpp/include" -I"/home/thibaut/R/x86_64-unknown-linux-gnu-library/3.3/RcppArmadillo/include" -fopenmp -fpic -g -O2 -c read_aa.c -o read_aa.o
gcc -std=gnu99 -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -I"/home/thibaut/R/x86_64-unknown-linux-gnu-library/3.3/Rcpp/include" -I"/home/thibaut/R/x86_64-unknown-linux-gnu-library/3.3/RcppArmadillo/include" -fopenmp -fpic -g -O2 -c sankoff.c -o sankoff.o
gcc -std=gnu99 -shared -L/usr/local/lib -o phangorn.so dist.o fitch.o init.o ml.o phangorn.o read_aa.o sankoff.o -L/usr/local/lib/R/lib -lRlapack -L/usr/local/lib/R/lib -lRblas -lgfortran -lm -lquadmath -fopenmp
installing to /home/thibaut/R/x86_64-unknown-linux-gnu-library/3.3/phangorn/libs
** R
** data
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
‘Ancestral.Rnw’
‘Trees.Rnw’
‘phangorn-specials.Rnw’
‘Networx.Rmd’
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/home/thibaut/R/x86_64-unknown-linux-gnu-library/3.3/phangorn/libs/phangorn.so':
/home/thibaut/R/x86_64-unknown-linux-gnu-library/3.3/phangorn/libs/phangorn.so: undefined symbol: fhm
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/thibaut/R/x86_64-unknown-linux-gnu-library/3.3/phangorn’
Error: Command failed (1)
Here's my R version:
> R.version
_
platform x86_64-unknown-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status Under development (unstable)
major 3
minor 3.0
year 2015
month 03
day 19
svn rev 68032
language R
version.string R Under development (unstable) (2015-03-19 r68032)
nickname Unsuffered Consequences
> sessionInfo()
R Under development (unstable) (2015-03-19 r68032)
Platform: x86_64-unknown-linux-gnu (64-bit)
Running under: Ubuntu 14.04.2 LTS
locale:
[1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8
[5] LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8
[7] LC_PAPER=en_GB.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] devtools_1.7.0
loaded via a namespace (and not attached):
[1] httr_0.6.1 formatR_1.0 tools_3.3.0 RCurl_1.95-4.5 knitr_1.9
[6] stringr_0.6.2 bitops_1.0-6 evaluate_0.5.5
Should work now.
Yep! :) I'm closing the issue. Thanks!
Slot "labels": character(0)
Slot "n.ind": [1] 0
Slot "n.seq": [1] 0
Slot "ind.info": NULL
Slot "gene.info": NULL