- Change vignette names and indexing so that they are ordered similarly on the
pkgdown website, on CRAN, and using
vignette
. Vignettes are renamedfundiversity_X-topic.Rmd
but the overview vignettefundiversity.Rmd
. - Fully replace all URLs still pointing to https://github.com/bisaloo/fundiversity to https://github.com/funecology/fundiversity
- Update documentation of
fd_*()
functions for edge cases and arguments. - Fix unuseful argument in
remove_species_without_traits()
that would displayFALSE
at the end of each message. - Update parallel vignette with list of parallelizable function at the top and explain that vignette is pre-computed.
- Update performance/benchmark vignette to reflect actually ran benchmark in manuscript.
- Fix a bug in the computation of
fd_fdis()
because of a misplaced square. NB: All FDis computation done with it to this day were wrong.
- Unit tests for non-continuous traits for all functions.
- Correct all URLs of the package
- fundiversity functions now error when used with non-continuous trait data
future_apply()
andfuture_lapply()
calls infd_fdis()
,fd_fdiv()
,fd_ric()
,fd_fric_intersect()
andfd_feve()
now usefuture.globals = FALSE
, thus making the internal code less error-prone and faster in parallel settings.
- Add a vignette on numerical correctness named
correctness
, accessible withvignette("correctness", package = "fundiversity")
.
- Unit tests have been updated to work with testthat 3.1.0
- There is a new function
fd_fric_intersect()
to compute the intersection of convex hulls across pairs of sites. - There is a new function
fd_fdis
to compute Functional Dispersion FDis. fd_fdiv()
,fd_feve()
,fd_fdis()
,fd_fric()
can now be computed in parallel with the future framework. Please refer to the parallelization vignette for more information.- The convex hull computation in
fd_fdiv()
,fd_fric()
, andfd_fric_intersect()
is now cached thanks to the memoise package to speed up repeated runs. This behavior can be disabled by runningoptions(fundiversity.memoise = FALSE)
at the start of your R session.
- First CRAN release (01751f1) 🎉!
- Added a
NEWS.md
file to track changes to the package.