-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
close #4 --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
98f1764
commit 0166b3f
Showing
25 changed files
with
1,038 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#' Null report | ||
#' | ||
#' @author Thomas Neitmann (`neitmant`) | ||
#' @export | ||
#' | ||
#' @details | ||
#' This will create a null report similar as STREAM does. You can use | ||
#' it inside output functions as shown in the example below. | ||
#' | ||
#' @examples | ||
#' library(dplyr) | ||
#' library(filters) | ||
#' data <- list( | ||
#' adsl = eg_adsl, | ||
#' adae = eg_adae %>% mutate(AREL = "") | ||
#' ) | ||
#' | ||
#' null_report() | ||
#' | ||
#' ## An example how to use the `null_report()` inside an output function | ||
#' t_ae <- function(datasets) { | ||
#' trt <- "ACTARM" | ||
#' anl <- semi_join( | ||
#' datasets$adae, | ||
#' datasets$adsl, | ||
#' by = c("STUDYID", "USUBJID") | ||
#' ) | ||
#' | ||
#' return(null_report()) | ||
#' } | ||
#' | ||
#' data %>% | ||
#' apply_filter("SER_SE") %>% | ||
#' t_ae() | ||
#' | ||
null_report <- function() { | ||
rtable( | ||
header = " ", | ||
rrow("", "Null Report: No observations met the reporting criteria for inclusion in this output.") | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pkg_name <- "autoslider.core" | ||
library(testthat) | ||
test_check(pkg_name, reporter = ParallelProgressReporter$new()) |
Oops, something went wrong.