Skip to content

Releases: SticsRPacks/SticsRFiles

# SticsRFiles 1.5.0 (2024-11-13)

13 Nov 12:39
d0649b2
Compare
Choose a tag to compare
  • FUNCTIONS

    • New functions for generating xml general parameters files
    • New function for copying .mod, .obs, .lai and weather (climat.txt) files
  • FIXES

    • pattern to get obs files for intercrop usms or sole crops usms
    • generation of xml parameters files
  • DATA

    • Added information about the latest STICS version 10.2.0

# SticsRFiles 1.4.0 (2024-07-16)

17 Jul 12:25
dcab493
Compare
Choose a tag to compare
  • FUNCTIONS

    • New functions for computing dates from days numbers with reference to
      starting year
    • compute_day_from_date now uses a start year instead of a date, and date may be
      of type character
    • get_param_txt, set_param_txt, get_param_xml, set_param_xml now use values
      ids for getting or setting specific parameter vector values
      specific values
    • New functions for getting cultivars list and extracting cultivars parameters
      as a data.frame
  • FIXES

    • management of STICS version consistency with text files content using
      get_param_txt or set_param_txt

# SticsRFiles 1.3.0 (2024-04-10)

11 Apr 08:26
af7377d
Compare
Choose a tag to compare
  • FUNCTIONS

    • Message improvement for missing xml files detected before text files
      generation
    • New functions for computing days numbers from dates with reference to
      starting dates
  • FIXES

    • Updating STICS versions information
    • get_file using usm names (regex pattern)
    • upgrade _ini.xml file (magrain0 parameter position)
    • xml files generation: missing data management when loading xls/csv
      files
    • text files generation: plant and tec files were not generated in
      intercropping usms for the associated crop
  • DOC

    • added license file

# SticsRFiles 1.2.0 (2024-02-21)

23 Feb 15:54
69e5fdd
Compare
Choose a tag to compare
  • FUNCTIONS

    • Text files generation from xml files are now done without using JavaStics
      command line (the speedup is about 10 times)
    • Getting parameters information (get_param_info) do not use XML files
      exploration anymore, the speed is largely improved
    • Improvement of XML files manipulations/generation for reducing memory
      use/freezing in R when intensive use is performed
    • tests coverage improvement
  • FIXES

    • update of a bunch of unit tests according to other packages evolutions
    • STICS versions management and XML files upgrade
  • DATA

    • examples, templates files for different files format added for the latest
      STICS version 10.1.0
    • versions meta-data update

# SticsRFiles 1.1.3 (2023-07-10)

12 Jul 08:53
11df844
Compare
Choose a tag to compare
  • FUNCTIONS

    • New function for generating the new_travail.usm STICS file
    • New function for generating weather data files (climat.txt)
    • New unit tests added
  • FIXES:

    • get_param_value: forcing to get a character returned value
    • get_var_info: for variables names vector
    • get_param_txt: removed global variables use, looking for parameters names
      including parentheses
    • code formatting, comments, file names, variables names, function names,...
    • package namespace use in packages functions calls
    • pattern for replacing parameters names were are not consistent
      between XML files and inputs.csv
    • pattern for selecting parameters in Excel files, filtering parameter
      starting with "code_"
    • renaming plant initialisation parameters according to
      crop number tag (Crop1, Crop2)
    • tidyselect and filter syntax
    • homogenous naming of JavaSTICS and STICS
  • DATA

    • added: meta-data and xsl files for converting XML files to
      text files for STICS
    • examples files for different files format used in the package are now
      distributed as zip files for lightening the extdata directory

SticsRFiles 1.1.2 (2022-12-16)

16 Dec 17:36
Compare
Choose a tag to compare

Fix cff file generation using github action. Now on each commit that modified the Description file + on release.

SticsRFiles 1.1.1 (2022-12-08)

08 Dec 08:35
Compare
Choose a tag to compare
  • FUNCTIONS

    • Changes in plant files upgrading function according to a fix done in JavaSTICS 1.5.1 for plant files
      (without any impact on R packages functionning)
  • FIXES:

    • Little compatibility fix in STICS plant files upgrading function

SticsRFiles 1.1.0 (2022-10-28)

28 Oct 08:59
Compare
Choose a tag to compare

Following the changes done in the previous release 1.0.0, related to the adaptation to the new versions 10.0 of STICS
and 1.5.0 of JavaSTICS.

  • FUNCTIONS:

    • Completion of the upgrade function for converting plant files from STICS 9.x versions to the latest STICS version 10.0
  • FIXES:

    • Getting parameters values attached to a formalism
    • Parameters with no values are now handled (*_tec.xml files) with NA values
    • Some fixes about use of XML objects or lists of (kind, content) in tests

SticsRFiles v1.0.0 (2022-07-22)

23 Jul 06:08
Compare
Choose a tag to compare

The main changes are mainly related to the adaptation to the new versions 10.0 of STICS
and 1.5.0 of JavaSTICS, to homogenization of arguments names in functions and to fixes.

  • FUNCTIONS:

    • New set of functions for upgrading XML files of STICS version 9.2 to STICS version 10.0 (either each kind of XML file or a whole workspace)
    • Homogenization of arguments names in functions
    • Some functions have been moved from the SticsOnR package into SticsRFiles
    • Improvement of functions dedicated to java/JavaStics command line use, added checks
  • FIXES:

    • Extraction of vectorized parameters from _tec.xml and _ini.xml files
    • Functions for getting and setting parameters values in STICS input text files:
      • parameters of _ini.txt files now taken into account
      • taking into account special characters in parameter names ("_", "(", ")")
      • get function now returning result in an homogenized format (list of parameters) whatever is the value of argument param
    • Reading STICS daily outputs: NA or missing values now handled
    • Whitespaces now taken into account in dir/file path
  • DOC:

    • New vignette on functions for upgrading XML files of STICS version 9.2 to version 10.0 format
    • Adaptation of the vignettes to STICS version 10.0
    • SticsRFiles tutorial moved into SticsRPacks tutorial
  • DATA:
    New files for STICS 10.0

    • XML example files added
    • Data set of text parameters files
    • XL file example for generating XML files
  • TESTS:

    • Adaptation of existing tests to STICS 10.0
    • New tests for XML files generation

SticsRFiles v0.4.2 (2021-10-08)

08 Oct 13:42
a74fd3f
Compare
Choose a tag to compare
  • Prepared templates for STICS V10.

  • FIXES:

    • Bugs fixed for generation of soil, ini and tec XML files from excel files,

    • Fixed reading of observation and simulation results files in case of USM selection (arg. usm_name),

    • tec file of associated plant no more searched in case of a single plant in gen_usms_xml2txt.

  • DOC:

    • Completed doc for generation of XML files from excel files,

    • Updated general doc.