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
!!varnames probably will work, but I'm not sure if this is intended.
!!! may or may not work; it may be more "proper" for it not to work, as it looks like splatting multiple arguments into the function, while our .col_names is just a single arg slot. (If we look at the similar across function, it will balk with a confusing message if we attempt to use !!!, because it is actually splatting multiple fn args. But I don't think we have fn arg splatting here so it might actually work in our case.)
Workaround is to use manually use all_of(varname) or all_of(varnames) instead of something with !! or !!!.
The text was updated successfully, but these errors were encountered:
brookslogan
changed the title
Make epi_slide_opt work with !!varname, !!!varnames
Make epi_slide_opt work with !!varnameNov 3, 2024
brookslogan
changed the title
Make epi_slide_opt work with !!varname
Make epi_slide_opt work with !!varname, !!varnamesNov 3, 2024
brookslogan
changed the title
Make epi_slide_opt work with !!varname, !!varnames
Make epi_slide_opt work with !!varname, maybe !!varnames, maybe !!!varnamesNov 3, 2024
Created on 2024-11-03 with reprex v2.1.1
We probably don't need the if branch here and can probably just use the else branch code in any situation.
!!varnames
probably will work, but I'm not sure if this is intended.!!!
may or may not work; it may be more "proper" for it not to work, as it looks like splatting multiple arguments into the function, while our.col_names
is just a single arg slot. (If we look at the similaracross
function, it will balk with a confusing message if we attempt to use!!!
, because it is actually splatting multiple fn args. But I don't think we have fn arg splatting here so it might actually work in our case.)Workaround is to use manually use
all_of(varname)
orall_of(varnames)
instead of something with!!
or!!!
.The text was updated successfully, but these errors were encountered: