Set or return the coordinate system currently in use.

use_crs(crs = NULL)

Arguments

crs

provide PROJ string to set the value

Details

If argument crs is NULL, the function returns the current value (which may be `NULL``).

Examples

if (FALSE) {
use_crs()
use_crs("+proj=laea +datum=WGS84")
use_crs()
}