Skip to content

Clean warnings in tests

Here the incriminated warnings:

Warning ('test-get_rpg_data.R:9:3'): get_rpg_data works with other inputs crs
st_crs<- : replacing crs does not reproject data; use st_transform for that

Warning ('test-get_rpg_data.R:24:3'): get_rpg_data returns only polygons
st_crs<- : replacing crs does not reproject data; use st_transform for that

Warning ('test-get_sim2_daily.R:100:3'): get_sim2_daily works for long time series
dimension value(s) non-finite

Warning ('test-get_sim2_daily.R:100:3'): get_sim2_daily works for long time series
dimension value(s) non-finite

The legitimate ones should be embedded in SuppressWarnings calls and the abnormal ones (dimension value(s) non-finite is weird 🤕 ) should be treated as bugs.