r_type_checking : error message not specific enough
ClaraLerebourg opened this issue · 0 comments
ClaraLerebourg commented
Using r_type_checking does not give a clear error message. For example when I use the code :
map_catch_distribution(time_period = 2022,
graph_type = "plot",
fishing_type = "FSC",
ocean = 1,
title = TRUE,
data_connection = balbaya_con)
I get the error: Failure, invalid "r_object" argument. Argument of type "integer" is expected.
It should tell me that the r_object is time_period or ocean, otherwise I don't know where the error comes from.