Tools to Work with Projections

Choose the appropriate map projection for a given application, visualise the resulting distortion, and georeference data from unknown projections. The full functionalities of the package are described in Pozzi et al. (2026) (pre-print).


crstools

codecov R-CMD-check

The goal of crstools is to facilitate working with map projections (technically coordinate reference systems, CRS) in R. We provide functions to choose the appropriate map projection for a given application, visualise the resulting distortion, and georeference data from unknown projections. The package seamlessly interfaces with the popular sf and terra packages for spatial data handling.

Installation

You can install the development version of crstools from GitHub with:

# install.packages("pak")
pak::pak("EvolEcolGroup/crstools")

Getting help

crstools is a relatively new package. If you think you have found a bug, or have a feature request, please open an issue on our [GitHub repository]((https://github.com/EvolEcolGroup/crstools/issues). Before doing so, please make sure that you have installed the latest development version of crstools (as the bug might have already been fixed), as well as updating all other packages on your system. If the problem persists, and there is no issue already opened that deals with your bug, file a new issue providing a reproducible example for the developers to investigate the problem. A small reproducible example is crucial in allowing us to understand the problem and fix it, so please do your best to come up with the shortest bit of code needed to show the bug.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("crstools")

1.0.0 by Andrea Manica, 7 months ago


Browse source code at https://github.com/cran/crstools


Authors: Andrea Manica [aut, cre] (ORCID: , Andrea Pozzi [aut] , Cecilia Padilla-Iglesias [aut] , Evie Carter [aut] , Michela Leonardi [aut] , Aramish Fatima [aut] , Ondrej Pelanek [aut] , Nile Stephenson [aut] , Margherita Colucci [aut] , Dominik C Jud [aut] , Cassandra Gunasekaram [aut]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports sf, ggplot2, terra, cli, jpeg, rlang

Suggests testthat, knitr, rmarkdown, pastclim, rnaturalearth, rnaturalearthdata, tidyterra, svglite, spelling


See at CRAN