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">
|
|
10 R_test.R
|
|
11 </command>
|
|
12
|
|
13 <stdio>
|
|
14 <!-- Anything higher than 0 means the R script didnt finish (correctly) -->
|
|
15 <!-- Because different R packages deal with err/warn differently unable to waterproof this -->
|
|
16 <exit_code range="1:" level="fatal" description="R script didnt finish correctly, check log" />
|
|
17 </stdio>
|
|
18
|
|
19 <inputs>
|
|
20
|
|
21 <!-- Job name: must contain non-whitespace chars -->
|
|
22 <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">
|
|
23 <validator type="empty_field" />
|
|
24 <validator type="regex" message="This field should contain some non-whitespace character">.*\S</validator>
|
|
25 </param>
|
|
26
|
|
27 </inputs>
|
|
28
|
|
29 <outputs>
|
|
30
|
|
31 <!-- main output is a html report -->
|
|
32 <!-- ...but there can be more outputs using the id of the htmlFile output -->
|
|
33 <data format="html" name="htmlFile" label="rTest: ${jobName}" />
|
|
34
|
|
35 </outputs>
|
|
36
|
|
37 <help>
|
|
38 .. class:: infomark
|
|
39
|
|
40 **Introduction**
|
|
41
|
|
42 This is just a tiny package to test R install
|
|
43 </help>
|
|
44
|
|
45 </tool>
|