rasterpic 0.3.0
CRAN release: 2025-03-19
- When the output has 3 or more layers, the first three are renamed as
"r", "g", "b". In cases with 4 layers or more the fourth layer is renames as"alpha". This allows compatibility with tmap>= 4.0avoiding error! [subset] you cannot select a layer with a name that is not unique.
rasterpic 0.2.5
CRAN release: 2024-04-12
- Update documentation.
- Title and Description of the package are more specific.
rasterpic 0.2.4
CRAN release: 2024-01-18
- Ensure
SpatVectors always havecrs. - If the image has less than 3 channels the raster output does not have the property RGB (
terra::has.RGB()isFALSE). This is expected to be a corner case. - If the image file (i.e.
tiff) already has a RGB definition, keep that in the output. - Update docs and tests.
rasterpic 0.2.3
CRAN release: 2023-09-08
- Now
asp_ratio()is an internal function. - Improve docs and tests.
rasterpic 0.2.2
CRAN release: 2023-04-18
- Remove unused dependencies
- Improve docs.
- Fix typos on messages.
- Declares output as RGB raster with
terra::RGB(). - Add ggplot2 to “Suggests”.
rasterpic 0.2.0
CRAN release: 2022-02-18
- Add support for:
-
terra:
SpatVector,SpatExtent. -
sf:
sfg,sf::st_bbox(). - Numeric vectors
c(xmin, ymin, xmax, ymax).
-
terra:
- Now
imgparameter onrasterpic_img()accepts online images. - Add an article to the pkgdown site.
- Fix CRAN errors.
