Skip to content

Commit

Permalink
submitted version 0.3.2 to CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
loelschlaeger committed Jan 14, 2024
1 parent 5de6c60 commit f01810f
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 0.3.1
Date: 2023-12-08 06:58:24 UTC
SHA: fbb553fd0363117d4b4bbf3770dcf50c7ae08a24
Version: 0.3.2
Date: 2024-01-14 16:25:34 UTC
SHA: 5de6c6061f4c2a038ce688a430513e6109e82988
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: oeli
Type: Package
Title: My Utilities for Developing Data Science Software
Version: 0.3.1.9000
Version: 0.3.2
Authors@R: c(
person("Lennart", "Oelschl\u00e4ger",
email = "oelschlaeger.lennart@gmail.com",
Expand All @@ -20,7 +20,7 @@ Suggests:
testthat (>= 3.0.0),
xml2
Config/testthat/edition: 3
RoxygenNote: 7.2.3
RoxygenNote: 7.3.0
Imports:
checkmate,
cli,
Expand Down
4 changes: 3 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# oeli development
# oeli 0.3.2

* Fixed bug in `function_arguments()`.

* Incrementing RoxygenNote to 7.3.0.

# oeli 0.3.1

* Fixed https://github.com/RcppCore/Rcpp/issues/1287.
Expand Down
9 changes: 4 additions & 5 deletions R/dictionary_helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,10 @@ Dictionary <- R6::R6Class(
#' initializing a \code{Dictionary} object
#' @return
#' a new \code{Dictionary} object
initialize = function(
key_name, alias_name = NULL, value_names = character(),
value_assert = alist(), allow_overwrite = TRUE,
keys_reserved = character(), alias_choices = NULL,
dictionary_name = NULL) {
initialize = function(key_name, alias_name = NULL, value_names = character(),
value_assert = alist(), allow_overwrite = TRUE,
keys_reserved = character(), alias_choices = NULL,
dictionary_name = NULL) {
checkmate::assert_string(key_name)
checkmate::assert_string(alias_name, null.ok = TRUE)
checkmate::assert_character(
Expand Down
1 change: 0 additions & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
Fixed the problems shown on <https://cran.r-project.org/web/checks/check_results_oeli.html>.
2 changes: 1 addition & 1 deletion renv.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"R": {
"Version": "4.2.2",
"Version": "4.3.0",
"Repositories": [
{
"Name": "CRAN",
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-function_helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ test_that("names of function arguments can be extracted", {
function_arguments(f, with_ellipsis = FALSE),
character()
)
f <- function (x, a = 20, b = 0.2, c = 2 * pi) {
f <- function(x, a = 20, b = 0.2, c = 2 * pi) {
-a * exp(-b * sqrt(mean(x^2))) - exp(mean(cos(c * x))) +
a + exp(1)
}
Expand Down

0 comments on commit f01810f

Please sign in to comment.