-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
80 lines (65 loc) · 1.55 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
commandArgs <- function() {
list(
"--args",
"a-integer",
"42",
"a-float",
"3.14",
"a-boolean",
"FALSE",
"a-list",
"1,2,3"
)
}
```
# W4MRUtils
<!-- badges: start -->
<!-- badges: end -->
W4MRUtils is a R packages provided by W4M to ease galaxy tools writing.
It contains some utility functions
## Installation
You can install the development version of W4MRUtils like so:
```bash
$ git clone https://github.com/workflow4metabolomics/W4MRUtils
$ cd W4MRUtils
```
then
```{bash, install with make, eval=FALSE}
$ make install
```
or
```{r install with R, eval=FALSE}
> rmarkdown::render("README.Rmd")
> devtools::document(".")
> roxygen2::roxygenize(".")
> devtools::test(".")
> devtools::install(".", dependencies = FALSE, repos = NULL, type = "source")
```
or
```{bash install from cran, eval=FALSE}
$ R -q -e "install.packages('W4MRUtils', repos='https://cran.irsn.fr');"
```
## Uninstallation
You can uninstall the version of W4MRUtils you installed with:
```{bash remove with make, eval=FALSE}
$ make remove_package
```
or
```{r remove with R, eval=FALSE}
> remove.packages("W4MRUtils")
```
## XML Wrapper
Please follow [the guidelines](https://galaxy-iuc-standards.readthedocs.io/en/latest/best_practices/tool_xml.html)
during the redaction of the xml wrapper.
Read [the doc](https://docs.galaxyproject.org/en/latest/dev/schema.html)
in case of problems.