← Back to all sparks
R

rjwsacruncher

ANALYTICS
Velocity0.0

Interface to the JWSACruncher of JDemetra+

A thin R wrapper around a Java seasonal-adjustment tool, slowly absorbing the setup work.

rseasonal-adjustmentofficial-statisticsjava-interoptooling
Current state
rjwsacruncher drives JDemetra+'s JWSACruncher from R, handling parameter files and batch runs of seasonal adjustment workspaces. Recent releases have shifted from wrapping the executable to managing its installation: 0.2.3 adds a downloader for JDemetra+ itself, a check that a given directory really contains the cruncher binary, and tolerance for users pointing at the executable instead of its bin directory.
Where it's heading
The work is defensive. Most of each release addresses a way users misconfigure paths or versions — clearer errors, a startup message naming which cruncher version the options select, and a standalone flag on the downloader. The package is absorbing the friction of a Java dependency it does not control.
Prediction
Expect continued compatibility work as JDemetra+ 3.x diverges from 2.x, since the version split is already surfaced as a user-facing option rather than resolved internally.

Recent moves

  1. 5mo ago

    download_jdemetra() and bin-directory validation added

    Adds download_jdemetra() alongside the existing cruncher downloader, a check_cruncher_bin_directory() validator, and tolerance for a path pointing at the executable rather than its bin directory. The package is taking over environment setup, not just invocation.

    View source ↗
  2. 1y ago

    read_param_file() no longer forces full_series_name to FALSE

    Adds short_column_headers to create_param_file() and fixes read_param_file() silently converting full_series_name to FALSE, plus stops default_param_file() deleting an existing parameter file. Parameter-file handling correctness, which is most of what this package does.

    View source ↗
  3. 1y ago

    Renaming controls and configurable parameter file names

    Adds renaming controls to cruncher(), lets default_parameter_file() read defaults from a local JWSACruncher install, and makes the parameter file name configurable. Incremental control over the batch run.

    View source ↗
  4. 2y ago

    Parameter-file read/write functions added; cruncher 3.x support

    Extends download_cruncher() past version 3.0.0 and introduces the read_param_file(), default_param_file() and list2param_file() trio that later releases keep refining. This is where parameter files became a first-class object rather than a side effect.

    View source ↗
  5. 7y ago

    First CRAN release

    The initial CRAN release, with no described contents beyond the fact of publication.

    View source ↗