Installing MicrobiomeAnalyst for R


I am trying to install microbiomeAnlyst for R. I am having a problem with the Tax4Fun package. I downloaded it from their webpage ( and ran the installation code mentioned in your github page:

devtools::install_github("xia-lab/MicrobiomeAnalystR", build = TRUE, build_opts = c("--no-resave-data", "--no-manual"))

However, I get the following error message:

installing to /home/phdstudent2/R/x86_64-pc-linux-gnu-library/4.3/00LOCK-MicrobiomeAnalystR/00new/MicrobiomeAnalystR/libs
** R
** byte-compile and prepare package for lazy loading
Warning in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
  package ‘Tax4Fun’ has no 'package.rds' in Meta/
Warning: S3 methods ‘print.MoPPro’, ‘print.Tax4Fun’ were declared in NAMESPACE but not found
Error in namespaceExport(ns, exports) : 
  undefined exports: MoPPro, Tax4Fun, importQIIMEBiomData, importQIIMEData, importSilvaNgsData, importTaxyProData
Calls: <Anonymous> ... namespaceImport -> loadNamespace -> namespaceExport
Execution halted
ERROR: lazy loading failed for package ‘MicrobiomeAnalystR’
* removing ‘/home/phdstudent2/R/x86_64-pc-linux-gnu-library/4.3/MicrobiomeAnalystR’
Warning message:
In i.p(...) :
  installation of package ‘/tmp/RtmpBys9oJ/file7667578c9051/MicrobiomeAnalystR_2.0.tar.gz’ had non-zero exit status

Do you have any solution for this? Thank you!

Elliston Vallarino

Never mind, solve it. Thanks!