tests/testthat/_snaps/nlayers.md

Check how it works with single layers files

Code
  raster <- rasterpic_img(x, img)
Condition
  Warning in `rasterpic_img()`:
  img has 1 not 3 or 4. Result does not have a RGB property.

Check how it works with 2 layer file

Code
  r_new <- rasterpic_img(x2, tmp_tiff)
Condition
  Warning in `rasterpic_img()`:
  img has 2 not 3 or 4. Result does not have a RGB property.


Try the rasterpic package in your browser

Any scripts or data that you put into this service are public.

rasterpic documentation built on Jan. 15, 2026, 1:06 a.m.