- Submitted to CRAN
- Fixes to
make_whole
and testing - Fixes to
block_average
- No longer exporting
make_whole
andmake_whole_fast
- No longer uses zoo for time series NA handling--made custom function to replace it
- Additional speed improvements
- Repair testthat tests
- Moved all vignettes relating to the upcoming MHW_detection paper to that repo
- This helps to unclutter this repo as it should be primarily kept for package content
- Added vignette that shows how tweaking arguments for detect changes the outputs between languages and how those outputs may differ
- Changed output of
detect_event
to better match Python version - Corrections to testthat to match changes to
detect_event
output
- Added C++ function,
clim_calc_ccp()
for faster climatology calculations; speed of climatology calculation comes down from 50.6 ms in R to 3.4 ms in C++ on my MacBook Pro (15-inch, 2017) 2.9 GHz Intel Core i7 16 GB RAM computer
- Updated testthat for
lolli_plot()
andevent_line()
- Updated testthat for
ts2clm()
- Updated testthat for
detect_event()
- Take advantage of C++ speed enhancement in
smooth_percentile()
by using RcppRoll - Update testthat accordingly
- Basic R vs Python vignette finished
- Minor fix to testthat
- codecov up to 100%
- Fix to
geom_lolli()
n argument - Fix to
lolli_plot()
y-axis range - Minor fix to
make_whole()
- Skeleton of R vs Python vignette added
- Major spead-up in the climatology creation function.
clim_spread()
now returns a matrix, not a data frame. This makes the loop inclim_calc()
much faster. In testing with the sst_WA data, it leads to a 3.7 fold speed improvement (520 ms down to 140 ms). - Speed-up of
make_whole()
(60 ms down to 40 ms)
- Removed all instances of
detect()
in favour of the new pipeline - Updated
exceedance()
to utilise the internal functions - Updated object names in
block_average()
- Micro edits to documentation
- Testing for all exported and internal functions brought up to speed
- Ensuring that new
ts2clm()
anddetect_event()
pipeline returns the same results as the oldmake_whole()
anddetect()
pipeline
- Phasing in identical names as in the python version
detect_event()
now passing checks- Must still test for MCSs
- The old
detect()
function was unpacked and simplified. Internal code is now in new functions, most of which will not be seen by the user. They aremake_whole()
proto_event()
,clim_calc()
,smooth_percentile()
,clim_spread()
, andts2clm()
ts2clm()
used instead ofdetect_clim()
- Climatologies can now be calculated independently of the detect functionality
exceedance()
function testthat checks updated to account for change in variable naming
detect()
has now been broken intodetect_clim()
anddetect_event()
- These now also rely on internal functions
- The purpose of this is to create a family of functions that provide different options
- New vignette on making short climatologies.
- One may now provide alternative baselines and climatologies to
detect()
- Testing for
category()
- Testing for
block_average()
- Testing for
detect()
- Testing
exceedance()
- Removed default
threshold
forexceedance()
- Tweaks to
exceedance()
error messages - Testing for
event_line()
- Testing for
lolli_plot()
- Tweaks to
lolli_plot()
error messages
- New
category()
function returns the category results for events - Still requires testing and improved event naming scheme
- Minor touch up to examples in
geoms.R
- First draft of
heatwaveR
hex logo added to site - Added
category
option toevent_line()
- Simplifications and consistency checks to
detect()
- Some writing on Baselines and climatology vignette
- Fix to
event_line()
not plotting MCSs correctly - Fix error with smooth_percentile and smooth_percentile_width descriptions
that were interchanged in
detect()
- Simplify initial lines of leap year calculations (remove redundant code)
- change from
raster::quantile()
tostats::quantile()
- Add option to use a custom baseline to
detect()
as requested by Maxime Marin (), The University of Tasmania (IMAS) – CSIRO (O&A), and which is present in the python version of the package
- Remove restriction to require full years for start/end points of
climatology calculations in
detect()
- Documentation updated accordingly
- Vignette on OISST data processing added
- Removed rlang dependency
- Touch-up to
block_average()
- Tested
make_whole()
- Basic testing for other functions
- Established theme for changelog
- Synced ganalytics
- Fixed
event_line()
to acknowledge column names other thant
andtemp
- Fixed
lolli_plot()
to use underlyinggeom_lolli()
- Search bar now live
- Removed all but one use of plyr code
- Added a
NEWS.md
file to track changes to the package. - Cloned
RmarineHeatWaves
package to this repo - First build of
pkgdown
site live