veupathUtils is an R package which provides helper functions for solving common problems in the VEuPathDB project.
Use the R package remotes to install veupathUtils. From the R command prompt:
remotes::install_github('VEuPathDB/veupathUtils')
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
veupathUtils
to theImports
section of the dependent package'sDESCRIPTION
file. - add a
Remotes
section to the dependent package'sDESCRIPTION
file. - add
VEuPathDB/veupathUtils
to theRemotes
section of the dependent package'sDESCRIPTION
file. - add
#' @import veupathUtils
to 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 veupathUtils simultaneously, can use devtools::load_all("{path-to-veupathUtils}")
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!