0
|
1 <tool id="R_test" name="R_test" version="1" force_history_refresh="True">
|
|
2
|
|
3 <requirements>
|
|
4 <requirement type="package" version="3.1.0">R</requirement>
|
|
5 </requirements>
|
|
6
|
|
7 <description>Package to test R package install</description>
|
|
8
|
|
9 <command interpreter="Rscript">
|
2
|
10 R_test.R $config
|
0
|
11 </command>
|
|
12
|
|
13 <stdio>
|
|
14 <exit_code range="1:" level="fatal" description="R script didnt finish correctly, check log" />
|
|
15 </stdio>
|
|
16
|
|
17 <inputs>
|
|
18
|
|
19 <param name="jobName" type="text" optional="false" label="Analysis/ouput name" help="Supply a name for the outputs to remind you what they contain" value="TEST">
|
|
20 <validator type="empty_field" />
|
|
21 <validator type="regex" message="This field should contain some non-whitespace character">.*\S</validator>
|
|
22 </param>
|
|
23
|
|
24 </inputs>
|
1
|
25
|
|
26 <configfiles>
|
2
|
27 <configfile name="config">
|
1
|
28 "${jobName}" -> outputName
|
|
29 "${htmlFile}" -> htmlFile
|
|
30 "${pngFile}" -> pngFile
|
|
31 </configfile>
|
|
32 </configfiles>
|
0
|
33
|
|
34 <outputs>
|
1
|
35 <data format="html" name="htmlFile" label="rTestHTML: ${jobName}" />
|
|
36 <data format="png" name="pngFile" label="rTestPNG: ${jobName}" />
|
0
|
37
|
|
38 </outputs>
|
|
39
|
|
40 <help>
|
|
41 .. class:: infomark
|
|
42
|
|
43 **Introduction**
|
|
44
|
1
|
45 This is just a tiny package to test R dependecies
|
0
|
46 </help>
|
|
47
|
|
48 </tool>
|