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
I am working on a function that creates a Tplyr table. One parameter expects a list of character vectors, containing comparison groups that will be passed on to the add_risk_diff function of {Tplyr}. The reason why the vectors are stored in a list is that I want to allow for specifying multiple comparisons. I then add the comparisons by means of the do.call function (see reprex below). I repeat this for two table layers. This worked perfectly fine with {Tplyr} version 1.1.0, however with version 1.2.0 and above I get the following error message:
I add layers by using the add_layers function. The error only appears when I add both layers or only the second layer. When I add only the first layer, it works fine.
Description
I am working on a function that creates a Tplyr table. One parameter expects a list of character vectors, containing comparison groups that will be passed on to the
add_risk_diff
function of {Tplyr}. The reason why the vectors are stored in a list is that I want to allow for specifying multiple comparisons. I then add the comparisons by means of thedo.call
function (see reprex below). I repeat this for two table layers. This worked perfectly fine with {Tplyr} version 1.1.0, however with version 1.2.0 and above I get the following error message:I add layers by using the
add_layers
function. The error only appears when I add both layers or only the second layer. When I add only the first layer, it works fine.Steps to Reproduce (Bug Report Only)
Here's a reproducible example:
Expected behavior: My approach works with {Tplyr} versions >= 1.1.0
Actual behavior: It crashes since version 1.2.0 (Note:
Versions
Note: Session Info lists {Tplyr} version 1.2.1, but I have tried it with 1.2.0 as well - same error.
Thanks for your help!
The text was updated successfully, but these errors were encountered: