Provides a set of utility function to prevent the spread of
utility scripts in W4M (Workflow4Metabolomics) tools, and centralize
them in a single package.
To note, some are meant to be replaced by the use of dedicated packages in the future, like
the parse_args() function: it is here only to prepare the ground for
more global changes in W4M scripts and tools.
This package is used by part of the W4M Galaxy modules, some of them
being available on the community-maintained GitHub repository for
Metabolomics' Galaxy tools < https://github.com/workflow4metabolomics/tools-metabolomics>.
See Delporte et al (2025)
W4MRUtils is a R packages provided by W4M to ease galaxy tools writing. It contains some utility functions that will help you in common tasks.
Do the documentation and the referencing of the documentation for:
You can install the development version of W4MRUtils like so:
$ git clone https://github.com/workflow4metabolomics/W4MRUtils
$ cd W4MRUtils
then
$ make install
or
> rmarkdown::render("README.Rmd")
> devtools::document(".")
> roxygen2::roxygenize(".")
> devtools::test(".")
> devtools::install(".", dependencies = FALSE, repos = NULL, type = "source")
or
$ R -q -e "install.packages('W4MRUtils', repos='https://cran.irsn.fr');"
You can uninstall the version of W4MRUtils you installed with:
$ make remove_package
or
> remove.packages("W4MRUtils")
Please follow the guidelines during the redaction of the xml wrapper.
Read the doc in case of problems.