(v1.4.0.9045) unit tests

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-12-25 00:06:11 +01:00
1 parent df37584189
commit 291f802be3
15 files changed
+45 -49

No files matched your search

+1 -2
View File
@@ -296,7 +296,6 @@ word_wrap <- function(...,
indentation <- 0 + extra_indent
}
msg <- gsub("\n", paste0("\n", strrep(" ", indentation)), msg, fixed = TRUE)
# msg <- gsub("*|*", paste0("*|*", strrep(" ", indentation)), msg, fixed = TRUE)
# remove trailing empty characters
msg <- gsub("(\n| )+$", "", msg)
@@ -538,7 +537,7 @@ get_current_data <- function(arg_name, call) {
}
get_root_env_address <- function() {
sub('<environment: (.*)>', '\\1', utils::capture.output(sys.frames()[[1]]))
sub("<environment: (.*)>", "\\1", utils::capture.output(sys.frames()[[1]]))
}
remember_thrown_message <- function(fn) {