Skip to content

Commit 0b7de57

Browse files
committed
Replace remainder noRd
1 parent ba56460 commit 0b7de57

14 files changed

+207
-10
lines changed

R/check_selector.R

+12-6
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ check_selector_dataname <- function(dataname) {
1717
#'
1818
#' @return Raises an error when the check fails, otherwise it returns `NULL`, invisibly.
1919
#'
20-
#' @noRd
20+
#' @keywords internal
21+
#'
2122
check_selector_filters <- function(filters) {
2223
check_selector_filter <- function(x) {
2324
is.list(x) &&
@@ -39,7 +40,8 @@ check_selector_filters <- function(filters) {
3940
#' @return Raises an error when check fails, otherwise, it returns the `select`
4041
#' parameter, invisibly and unchanged.
4142
#'
42-
#' @noRd
43+
#' @keywords internal
44+
#'
4345
check_selector_select <- function(select) {
4446
checkmate::assert_character(select)
4547
}
@@ -51,7 +53,8 @@ check_selector_select <- function(select) {
5153
#' @return Raises an error when check fails, otherwise, it returns the `keys`
5254
#' parameter, invisibly and unchanged.
5355
#'
54-
#' @noRd
56+
#' @keywords internal
57+
#'
5558
check_selector_keys <- function(keys) {
5659
checkmate::assert_character(keys, min.len = 0L, any.missing = FALSE)
5760
}
@@ -63,7 +66,8 @@ check_selector_keys <- function(keys) {
6366
#' @return Raises an error when check fails, otherwise, it returns the `reshape`
6467
#' parameter, invisibly and unchanged.
6568
#'
66-
#' @noRd
69+
#' @keywords internal
70+
#'
6771
check_selector_reshape <- function(reshape) {
6872
checkmate::assert_flag(reshape)
6973
}
@@ -75,7 +79,8 @@ check_selector_reshape <- function(reshape) {
7579
#' @return Raises an error when check fails, otherwise, it returns the `internal_id`
7680
#' parameter, invisibly and unchanged.
7781
#'
78-
#' @noRd
82+
#' @keywords internal
83+
#'
7984
check_selector_internal_id <- function(internal_id) {
8085
checkmate::assert_string(internal_id)
8186
}
@@ -87,7 +92,8 @@ check_selector_internal_id <- function(internal_id) {
8792
#' @return Raises an error when check fails, otherwise, it returns the `selector`
8893
#' parameter, invisibly and unchanged.
8994
#'
90-
#' @noRd
95+
#' @keywords internal
96+
#'
9197
check_selector <- function(selector) {
9298
# An error from the checks below is transformed to a shiny::validate error
9399
# so shiny can display it in grey not in red in an application

R/data_extract_module.R

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
#' @return Raises an error when check fails, otherwise, it returns the `data_extract_spec`
66
#' parameter, invisibly and unchanged.
77
#'
8-
#' @noRd
8+
#' @keywords internal
9+
#'
910
check_data_extract_spec <- function(data_extract_spec) {
1011
checkmate::assert_list(data_extract_spec, types = "data_extract_spec", null.ok = TRUE)
1112
}
@@ -16,7 +17,8 @@ check_data_extract_spec <- function(data_extract_spec) {
1617
#'
1718
#' @return `character(1)`.
1819
#'
19-
#' @noRd
20+
#' @keywords internal
21+
#'
2022
id_for_dataset <- function(dataname) {
2123
paste0("dataset_", dataname, "_singleextract")
2224
}

R/merge_data_utils.R

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
#'
55
#' @return Raises an error when check fails, otherwise, it returns `NULL`, invisibly.
66
#'
7-
#' @noRd
7+
#' @keywords internal
8+
#'
89
check_merge_function <- function(merge_function) {
910
checkmate::assert_string(merge_function)
1011
stopifnot(length(intersect(methods::formalArgs(eval(rlang::parse_expr(merge_function))), c("x", "y", "by"))) == 3)

R/utils.R

+2-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ compose_and_enable_validators <- function(iv, selector_list, validator_names = N
173173
#'
174174
#' @return List of `reactive` expressions that contains all the individual `datasets`.
175175
#'
176-
#' @noRd
176+
#' @keywords internal
177+
#'
177178
convert_teal_data <- function(datasets) {
178179
if (is.list(datasets)) {
179180
sapply(X = datasets, simplify = FALSE, FUN = function(x) {

man/check_data_extract_spec.Rd

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/check_merge_function.Rd

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/check_selector.Rd

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/check_selector_filters.Rd

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/check_selector_internal_id.Rd

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/check_selector_keys.Rd

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/check_selector_reshape.Rd

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/check_selector_select.Rd

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/convert_teal_data.Rd

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/id_for_dataset.Rd

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)