mbioUtils is an R package which provides utility functions and data structures for microbiomeDB R packages. It was forked from veupathUtils 2.6.7 and stripped of VEuPathDB-specific functionality.
Use the R package remotes to install mbioUtils. From the R command prompt:
remotes::install_github('microbiomeDB/mbioUtils')This package is primarily intended for use as a dependency in other R packages. In order to establish that depedency the developer of the dependent package must follow these steps:
- add
mbioUtilsto theImportssection of the dependent package'sDESCRIPTIONfile. - add a
Remotessection to the dependent package'sDESCRIPTIONfile. - add
microbiomeDB/mbioUtilsto theRemotessection of the dependent package'sDESCRIPTIONfile. - add
#' @import mbioUtilsto the dependent package's package-level documentation file (usually called{mypackage}-package.R). - run
devtools::document().
The developer of the dependent package can either install this package using remotes as descripted in the "Installation" section above,
or if they mean to also develop mbioUtils simultaneously, can use devtools::load_all("{path-to-mbioUtils}") to load this package in
their R session.
Pull requests are welcome and should be made to the dev branch.
For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
As a general policy, we're exporting every function that gets added here. So unless you have very good reason, export!