File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ as_slide_computation <- function(x,
252252 rlang ::: abort_coercion(
253253 x ,
254254 x_type = " a two-sided formula" ,
255- to_type = " a function " ,
255+ to_type = " a slide computation " ,
256256 arg = arg ,
257257 call = call
258258 )
@@ -269,15 +269,15 @@ as_slide_computation <- function(x,
269269 . = quote(..1 ), .group_key = quote(..2 ), .ref_time_value = quote(..3 )
270270 )
271271 fn <- new_function(args , f_rhs(x ), env )
272- fn <- structure(fn , class = c(" rlang_lambda_function " , " function" ))
272+ fn <- structure(fn , class = c(" epiprocess_slide_computation " , " function" ))
273273 return (fn )
274274 }
275275
276276 if (is_string(x )) {
277277 return (get(x , envir = env , mode = " function" ))
278278 }
279279
280- rlang ::: abort_coercion(x , " a function " , arg = arg , call = call )
280+ rlang ::: abort_coercion(x , " a slide computation " , arg = arg , call = call )
281281}
282282
283283# #########
You can’t perform that action at this time.
0 commit comments