diff R_test.xml @ 0:8a7ee199a315 draft

Uploaded
author stef
date Tue, 28 Oct 2014 06:25:06 -0400
parents
children 51e37d436e76
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/R_test.xml	Tue Oct 28 06:25:06 2014 -0400
@@ -0,0 +1,45 @@
+<tool id="R_test" name="R_test" version="1" force_history_refresh="True">
+  
+  <requirements>
+    <requirement type="package" version="3.1.0">R</requirement>
+  </requirements>
+
+  <description>Package to test R package install</description>
+
+  <command interpreter="Rscript"> 
+    R_test.R 
+  </command>
+
+  <stdio>
+    <!-- Anything higher than 0 means the R script didnt finish (correctly) -->
+    <!-- Because different R packages deal with err/warn differently unable to waterproof this -->
+    <exit_code range="1:" level="fatal" description="R script didnt finish correctly, check log" />
+  </stdio>
+  
+  <inputs>
+    
+    <!-- Job name: must contain non-whitespace chars -->
+    <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">
+      <validator type="empty_field" />
+      <validator type="regex" message="This field should contain some non-whitespace character">.*\S</validator>
+    </param>
+
+  </inputs>
+
+  <outputs>
+
+    <!-- main output is a html report -->
+    <!-- ...but there can be more outputs using the id of the htmlFile output -->
+    <data format="html" name="htmlFile" label="rTest: ${jobName}" />
+
+  </outputs>
+
+  <help>
+.. class:: infomark
+
+**Introduction**
+
+This is just a tiny package to test R install
+  </help>
+
+</tool>