Error(s) in re-building vignettes:
--- re-building ‘Generating_Stics_XML_files.Rmd’ using rmarkdown
Pandoc is required to build R Markdown vignettes but not available. Please make sure it is installed.
Warning in file.info(x, extra_cols = FALSE) :
  expanded path length 78516 would be too long for
<pre><code class="language-r">library(SticsRFiles)
</code></pre>
<h1 id="introduction">Introduction</h1>
<ul>
<li>
<p>In this part information are focusing on functionalities related to STICS XML files generation capabilities based on parameterization for lists of simulations (USMs) stored in tabulated data files; as Excel or CSV files.</p>
</li>
<li>
<p>The functions operate on data loaded as data.frames from Excel sheets or CSV files</p>
</li>
<li>
<p>Specialized functions for producing XML files are taking into account: <strong>initialization files</strong>, <strong>stations files</strong>, <strong>crop management files</strong>, <strong>usms file</strong> and <strong>soils files</strong>. General parameters files generation are not available, but will be eventually included in future developments.</p>
</li>
<li>
<p>Observations data files generation have been included even if they are not in XML format.</p>
</li>
<li>
<p>The generati [... truncated]
--- finished re-building ‘Generating_Stics_XML_files.Rmd’

--- re-building ‘Generating_Stics_text_files.Rmd’ using rmarkdown
Pandoc is required to build R Markdown vignettes but not available. Please make sure it is installed.

Quitting from lines 35-40 [unnamed-chunk-4] (Generating_Stics_text_files.Rmd)
Error: processing vignette 'Generating_Stics_text_files.Rmd' failed with diagnostics:
object 'params' not found
--- failed re-building ‘Generating_Stics_text_files.Rmd’

--- re-building ‘Manipulating_Stics_XML_files.Rmd’ using rmarkdown
Pandoc is required to build R Markdown vignettes but not available. Please make sure it is installed.
Warning in file.info(x, extra_cols = FALSE) :
  expanded path length 132447 would be too long for
<pre><code class="language-r">library(SticsRFiles)
</code></pre>
<h1 id="introduction">Introduction</h1>
<p>The purpose of this document is to provide starting information about:</p>
<ul>
<li>how parameters are defined/structured in STICS XML files</li>
<li>how to find information about parameters among an XML files set</li>
<li>how to use functions for extracting data from XML STICS input files</li>
<li>how to use functions for replacing data into them</li>
</ul>
<p>Simple reproducible use cases based on 3 essential functions <strong>get_param_info</strong>, <strong>get_param_xml</strong> and <strong>set_param_xml</strong> are described in this document.</p>
<p>For the moment, queries for selecting information among <code>usms</code>, <code>soils</code> are limited.
For example, getting soil parameters for a list of soils is possible, as getting usms informations using a usms list.</p>
<p>Queries inspecting elements downwards are not a [... truncated]
--- finished re-building ‘Manipulating_Stics_XML_files.Rmd’

--- re-building ‘Manipulating_Stics_text_files.Rmd’ using rmarkdown
Pandoc is required to build R Markdown vignettes but not available. Please make sure it is installed.
Warning in file.info(x, extra_cols = FALSE) :
  expanded path length 76136 would be too long for
<pre><code class="language-r">library(SticsRFiles)
</code></pre>
<hr />
<h2 id="overview">Overview</h2>
<p>This package allows the user to programmatically manipulate either the XML files used to store more information, or the text files directly used as inputs by the STICS model. This vignette explains the second one. For more details on how to manipulate XML files, please refer to the vignette <a href="https://sticsrpacks.github.io/SticsRFiles/articles/Manipulating_Stics_XML_files.html">Manipulating STICS XML files</a>.</p>
<blockquote>
<p>Disclaimer: These functionalities are more oriented toward advanced users and/or developers.</p>
</blockquote>
<p>Using this package, it is possible to:</p>
<ul>
<li>convert the XML files to text files (<code>convert_xml2txt()</code>), please see the <a href="https://sticsrpacks.github.io/SticsRFiles/articles/Generating_Stics_text_files">Generating STICS text files</a> vignette;</li>
<li>read (<code> [... truncated]
--- finished re-building ‘Manipulating_Stics_text_files.Rmd’

--- re-building ‘SticsRFiles.Rmd’ using rmarkdown
Pandoc is required to build R Markdown vignettes but not available. Please make sure it is installed.
trying URL 'https://github.com/SticsRPacks/data/archive/master.zip'
downloaded 985 KB

Warning in file.info(x, extra_cols = FALSE) :
  expanded path length 16771 would be too long for
<pre><code class="language-r">library(SticsRFiles)
</code></pre>
<h2 id="introduction">Introduction</h2>
<p>The goal of SticsRFiles is to perform manipulations of all types of files related to the input and outputs of the STICS model.</p>
<p>This article presents the design of the package and its basic features, <em>i.e.</em> the main functions to deal with the XML files. For a complete introduction to SticsRPacks (managing files, running simulations, plotting, optimization…), see the tutorial from the <a href="https://sticsrpacks.github.io/SticsRPacks/">SticsRPacks</a> package.</p>
<h2 id="concepts">Concepts</h2>
<h3 id="input-files">Input files</h3>
<h4 id="text-files">Text files</h4>
<p>The executable of the STICS model reads text files with standard names and format to import the inputs describing a single unit of simulation (USM), <em>e.g.</em> one crop for one year.</p>
<p>Here’s a typical list of the input files for the STICS  [... truncated]
--- finished re-building ‘SticsRFiles.Rmd’

--- re-building ‘Upgrading_STICS_XML_files.Rmd’ using rmarkdown
Pandoc is required to build R Markdown vignettes but not available. Please make sure it is installed.
Warning in file.info(x, extra_cols = FALSE) :
  expanded path length 3107 would be too long for
<pre><code class="language-r">library(SticsRFiles)
</code></pre>
<p>The XML files structure has changed between STICS version <strong>9.2</strong> and the latest version <strong>10.0.0</strong> and a transformation is mandatory.</p>
<p>So, to avoid difficulties and errors with manual XML files modifications, functionalities have been developed to do so automatically.</p>
<p>One can either transform a complete workspace directory at once or each kind of file individually.</p>
<h2 id="upgrading-a-whole-workspace">Upgrading a whole workspace</h2>
<p>In that case, a workspace adapted to the new version is recreated.</p>
<p>So, apart from the XML files, some other files as outputs definition files (*.mod), weather files attached to USMs and also observation files (named with the USM name, *.obs) are copied to the new workspace.</p>
<pre><code class="language-r">workspace &lt;- &quot;/path/to/workspace/dir/V9.2&quot;
out_dir &lt;- &quot;/path/t [... truncated]
--- finished re-building ‘Upgrading_STICS_XML_files.Rmd’

SUMMARY: processing the following file failed:
  ‘Generating_Stics_text_files.Rmd’

Error: Vignette re-building failed.
Execution halted