Closed aclark02-arcus closed 3 months ago
@aclark02-arcus I think in this case, the problem lays in the tidyr::pivot_wider
step since item_value should never be a list, and converting item_value from a character to class list is probably not desirable.
ah yes, you're right. Good catch @LDSamson! I will fix my open PR to remove this "fix".
Code that is borked because
weight_change_data
is empty, and thus the data types differ: https://github.com/openpharma/clinsight/blob/main/R/fct_appdata.R#L195Easy solution is to replace that line with:
... but, be aware that this adds a new dependency:
{purrr}
that would need to be added to the namespace and to thedescription
file.