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
Error in tm_g_spiderplot(label = "Spider plot", dataname = "ADTR", paramcd = choices_selected(choices = "SLDINV", :
Assertion on 'vref_line' failed: Must be of type 'string', not 'NULL'.
Parameter anno_txt_var needs logical value for the function to work. This is not consistent with the parameter name and different from other parameters like x_var or marker_var. It make more sense to allow user to specify the variable to be used as the annotation text.
In relation to 2, function is hardcoded to use USUBJID as the label (if parameter anno_txt_var = TRUE). However, there is an additional data processing step here that string split the value by dash symbol as delimiter. This processing is also hard-coded and cannot be turned off.
In situations where the input dataset has values USUBJID = c('site1-0001', 'site1-0002', 'site2-0001'), both the first and last subjects will be shown as the same subject with ID 0001, which is incorrect.
What happened?
Several parameters in
tm_g_spiderplot
function is not working as expected.NULL
is supposed to be the default value for parametersvref_line
andhref_line
. However, if modifying the example code tovref_line = NULL
orhref_line = NULL
will get the following errorParameter
anno_txt_var
needs logical value for the function to work. This is not consistent with the parameter name and different from other parameters likex_var
ormarker_var
. It make more sense to allow user to specify the variable to be used as the annotation text.In relation to 2, function is hardcoded to use
USUBJID
as the label (if parameteranno_txt_var = TRUE
). However, there is an additional data processing step here that string split the value by dash symbol as delimiter. This processing is also hard-coded and cannot be turned off.In situations where the input dataset has values
USUBJID = c('site1-0001', 'site1-0002', 'site2-0001')
, both the first and last subjects will be shown as the same subject with ID0001
, which is incorrect.sessionInfo()
Relevant log output
No response
Code of Conduct
Contribution Guidelines
Security Policy
The text was updated successfully, but these errors were encountered: