check_oz_lonlat.Rd
Checks user-provided longitude and latitude values that they fall in Australia. Errors if any values do not.
check_oz_lonlat(longitude, latitude)
user provided numeric value as decimal degrees
user provided numeric value as decimal degrees
No return value, called for side effects. Errors if the latitude or longitude values are outside of Australia.
# No error, Perth, WA
check_oz_lonlat(longitude = 115.86, latitude = -31.95)
# Error, in Northern Hemisphere
check_oz_lonlat(longitude = 115.86, latitude = 31.95)
#> Error: Please check your latitude, `31.95`, value to be sure it is valid for Australian data.