Changes in version 2.2.0 - BREAKING CHANGE: the argument grid.only= has been changed to grid_only= for consistency with other arguments. - Improved performance for time_varying() and check_tv_exposure() by using dplyr::join_by(). In particular, the latter now allows for much larger data sets to have overlaps checked. Changes in version 2.1.0 - Added an error to detect when parallel::mcMap() has an error in one of its forked processes. - Added parallelly::availableCores(omit = 1) as the new default for n_cores=. Changes in version 2.0.2 (2024-02-16) - tv::time_varying() gained a sort= argument, to warn the user that things ought to be sorted when x$datetime is a Date. - Added Peter Martin as a contributor, as he inspired the v2.0.0 rewrite. Changes in version 2.0.1 - The previous version of tv (< 2.0.0) accidentally silently dropped exposures that had zero (or negative) length. In 2.0.0 this became a non-informative error. It now has an informative error. Changes in version 2.0.0 (2023-10-31) - Completely overhauled the internals, for a decent speed boost. In dense data, the speed up in practice is on the order of ~2x. In sparse data, the speed up has been witnessed as high as ~25x. Changes in version 1.7.3 (2023-10-06) - Added return values to the documentation and resubmitted to CRAN. Changes in version 1.7.2 - Submit to CRAN. Changes in version 1.7.1 - Added logic to tv_min(), tv_max(), et al. to handle cases where there are relevant rows for the feature, but which are all missing. Usually you will want to filter these NA rows out a priori, because they're almost never what you want. Changes in version 1.7.0 - Added grid.only= argument to time_varying(). - Thank you, dplyr for changing your minds. Enforce dplyr (>= 1.1.1). - Added a "How does this actually work" section to the vignette. Changes in version 1.6.1 - Added multiple = 'all' to one dplyr::inner_join() and one dplyr::left_join(). Changes in version 1.6.0 - Aggregations are now checked to make sure they exist. This includes, in particular, when the aggregation is NA. - Removed a few imports from the DESCRIPTION that weren't being used. Changes in version 1.5.0 - Changed the default number of cores to check if "SLURM_CPUS_PER_TASK" is defined. Changes in version 1.4.0 - The exposures are now expected to be non-overlapping (although windows can touch when a start time equals an end time). Changes in version 1.3.0 - Reorganized the help pages. - Added special behavior for when "lookback_end" or "lookback_start" are NA. - The grid now includes "exposure_start" and "exposure_stop". - Added aggregation option "tv_median". - Added tests with testthat. Changes in version 1.2.3 - Updated vignette. - Forced warnings to be printed as they occur, instead of when tv::time_varying() finishes. Changes in version 1.2.2 - Added the aggregation option "sum". Changes in version 1.2.1 - Fixed an error message. Changes in version 1.2.0 - Added an attribute denoting what type of column each of the resulting columns is. This is useful for subsetting for, e.g., xgboost. Changes in version 1.1.0 - Added id= argument. Changes in version 1.0.0 - Initial port of code from kernds, removing all kds prefixes.