search for: promise_info

Displaying 1 result from an estimated 1 matches for "promise_info".

Did you mean: profile_info
2017 Jul 31
0
force promises inside lapply
...'evaled' field set to TRUE and the 'value' field set to the >> result of evaluating 'code' in 'env'. >> >> > f <- function(x, force) { >> if (force) force(x) >> if (pryr::is_promise(x)) promise_info(x) >> else "not a promise" >> } >> > str(f(log(-1), force=FALSE)) >> List of 4 >> $ code : language log(-1) >> $ env :<environment: R_GlobalEnv> >> $ evaled: logi FALSE &...