NEWS.md
tidyr::gather
and tidyr::spread
calls, replacing them with the now recommended tidyr::pivot_longer
and tidyr::pivot_wide
calls.tidyverse
dependency from suggests..fixed_metrics_funs
to use formulas instead of quosures on quantile metrics in the functions list, as the use of quosures here is deprecated by newer dplyr versions.sfn_metrics
function are soft deprecated. Please use ‘1 day’, ‘1 month’… instead.purrr
version.%>%
) from magrittr
package. Now loading sapfluxnetr
the pipe can be used.acummulated_precip
as new metric for the default *_metrics
functions.data_coverage
function. Now it returns the real coverage based on the timestep, the period to summarise for and the timestamp values. This only will work within the wrapper metrics functions (using internally the .fixed_metrics_funtions
function).sfn_sites_in_folder
to list the site codes in a folderfilter_by_var
, substituted by filter_sites_by_md
sfn_metrics
. After some benchmarking, the benefits in time are solid, so now the user has the ability to perform the metrics in parallel.sfn_plot
function.sfn_metrics
to uniformize interval start and interval endnightly_metrics
to return only night intervalpredawn_metrics
, midday_metrics
and daylight_metrics
functions taking leverage in the refactored sfn_metrics
functions.daily_metrics
and monthly_metrics
to return only the general interval metrics, avoiding this way the creation of very big objects.tidy
argument to *_metrics functions, to skip one step when creating tidy metrics.NEWS.md
file to track changes to the package.README.md
file for new users.