You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi David, I love accumulate_while, any chance it could get updated to avoid the error below (the results it produces are still correct).
drlib::accumulate_while(17,~.+1,~.<20)
as_function() is deprecated; please use as_mapper() or rlang::as_function() insteadas_function() is deprecated; please use as_mapper() or rlang::as_function() instead[[1]]
[1] 17
[[2]]
[1] 18
[[3]]
[1] 19
[[4]]
[1] 20
Another request: could you create accumulate_while_*, where * = lgl, int, dbl, chr, etc., so in the example above i would have used
drlib::accumulate_while_int(17L,~.+1L,~.<20L)
[1] 17 18 19 20
The text was updated successfully, but these errors were encountered:
Hi David, I love accumulate_while, any chance it could get updated to avoid the error below (the results it produces are still correct).
as_function()
is deprecated; please useas_mapper()
orrlang::as_function()
insteadas_function()
is deprecated; please useas_mapper()
orrlang::as_function()
instead[[1]][1] 17
[[2]]
[1] 18
[[3]]
[1] 19
[[4]]
[1] 20
Another request: could you create accumulate_while_*, where * = lgl, int, dbl, chr, etc., so in the example above i would have used
[1] 17 18 19 20
The text was updated successfully, but these errors were encountered: