(v1.7.1.9003) unit test

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2021-06-14 22:37:05 +02:00
1 parent 99be4c7e7e
commit 556bf0014d
15 files changed
+24 -24

No files matched your search

+2 -2
View File
@@ -713,9 +713,9 @@ meet_criteria <- function(object,
return(invisible())
}
get_current_data <- function(arg_name, call, reuse_equal_call = TRUE) {
get_current_data <- function(arg_name, call, reuse_from_1st_call = TRUE) {
# check if retrieved before, then get it from package environment to improve speed
if (reuse_equal_call == TRUE &&
if (reuse_from_1st_call == TRUE &&
identical(unique_call_id(entire_session = FALSE), pkg_env$get_current_data.call)) {
return(pkg_env$get_current_data.out)
}