Skip to content

Releases: hubverse-org/hubUtils

hubUtils 0.3.0 - Support v4 schema

25 Nov 07:41
v0.3.0
24a4ff1
Compare
Choose a tag to compare

What's changed

  • schema_id version checks silenced by default in read_config() and read_config_file().
  • Add and export hubValidations functions get_hub_timezone(), get_hub_model_output_dir() and get_hub_file_formats() for extracting hub metadata to hubUtils package.
  • Add new function get_hub_derived_task_ids() to extract round or hub level derived task ID values from a tasks.json config file.

Full Changelog: v0.2.0...v0.3.0

hubUtils 0.2.0

24 Oct 16:35
v0.2.0
1dd1bb3
Compare
Choose a tag to compare
  • Add family of functions for extracting the version number from a variety of sources:
    • get_version_config(): extract version from a <config> class object.
    • get_version_config_file(): extract version from a config file by specifying a config_path.
    • get_version_hub(): extract version from a config file by specifying a hub_path.
  • Add family of functions for comparing the version number extracted from a variety of sources to a given version number (#171):
    • version_equal(): Check whether a schema version property is equal to.
    • version_gte(): Check whether a schema version property is equal to or greater than.
    • version_gt(): Check whether a schema version property is greater than.
    • version_lte(): Check whether a schema version property is equal to or less than.
    • version_lt(): Check whether a schema version property is less than.
  • <config> class objects now have a type attribute to track what type of config they contain (i.e "tasks" or "admin").
  • read_config() and read_config_file() will attempt to coerce their output a <config> class object, with a warning if unsuccessful (#173).
  • Add as_config() function to coerce a config list to a <config> class object (from the hubAdmin package) (#173).
  • Fix bug in extract_schema_version() where only single digits from each version component were being extracted.
  • Fix documentation for get_schema_version_latest() to no longer use v1.0.0

Pull Requests in this release

Full Changelog: v0.1.7...v0.2.0

hubUtils 0.1.7

18 Sep 15:09
v0.1.7
a58fda9
Compare
Choose a tag to compare
  • First submission to CRAN
  • Removed hubData dependency

What's Changed

Full Changelog: 0.1.2...v0.1.7

hubUtils 0.1.2

26 Aug 18:15
0.1.2
0c8b37a
Compare
Choose a tag to compare

What's Changed

  • [HOTFIX] identify v3 config if greater or equal than v3.0.0 not just equal by @annakrystalli in #160

Full Changelog: 0.1.1...0.1.2