Skip to content

Commit

Permalink
1.1.0 release (#57)
Browse files Browse the repository at this point in the history
* Create develop branch

* closes #29 (#44)

- better documentation for `isIncluded()`
- more tests
- more examples

* closes #29 (#45)

* closes #29

* if not a vector, convert to one

* closes #29 (#46)

* closes #29

error if objects are entered as arguments

* drop purrr

* don't accept environments either (#47)

just for good measure

* Fixes #32 set a more consistent behaviour for formatNumerics (#48)

* closes #30 (#49)

* closes #31 (#52)

* closes #50 (#51)

remove unnecessary lint detection

* closes #34 (#54)

Separates docs for `validateIsSameLength()` from `validateIsOfLength()`

* closes #21; prepare for CRAN (#55)

* closes #21; prepare for CRAN

* more tests with list

* use correct URL for codecov in README (#56)

Co-authored-by: Michael Sevestre <[email protected]>
Co-authored-by: Pierre Chelle <[email protected]>
  • Loading branch information
3 people authored Feb 10, 2022
1 parent 92dc5be commit ab97945
Show file tree
Hide file tree
Showing 21 changed files with 392 additions and 242 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ references.bib
^rakefile\.rb
^postclean\.bat
^\.covrignore$
^CRAN-SUBMISSION$
2 changes: 1 addition & 1 deletion .lintr
Original file line number Diff line number Diff line change
@@ -1 +1 @@
linters: with_defaults(object_name_linter = NULL, object_usage_linter = NULL, line_length_linter(120), cyclocomp_linter = cyclocomp_linter(20))
linters: with_defaults(object_name_linter = NULL, object_usage_linter = NULL, line_length_linter(180), cyclocomp_linter = cyclocomp_linter(20), seq_linter = NULL)
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: ospsuite.utils
Title: Utility Functions for Open Systems Pharmacology R Packages
Version: 1.0.0.9000
Version: 1.1.0
Authors@R: c(
person("Open-Systems-Pharmacology Community", role = c("cph", "fnd")),
person("Michael", "Sevestre", , "[email protected]", role = "aut"),
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export(enumRemove)
export(enumValues)
export(formatNumerics)
export(getEnumKey)
export(hasOnlyDistinctValues)
export(hasUniqueValues)
export(ifNotNull)
export(isFileExtension)
Expand Down
14 changes: 13 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# ospsuite.utils 1.0.0.9000
# ospsuite.utils 1.1.0

MAJOR CHANGES

* `isIncluded()` now only accepts base types as valid inputs.

* `formatNumerics()` now consistently returns output of type `"character"`.

MINOR CHANGES

Expand All @@ -8,6 +14,12 @@ MINOR CHANGES

* `getEnumKey()` is added as an alias for `enumGetKey()` function.

* `hasOnlyDistinctValues()` is added as an alias for `hasUniqueValues()` function.

BUG FIXES

* `validateIsInteger()` now works with lists (#21).

# ospsuite.utils 1.0.0

* Initial release.
Loading

0 comments on commit ab97945

Please sign in to comment.