From c184e24c2f55c9f73cde297d3e27a7050303fd8c Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 15 Jul 2024 18:59:41 +0200 Subject: [PATCH] Prepare CRAN release (#754) --- CRAN-SUBMISSION | 6 +++--- DESCRIPTION | 2 +- cran-comments.md | 4 +--- tests/testthat/test-logLik.R | 29 ----------------------------- 4 files changed, 5 insertions(+), 36 deletions(-) delete mode 100644 tests/testthat/test-logLik.R diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION index 167146dfe..b68bc3721 100644 --- a/CRAN-SUBMISSION +++ b/CRAN-SUBMISSION @@ -1,3 +1,3 @@ -Version: 0.12.0 -Date: 2024-06-07 17:11:44 UTC -SHA: cb1c46609c8f943a736f3c76b5cadd4272e7bdf2 +Version: 0.12.1 +Date: 2024-07-15 15:33:09 UTC +SHA: 3196e65635aecc88bbdf00df832b96f03eb8a313 diff --git a/DESCRIPTION b/DESCRIPTION index 1b711cb64..839392906 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: performance Title: Assessment of Regression Models Performance -Version: 0.12.0.13 +Version: 0.12.1 Authors@R: c(person(given = "Daniel", family = "Lüdecke", diff --git a/cran-comments.md b/cran-comments.md index 010c0c091..127ca3820 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,3 +1 @@ -This release fixes errors in CRAN checks. - -Additionally, in the process of stabilizing the API/user interface for packages from the 'easystats' project, some argument names were renamed and old names have been deprecated. This will not break downstream dependent packages, however, reverse-dependency checks will raise warnings. We have already patched all affected downstream packages and will submit them to CRAN in the next few days, after the release of 'performance'. Once this release-cycle is complete, all warnings due to deprecated argument names should be resolved. \ No newline at end of file +Maintainance release. diff --git a/tests/testthat/test-logLik.R b/tests/testthat/test-logLik.R deleted file mode 100644 index 5da5ef923..000000000 --- a/tests/testthat/test-logLik.R +++ /dev/null @@ -1,29 +0,0 @@ -skip_on_cran() - -test_that("logLik", { - skip_if_not_installed("plm") - skip_if_not_installed("withr") - - withr::local_options(list(expressions = 25)) - set.seed(1) - nnn <- 100 - ddta <- data.frame( - x1 = rnorm(nnn), - x2 = rnorm(nnn), - id = rep_len(1:(nnn / 10), nnn), - year = rep_len(1:11, nnn) - ) - ddta$y <- ddta$x1 * 0.5 - ddta$x2 * 0.5 + rnorm(nnn) - - m1 <- lm(y ~ x1 + x2, data = ddta) - l1 <- logLik(m1) - - m2 <- plm( - y ~ x1 + x2, - data = ddta, - model = "pooling", - index = c("id", "year") - ) - l2 <- logLik(m2) - expect_equal(l1, l2, tolerance = 1e-3, ignore_attr = TRUE) -})