x <- data.frame(
decimalLatitude = c(-185.111, -43.34, "", -21.8069444),
decimalLongitude = c(-45.4, -39.6, -20.5243, -440.9055555)
)
bdc_coordinates_outOfRange(
data = x,
lat = "decimalLatitude",
lon = "decimalLongitude"
)
Run the code above in your browser using DataLab