diff cb_ivr.xml @ 2:bcbad4f83dec draft default tip

planemo upload for repository https://github.com/Marie59/champ_blocs commit 075fd90d1a39ae7912b48549e5537971635b9620
author ecology
date Sat, 18 Mar 2023 16:49:19 +0000
parents b67730406f1b
children
line wrap: on
line diff
--- a/cb_ivr.xml	Wed Jan 04 13:21:30 2023 +0000
+++ b/cb_ivr.xml	Sat Mar 18 16:49:19 2023 +0000
@@ -1,16 +1,23 @@
-<tool id="cb_ivr" name="IVR" version="@VERSION@" profile = "20.01">
+<tool id="cb_ivr" name="IVR" version="@VERSION@" profile="20.01">
     <description>indicator</description>
     <macros>
         <import>macro.xml</import>
     </macros>
-    <expand macro="cb_requirements">
-        <requirement type="package" version="2.19">r-rmarkdown</requirement>
+    <requirements>
+        <requirement type="package" version="1.0.10">r-dplyr</requirement>
+        <requirement type="package" version="1.2.1">r-tidyr</requirement>
+        <requirement type="package" version="1.4.1">r-stringr</requirement>
+        <requirement type="package" version="3.1.8">r-tibble</requirement>
+        <requirement type="package" version="1.40">r-knitr</requirement>
+        <requirement type="package" version="0.6_8">r-gmp</requirement>
+        <requirement type="package" version="2.0.3">r-magrittr</requirement>
+        <requirement type="package" version="2.18">r-rmarkdown</requirement>
         <requirement type="package" version="0.2.4">r-officedown</requirement>
         <requirement type="package" version="1.3.2">r-tidyverse</requirement>
-        <requirement type="package" version="0.5.0">r-officer</requirement>
+        <requirement type="package" version="0.5.1">r-officer</requirement>
         <requirement type="package" version="0.8.3">r-flextable</requirement>
-        <requirement type="package" version="3.4">r-ggplot2</requirement>
-    </expand>
+        <requirement type="package" version="3.4.0">r-ggplot2</requirement>
+    </requirements>
     <required_files>
         <include type="literal" path="test-data/champbloc_ivr.csv"/>
         <include type="literal" path="test-data/ficheterrain.csv"/>
@@ -21,11 +28,12 @@
         <include type="literal" path="cb_ivr.r"/>
     </required_files>
     <command detect_errors="exit_code"><![CDATA[
+        cp '$__tool_directory__/cb_ivr_site_report_col_scale_loop.Rmd' ./cb_ivr_site_report_col_scale_loop.Rmd &&
         Rscript
             '$__tool_directory__/cb_ivr.r'
             '$fiche_val'
             '$input_data'
-            '$__tool_directory__/cb_ivr_site_report_col_scale_loop.Rmd'
+            ./cb_ivr_site_report_col_scale_loop.Rmd
             '$__tool_directory__/loop_col_scale.r'
             '$output_ivr'
             '$plots'