mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 17:21:49 +02:00
(v1.7.1.9003) unit test
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user