Skip to content

Commit

Permalink
prep release
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Leutner committed Mar 3, 2022
1 parent 1ecbec5 commit 2997c10
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 18 deletions.
35 changes: 19 additions & 16 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ Plus additional functional changes and fixes.

### R CMD checks
### Test environments
* Ubuntu 20.04 64bit (release)
* winbuilder (devel, release, oldrel)
* macos r-hub
* Ubuntu 20.04 64bit (oldrel, release, devel)
* winbuilder (oldrel, release, devel)
* MacOS (release)

### R CMD check results
There were no ERRORs, WARNINGs
There were no ERRORs or WARNINGs

### Downstream dependencies
fieldRS OK
Expand All @@ -18,18 +18,21 @@ PlanetNICFI OK
spatialEco OK

### Changelog:
RStoolbox 0.2.7
New:
* `rasterCVA` by default no longer enforces a minimal change magnitude (can still be accomplished with the `tmf` argument).
#### RStoolbox 0.3.0
###### New:
* `rasterCVA()` by default no longer enforces a minimal change magnitude (can still be accomplished with the `tmf` argument).
Also a new argument `nct` allows to fix this threshold to a user selected value instead of deriving it based on the median of the observed change magnitudes.
* `unsuperClass` has a new argument `output` which allows to return the distances to all cluster centers as raster layers, instead of the class itself
* added spectral index kNDVI in spectralIndices as suggested by Camps-Valls et al (2021)
* `unsuperClass()` has a new argument `output` which allows to return the distances to all cluster centers as raster layers, instead of the class itself
* added spectral index kNDVI in `spectralIndices()` as suggested by Camps-Valls et al (2021)
* added support for `terra::SpatRast` objects throughout RStoolbox (as alternative to `raster` objects). Note: internal functionality is still based on `raster`.

Fixes:
* `rasterCVA` estimates median values now for entire rasters and not per chunk
* `cloudMask` now returns NA for non-clouds instead of NaN
* `topCor` now works for tiny rasters as well (fixes #55, reported by @latenooker)
* `rasterPCA` now correctly considers the number observations in face of missing values (fixes #79, reported by @andliszmmu)
* `superClass` now accepts different geometries for trainData and valData (fixes #73, suggested by @Silviculturalist)
* fix `readMeta` for MTL files delivered with Landsat collection data (fixes #71, reported by @jkoellin et al.)
##### Changes:
* arguments `master` and `slave` in `coregisterImages()` were deprecated in favor of `ref` and `img`, respectively (closes #63, suggested by @MatthiasSiewert)

##### Fixes:
* `rasterCVA()` estimates median values now for entire rasters and not per chunk
* `cloudMask()` now returns NA for non-clouds instead of NaN
* `topCor()` now works for tiny rasters as well (fixes #55, reported by @latenooker)
* `rasterPCA()` now correctly considers the number observations in face of missing values (fixes #79, reported by @andliszmmu)
* `superClass()` now accepts different geometries for trainData and valData (fixes #73, suggested by @Silviculturalist)
* fix `readMeta()` for MTL files delivered with Landsat collection data (fixes #71, reported by @jkoellin et al.)
4 changes: 2 additions & 2 deletions prep-release/makeRelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ echo "**********************************************************"
Rscript -e "library(devtools); library(methods); check_win_release(); check_win_oldrelease(); check_win_devel(); check()"
#Valgrind times out --> run locally
#Rscript -e "library(rhub); library(methods); check(platform='debian-gcc-release', valgrind = TRUE)" &> ${HOME}/RHub_RStoolbox_check_with_valgrind.log
Rscript -e "library(rhub); library(methods); check(platform=c('debian-gcc-release', 'debian-gcc-devel', 'linux-x86_64-rocker-gcc-san'))"
Rscript -e "library(rhub); library(methods); check(platform=c('linux-x86_64-rocker-gcc-san'))"
## Check on MAC
Rscript -e "library(methods); library(rhub); check(platform='macos-highsierra-release-cran')"
#Rscript -e "library(methods); library(rhub); check(platform='macos-highsierra-release-cran')"

Rscript -e "library(revdepcheck); revdep_check(num_workers = 4)"

Expand Down

0 comments on commit 2997c10

Please sign in to comment.