Skip to content

Commit

Permalink
Merge branch 'main' into 187_ard_poisson_test@main
Browse files Browse the repository at this point in the history
  • Loading branch information
ddsjoberg authored Aug 20, 2024
2 parents 63f9921 + cdf2443 commit 5bc0a6a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: cardx
Title: Extra Analysis Results Data Utilities
Version: 0.2.0.9003
Version: 0.2.0.9005
Authors@R: c(
person("Daniel", "Sjoberg", , "[email protected]", role = c("aut", "cre")),
person("Abinaya", "Yogasekaram", , "[email protected]", role = "aut"),
Expand Down Expand Up @@ -38,7 +38,7 @@ Suggests:
lme4 (>= 1.1-35.1),
parameters (>= 0.20.2),
smd (>= 0.6.6),
spelling,
spelling (>= 2.3.0),
survey (>= 4.2),
survival (>= 3.6-4),
testthat (>= 3.2.0),
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cardx 0.2.0.9003
# cardx 0.2.0.9005

# cardx 0.2.0

Expand Down
2 changes: 1 addition & 1 deletion R/ard_continuous_ci.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#' @return ARD data frame
#' @name ard_continuous_ci
#'
#' @examples
#' @examplesIf do.call(asNamespace("cardx")$is_pkg_installed, list(pkg = "broom", reference_pkg = "cardx"))
#' ard_continuous_ci(mtcars, variables = c(mpg, hp), method = "wilcox.test")
#' ard_continuous_ci(mtcars, variables = mpg, by = am, method = "t.test")
NULL
Expand Down
2 changes: 2 additions & 0 deletions man/ard_continuous_ci.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions tests/testthat/test-ard_continuous_ci.data.frame.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
test_that("ard_continuous_ci.data.frame(method = 't.test')", {
skip_if_not(is_pkg_installed("broom", reference_pkg = "cardx"))

expect_equal(
ard_continuous_ci(
mtcars,
Expand All @@ -15,6 +17,7 @@ test_that("ard_continuous_ci.data.frame(method = 't.test')", {
})

test_that("ard_continuous_ci.data.frame(method = 'wilcox.test')", {
skip_if_not(is_pkg_installed("broom", reference_pkg = "cardx"))
expect_equal(
ard_continuous_ci(
mtcars,
Expand Down

0 comments on commit 5bc0a6a

Please sign in to comment.