Releases: hubverse-org/hubUtils
Releases · hubverse-org/hubUtils
hubUtils 0.3.0 - Support v4 schema
What's changed
schema_id
version checks silenced by default inread_config()
andread_config_file()
.- Add and export
hubValidations
functionsget_hub_timezone()
,get_hub_model_output_dir()
andget_hub_file_formats()
for extracting hub metadata tohubUtils
package. - Add new function
get_hub_derived_task_ids()
to extract round or hub level derived task ID values from atasks.json
config file.
Full Changelog: v0.2.0...v0.3.0
hubUtils 0.2.0
- 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 aconfig_path
.get_version_hub()
: extract version from a config file by specifying ahub_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 atype
attribute to track what type of config they contain (i.e"tasks"
or"admin"
).read_config()
andread_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 thehubAdmin
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 usev1.0.0
Pull Requests in this release
- Update Workflows by @zkamvar in #166
- Add utilities for extracting and comparing hub config schema versions by @annakrystalli in #172
- Return config class object from
read_config
andread_config_file
by @annakrystalli in #174 - Use package version instead of version string for comparisons by @annakrystalli in #178
- 🐛 Fix schema dev component extraction bug by @annakrystalli in #180
- remove/exclude examples that throw warnings by @zkamvar in #181
- Release 0.2.0 by @annakrystalli in #184
Full Changelog: v0.1.7...v0.2.0
hubUtils 0.1.7
- First submission to CRAN
- Removed
hubData
dependency
What's Changed
- Remove hubData dependency - Prep for CRAN submission by @annakrystalli @lshandross @zkamvar in #162
Full Changelog: 0.1.2...v0.1.7
hubUtils 0.1.2
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