view R_test.xml @ 2:936ede56b5c0 draft

Uploaded
author stef
date Tue, 28 Oct 2014 06:41:06 -0400
parents 51e37d436e76
children 75ff0f2ef92a
line wrap: on
line source

<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 $config
  </command>

  <stdio>
    <exit_code range="1:" level="fatal" description="R script didnt finish correctly, check log" />
  </stdio>
  
  <inputs>
    
    <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>
  
  <configfiles>
    <configfile name="config">
"${jobName}"  -> outputName
"${htmlFile}" -> htmlFile
"${pngFile}"  -> pngFile
    </configfile>
  </configfiles>

  <outputs>
    <data format="html" name="htmlFile" label="rTestHTML: ${jobName}" />
    <data format="png" name="pngFile" label="rTestPNG: ${jobName}" />

  </outputs>

  <help>
.. class:: infomark

**Introduction**

This is just a tiny package to test R dependecies
  </help>

</tool>