Skip to content

Commit

Permalink
Release 0.2.0 (#184)
Browse files Browse the repository at this point in the history
* Move lifecycle badge to "stable". Resolves #179

* Increment version number to 0.2.0

* Add @zkamvar as contributor

* clarify wording in NEWS

---------

Co-authored-by: Zhian N. Kamvar (UMass) <[email protected]>
  • Loading branch information
annakrystalli and zkamvar authored Oct 24, 2024
1 parent 270efe9 commit 1dd1bb3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: hubUtils
Version: 0.1.7.9000
Version: 0.2.0
Title: Core 'hubverse' Utilities
Authors@R: c(
person("Anna", "Krystalli", , "[email protected]", role = c("aut", "cre"),
Expand All @@ -8,6 +8,8 @@ Authors@R: c(
person("Nicholas G.", "Reich", , "[email protected]", role = "ctb",
comment = c(ORCID = "0000-0003-3503-9899")),
person("Evan L.", "Ray", , "[email protected]", role = "ctb"),
person("Zhian N.", "Kamvar", , "[email protected]", role = c("ctb"),
comment = c(ORCID = "0000-0003-1458-7108")),
person("Consortium of Infectious Disease Modeling Hubs", role = "cph")
)
Description: Core set of low-level utilities common across the
Expand Down
7 changes: 3 additions & 4 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# hubUtils (development version)
# 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.
Expand All @@ -10,12 +10,11 @@
- `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.
* Move `as_config()` from `hubAdmin` to `hubUtils` package (#173).
* `<config>` class objects now have a `type` attribute to track what type of config they contain (i.e `"tasks"` or `"admin"`).
* Attempt to convert output of `read_config()` and `read_config_file()` to a `<config>` class object (#173).`
* `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`


# hubUtils 0.1.7

Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ knitr::opts_chunk$set(
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![Codecov test coverage](https://codecov.io/gh/hubverse-org/hubUtils/branch/main/graph/badge.svg)](https://app.codecov.io/gh/hubverse-org/hubUtils?branch=main)
[![CRAN status](https://www.r-pkg.org/badges/version/hubUtils)](https://CRAN.R-project.org/package=hubUtils)

[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
<!-- badges: end -->

The goal of `hubUtils` is to provide a core set of low-level utility functions common across the hubverse. Functions are used to interact with hubverse schema, hub config files and model outputs and are designed to be primarily used internally by other hubverse packages.
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](h
coverage](https://codecov.io/gh/hubverse-org/hubUtils/branch/main/graph/badge.svg)](https://app.codecov.io/gh/hubverse-org/hubUtils?branch=main)
[![CRAN
status](https://www.r-pkg.org/badges/version/hubUtils)](https://CRAN.R-project.org/package=hubUtils)

[![Lifecycle:
stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
<!-- badges: end -->

The goal of `hubUtils` is to provide a core set of low-level utility
Expand Down

0 comments on commit 1dd1bb3

Please sign in to comment.