diff --git a/DESCRIPTION b/DESCRIPTION index 5817c1a0d..ec594a4e7 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -80,5 +80,5 @@ Config/testthat/edition: 3 Config/testthat/parallel: true Config/Needs/website: rstudio/bslib, - pkgdown, + r-lib/pkgdown, easystats/easystatstemplate diff --git a/R/data_codebook.R b/R/data_codebook.R index cec95196f..d6fe46beb 100644 --- a/R/data_codebook.R +++ b/R/data_codebook.R @@ -466,5 +466,5 @@ print_md.data_codebook <- function(x, ...) { N = "r" ) align <- align[colnames(x)] - paste0(unname(align), collapse = "") + paste(unname(align), collapse = "") } diff --git a/tests/testthat/test-standardize_datagrid.R b/tests/testthat/test-standardize_datagrid.R index 2c095e6bc..35a11fdb5 100644 --- a/tests/testthat/test-standardize_datagrid.R +++ b/tests/testthat/test-standardize_datagrid.R @@ -7,5 +7,9 @@ test_that("standardize.datagrid", { x <- insight::get_datagrid(iris, by = "Sepal.Length = c(-1, 0)") out <- unstandardize(x, select = "Sepal.Length") - expect_identical(out$Sepal.Length[1:2], c(mean(iris$Sepal.Length) - sd(iris$Sepal.Length), mean(iris$Sepal.Length)), tolerance = 1e-3) + expect_identical( + out$Sepal.Length[1:2], + c(mean(iris$Sepal.Length) - sd(iris$Sepal.Length), mean(iris$Sepal.Length)), + tolerance = 1e-3 + ) })