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 tried to collect incidence data for all counties in Washington using the incidence_cancer(). I received an error in mutate(), stating that a data frame with 'NA' or empty names cannot be transformed. Either these situations should be accounted for, or a more informative error message should be generated to handle such a call.
Example code: cancerprof::incidence_cancer( area = "wa", areatype = "county", cancer = "all cancer sites", race = "All Races (includes Hispanic)", sex = "both sexes", age = "all ages", stage = "all stages", year = "latest 5 year average" )
Error message: Error in mutate(): ! Can't transform a data frame with NAor""` names.
Backtrace:
cancerprof::incidence_cancer(...)
dplyr:::mutate.data.frame(...)
Error in mutate(., across(c(all_of(shared_names_to_numeric), "Recent_5_Year_Trend",`
The text was updated successfully, but these errors were encountered:
I tried to collect incidence data for all counties in Washington using the incidence_cancer(). I received an error in mutate(), stating that a data frame with 'NA' or empty names cannot be transformed. Either these situations should be accounted for, or a more informative error message should be generated to handle such a call.
Example code:
cancerprof::incidence_cancer( area = "wa", areatype = "county", cancer = "all cancer sites", race = "All Races (includes Hispanic)", sex = "both sexes", age = "all ages", stage = "all stages", year = "latest 5 year average" )
Error message:
Error in
mutate(): ! Can't transform a data frame with
NAor
""` names.Backtrace:
Error in mutate(., across(c(all_of(shared_names_to_numeric), "Recent_5_Year_Trend",`
The text was updated successfully, but these errors were encountered: