Skip to content

timetk 2.9.1

Latest

Choose a tag to compare

@mdancho84 mdancho84 released this 29 Aug 12:52
· 1 commit to master since this release

timetk 2.9.1

Highlights

  • Smarter time parsing & sequencing. New internal generics and S3 methods make date/time parsing and future sequence generation more robust across Date, POSIXct, hms, yearmon, and yearqtr.
  • Docs & site polish. Roxygen links modernized, vignette overhauled for anomaly workflows, and pkgdown styling refreshed.
  • CI refresh. GitHub Actions updated to latest actions and small reliability fixes.

New

  • Internal generics/S3 methods (exported) for time handling:

    • convert_length_out_chr_to_num() with methods for Date, POSIXt, yearmon, yearqtr.
    • list_to_datetime() with methods for POSIXct, Date, hms, yearmon, yearqtr.
    • lookup_defaults() with methods for POSIXct, Date, hms, yearmon, yearqtr.

Improvements

  • Time sequence generation: tk_make_timeseries() backend updated to use the new convert_length_out_chr_to_num.* methods, improving support for calendar and sub-daily indexes.

  • Parsing utilities: list_to_datetime.* & lookup_defaults.* reduce edge cases in date/time parsing and default boundary lookups.

  • Documentation links: Switched many references to fully qualified links (e.g., recipes:: and anytime::) for clearer, clickable docs.

  • Site/UX:

    • Navbar and TOC color tweaks (pkgdown/extra.css) for better contrast.
    • Navbar label: “Sequences & Data Structures” → “Time Sequences & Data Structures”.
  • Roxygen: Updated to RoxygenNote: 7.3.2.

Bug fixes

  • M4 dataset docs: Updated source URL to the current M4 competition page across all M4 datasets.
  • Tests: tk_tbl() test for timeSeries now guarded with skip_if_not_installed() and creates the object inside the test for cleaner isolation.

Vignettes

  • TK08_Automatic_Anomaly_Detection: Rewritten to use the wikipedia_traffic_daily dataset and the anomalize() workflow (plot_anomalies*() family), with clearer decomposition, detection, and “cleaned” visualization steps.

CI / Build

  • test-coverage workflow:

    • actions/checkoutv4, actions/upload-artifactv4.
    • More robust find usage with quoted paths.
    • Added commented guidance for optional caching.
  • CRAN submission metadata updated for 2.9.1.

Breaking changes

  • None.

Deprecations

  • None.

Notes for users

  • If you create future time sequences or parse specialized index classes, you should see improved behavior across index types with no code changes required.

Full Changelog: 2.9.0...2.9.1