Can replicate this with m4id = 739820
Error in `tidyr::unnest_wider()` at ccdR/R/bioactivity-APIs.R:96:6:
ℹ In column: `mc6Param`.
ℹ In row: 1.
Caused by error:
! Can't unnest elements with missing names.
ℹ Supply `names_sep` to generate automatic names.
mc6Param is NA when the curve had no associated flags. Not sure if the better solution is to:
- only unnest_wider when the
mc#Param fields are not NA, or
- replace
mc6Param with default columns manually, with flag = NA and mc6MthdId = NA
Thoughts on if ccdR should just prevent the error, and then tcpl can instead handle this? @brown-jason
I don't think this could affect the other mc#Param fields, since those should all always contain some parameters, so this is probably just an mc6Param issue.
Can replicate this with m4id = 739820
mc6ParamisNAwhen the curve had no associated flags. Not sure if the better solution is to:mc#Paramfields are notNA, ormc6Paramwith default columns manually, withflag = NAandmc6MthdId = NAThoughts on if ccdR should just prevent the error, and then tcpl can instead handle this? @brown-jason
I don't think this could affect the other
mc#Paramfields, since those should all always contain some parameters, so this is probably just anmc6Paramissue.