mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 09:51:48 +02:00
(v1.4.0.9045) unit tests
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user