Skip to content

Commit

Permalink
CRAN Feedback: Description update. Using donttest rather than dontrun
Browse files Browse the repository at this point in the history
  • Loading branch information
bms63 committed Aug 25, 2022
1 parent 299c449 commit beacae6
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 17 deletions.
7 changes: 3 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ Authors@R: c(
person("F. Hoffmann-La Roche AG", role = c("cph", "fnd")),
person("GlaxoSmithKline LLC", role = c("cph", "fnd"))
)
Description: A toolbox for developers working on admiral packages.
Package contains functions that are used internally to admiral and admiral extension packages to
check data, variables and conditions. Package also contains utility functions to help developer with
documentation, testing and general upkeep of admiral and admiral extension packages.
Description: Utility functions to check data, variables and conditions for functions used in
'admiral' and 'admiral' extension packages. Additional utility helper functions to to assist developers
with maintaining documentation, testing and general upkeep of 'admiral' and 'admiral' extension packages.
License: Apache License (>= 2)
URL: https://pharmaverse.github.io/admiraldev/main/, https://github.com/pharmaverse/admiraldev/
Encoding: UTF-8
Expand Down
11 changes: 5 additions & 6 deletions R/expect_dfs_equal.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@
#' @export
#'
#' @examples
#' \dontrun{
#' testthat::test_that("a missing row is detected", {
#' data(dm)
#' expect_dfs_equal(dm, dm[-1L, ], keys = "USUBJID")
#' })
#' }
#' library(admiral.test)
#' \donttest{(testthat::test_that("a missing row is detected", {
#' data(admiral_dm)
#' expect_dfs_equal(admiral_dm, admiral_dm[-1L, ], keys = "USUBJID")
#' })}
expect_dfs_equal <- function(base, compare, keys, ...) {
diff <- diffdf::diffdf(base, compare, keys, suppress_warnings = TRUE, ...)
if (diffdf::diffdf_has_issues(diff)) {
Expand Down
2 changes: 1 addition & 1 deletion man/admiraldev-package.Rd

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

11 changes: 5 additions & 6 deletions man/expect_dfs_equal.Rd

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

0 comments on commit beacae6

Please sign in to comment.