Skip to content

Commit

Permalink
only run examples when survey is available
Browse files Browse the repository at this point in the history
  • Loading branch information
ddsjoberg committed Jul 4, 2024
1 parent c2e9d05 commit 24ad5fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion R/ard_dichotomous.survey.design.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#' @return an ARD data frame of class 'card'
#' @export
#'
#' @examples
#' @examplesIf cardx:::is_pkg_installed("survey", reference_pkg = "cardx")
#' survey::svydesign(ids = ~1, data = mtcars, weights = ~1) |>
#' ard_dichotomous(by = vs, variables = c(cyl, am), value = list(cyl = 4))
ard_dichotomous.survey.design <- function(data,
Expand Down
2 changes: 2 additions & 0 deletions man/ard_dichotomous.survey.design.Rd

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

0 comments on commit 24ad5fc

Please sign in to comment.