# CHANGES in ecochange 2.9.3.3

- Fixed missing Rd \link{} targets by providing appropriate package anchors:
  - `EBVstats.Rd`: linked `cellStats` to **raster**.
  - `gaugeIndicator.Rd`: linked `list_lsm`, `calculate_lsm` to **landscapemetrics**.
  - `plot.EBVstats.Rd`, `plot.Indicator.Rd`: linked `tibble` to **tibble**.
  - `sampleIndicator.Rd`: linked `list_lsm`, `sample_lsm` to **landscapemetrics**.
  - `tabuleRaster.Rd`: linked `rasterDT` to **rasterDT**.


# CHANGES in ecochange 2.9.3.2

- Removed internal use of the `gadm()` function from the **geodata** package.
- Updated support for the Global Forest Cover product to version 1.11 (2023).


# CHANGES in ecochange 2.9.3.1

- Fixed startup behavior: the package now suppresses its startup message when required.


# CHANGES in ecochange 2.9.3

- Updated support for global products:
  - Global Forest Cover to version 1.9 (2021).
  - Global Surface Water to version 1.4 (2021).


# CHANGES in ecochange 2.9.2

- `getGADM()`: Now uses **geodata**'s `gadm()` function instead of the deprecated `getData()` from **raster**. Added improved user feedback through clearer error/warning messages.
- `plot.echanges()`: Enhanced computation of data extremes for better color palette generation.
- `rsp2ebv()`: No longer deletes `.shp` files located outside `tempdir()`.
- `getrsp()`: Now supports **sf** class objects.


# CHANGES in ecochange 2.9.1

- `rsp2ebv()`: Fixed example errors caused by incorrect temporary file handling. Added internal cleanup logic.
- Added `inst/CITATION`: users can now cite the scientific publication with `citation("ecochange")`.


# CHANGES in ecochange 2.9

- Replaced a broken URL for Landsat path/row download:
  - Old: `https://prd-wret...`
  - New: `https://d9-wret...`
- Added new arguments to `plot.Indicator()` and `plot.echanges()` for enhanced diagnostic visualization (see documentation).
- Removed dependency on **rgdal**; the package now uses **sp**.
- Fixed issue with `proj4string`: now correctly imported from **sp**.
- `getWRS()`: Fixed broken download link.


# CHANGES in ecochange 2.8

- Reduced number of dependencies (see documentation).
- Deprecated `ploebv()` and `plotind()`; replaced by:
  - `plot.echanges()`
  - `plot.Indicator()`


# CHANGES in ecochange 2.6

- `rsp2ebv()`: Now uses `sf::gdal_utils()`; dropped **gdalUtilities**.
- `plotebv()` and `plotind()`: **viridis** moved to Suggests.
- `getrsp()`: **curl**, **xml2**, and **rvest** moved to Suggests.
- `getWRS()`: Switched from `rgdal::readOGR()` to `sf::st_read()`.
- `tabuleRaster()`: Now uses `sf::gdal_utils()`.


# CHANGES in ecochange 2.5

- `rsp2ebv()`: Now uses `gdalwarp` from **gdalUtilities**; dropped **gdalUtils**.


# CHANGES in ecochange 2.4

- `getrsp()`: Added argument `rewrite.pass` to allow updating Earthdata credentials.
- `rsp2ebv()`: File paths are now normalized with `normalizePath()`.


# CHANGES in ecochange 2.3

- `rsp2ebv()`: `path` argument is now expanded with `path.expand()`.
- `plotebv()`: Removed suggested dependency on **rasterVis**.


# CHANGES in ecochange 2.1

- `echanges()`: Dropped use of `gdal_calc.py`; now relies on logical raster operations via **raster**.


# CHANGES in ecochange 2.0

- Fixed critical error: `sh: gdal_calc.py: not found`. Updated internal error handling.


# CHANGES in ecochange 1.9

- Improved masking routines in `echanges()` using `gdal_calc.py`.


# CHANGES in ecochange 1.3

- New functions replacing legacy **forestChange** package:
  - `getrsp()` replaces `FCPolygon`.
  - `rsp2ebv()` replaces `FCPolygon`, `CCPolygon`, and `FCMosaic`.
  - `deforest()` replaces `FCMask`.


# CHANGES in forestChange 1.0

- Replaced **SDMTools** with **landscapemetrics**.
- Added functions: `barplot.EBVstats`, `CCPolygon`, `EBVMask`, `EBVstats`, and `FCMask`.
- `plot.EBVmetric()`: Added support for multi-panel plots.


# CHANGES in forestChange 0.6

- `FCPolygon()`: Added new argument `url`.


# CHANGES in forestChange 0.5

- `GFCurls()`: `read.table` now uses defaults `encoding = "latin1"` and `skipNul = TRUE`.


# CHANGES in forestChange 0.4

- `GFCurls()`: Improved URL processing:
  - Displays user-friendly message if no internet.
  - Uses **rvest** and **curl** for HTML parsing.
  - Adjusts file encoding based on OS (`"unknown"` or `"UTF-8"`).
