This helper attempts the same coordinate reprojection used elsewhere in
the package (via terra::project()). When the bundled PROJ /
GDAL data are missing, terra raises an error; here we catch
it and return FALSE so that examples, tests, and vignettes can
skip gracefully.
terra_is_working()A logical flag indicating whether terra can perform CRS transformations.
Results are cached for the current R session to avoid repeatedly hitting
terra::project() during a single run.