Skip to content

Commit

Permalink
don't warn for custom parameter documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Sep 26, 2024
1 parent 8a1fdc4 commit 0e5fa5c
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions R/aaa-documentation-helper.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,6 @@ return_evalrd <- function(..., .method, .pre = NULL, .post = NULL) {
)
}


overwrite <- intersect(
names(custom_doc),
glos_env$column_glossary$column
)

if (length(overwrite) > 0) {
overwritten <- paste(overwrite, collapse = ", ")
warning(
glue(
"Using provided documentation for column: {overwritten} rather than ",
"modeltest documentation",
call. = FALSE
)
)
}

custom_cols <- tibble(
column = names(custom_doc),
description = as.character(custom_doc)
Expand Down

0 comments on commit 0e5fa5c

Please sign in to comment.