Releases: mchevalier2/crestr
Releases · mchevalier2/crestr
crestr v1.3.0
- The dependencies to
rgdal
,sp
andraster
were replaced to a single dependency toterra
as these packages are being retired. - New functions and features:
crest.simplify()
transforms a crestObj into a simple data frame with only the main reconstructed values.dbSubset()
extracts a subset of the calibration dataset and makes data extraction much faster.dbDownload()
allows downloading the calibration dataset on your machine.- The example dataset is now available offline.
loo()
can be run on a subset of the available variables to make the process faster.getTaxonomy()
can be used with acrestObj()
to refine the search to a specific study area.- INCLUDING A NEW PARAMETER TO
crest.calibrate()
:climateSpaceWeighting.type
. This parameter is useful to reduce the edge effects to the climate space calibration, as the range of weights could easily cover several ranges of amplitude. This can be toned down using 'sqrt' or 'log', instead of the default 'linear'. crest.get_modern_data()
now extract geopolitcal and biogeophical information from the gbif4crest database.
- Plotting:
- The results can be plotted as anomalies.
- Enabling to select samples by age in
plot.speciesCharacteristics()
- The correct filename extensions (.pdf or .png) is automatically in all plotting functions.
- Many visual improvements when exporting the plots to pdf or png.
- Major issues:
- Fixing a major stability issue regarding the connection test (does not impact any result derived from the package)
- Reliance on an active internet connection has been significantly reduced.
- Portability of the RData output file was increased.
- Minor issues:
- If the input
df
contained NA,crest.get_modern_data()
was crashing. Default value now set to 0. - Updating vignettes (reducing the amount of code actually ran to create the vignette).
- Database handlers can better handle the reduced list of parameters available in the calibration databse
- The north and east labels in
export()
were inverted. - The
ylim
parameter inplot(simplify=TRUE)
did not allow to select a y-range larger than the range of the uncertaintieS. - Including more quality tests for the functions parameters (e.g. climate, taxa, taxanames, samples, uncertainties, bin_width).
- If the input
v1.2.1
- Getting rid of one warning in
export()
- Replacing epsg:4326 by
+proj=longlat +datum=WGS84 +no_defs
to potentially avoid bugs when plotting maps (problem ultimately related to latest version of gdal and proj) - Problem of non-recorded taxa in selectedtaxa caused the final plots to crash. they are now excluded and set a value of -2.
- Adding a CRAN-compatible way of dealing with failed online connections (includes checking if is.crestObj(x) in every function).
- Minor corrections
- Removing unnecessary prints
- Improved documentation
v1.2.0
Adding automatic R CMD CHECK
v1.1.0
This new version of the package enables users to use the gbif4crest SQLite3 database and work offline.
v1.0.2
Version submitted to CRAN.
v1.0.1
Minor bugs were fixed in this release. This version is associated with the final version used in the Climate of the Past reference.
First stable version!
This is the first stable version of crestr. This version is also available on CRAN.