Open pwkooij opened 3 years ago
I was trying to follow the example in the RPANDA: an R package for macroevolutionary analyses on phylogenetic trees paper as well and got the same error after:
res<‐BICompare(Phyllostomidae,3)
error message:
Error in sort.int(x, na.last = na.last, decreasing = decreasing, ...) : 'x' must be atomic
sessionInfo()
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19042)
Matrix products: default
locale:
[1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252 LC_MONETARY=English_Australia.1252 LC_NUMERIC=C
[5] LC_TIME=English_Australia.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] phytools_0.7-70 maps_3.3.0 RPANDA_1.9 picante_1.8.2 nlme_3.1-148 vegan_2.5-7 lattice_0.20-41 permute_0.9-5 ape_5.4-1
loaded via a namespace (and not attached):
[1] splines_4.0.2 tmvnsim_1.0-2 dotCall64_1.0-1 network_1.16.1 gtools_3.8.2 expm_0.999-6
[7] sp_1.4-5 stats4_4.0.2 robustbase_0.93-7 numDeriv_2016.8-1.1 pillar_1.6.0 quadprog_1.5-8
[13] phangorn_2.6.3 TESS_2.1.0 digest_0.6.27 Matrix_1.2-18 pkgconfig_2.0.3 raster_3.4-5
[19] corpcor_1.6.9 mvtnorm_1.1-1 sna_2.6 pracma_2.3.3 tibble_3.0.3 combinat_0.0-8
[25] gmp_0.6-2 bipartite_2.16 mgcv_1.8-31 ellipsis_0.3.1 nnet_7.3-14 Rmpfr_0.8-4
[31] mnormt_2.0.2 magrittr_2.0.1 crayon_1.4.1 statnet.common_4.4.1 mclust_5.4.7 pvclust_2.2-0
[37] fansi_0.4.2 MASS_7.3-51.6 class_7.3-17 tools_4.0.2 lifecycle_1.0.0 pspline_1.0-18
[43] geiger_2.0.7 glassoFast_1.0 kernlab_0.9-29 cluster_2.1.0 plotrix_3.8-1 fpc_2.2-9
[49] compiler_4.0.2 clusterGeneration_1.3.7 pbmcapply_1.5.0 rlang_0.4.10 grid_4.0.2 spam_2.6-0
[55] subplex_1.6 igraph_1.2.6 codetools_0.2-16 deSolve_1.28 flexmix_2.3-17 rle_0.9.2
[61] prabclus_2.3-2 utf8_1.2.1 fastmatch_1.1-0 modeltools_0.2-23 parallel_4.0.2 mvMORPH_1.1.4
[67] Rcpp_1.0.6 fields_11.6 vctrs_0.3.7 DEoptimR_1.0-8 scatterplot3d_0.3-41 diptest_0.75-7
[73] coda_0.19-4 ```
Could you suggest ways to overcome this error?
Cheers,
Putter
Hi,
I'm trying to run RPANDA using my own tree as well as the data in the package, however, when I run:
res<-spectR(Phyllostomidae)
I receive the following error message:
I'm running a Mac OSX 10.15.7 (Catalina) with RStudio 1.3.1093 and R 4.0.3
I hope you can help out with this!
Cheers Pepijn