diff --git a/404.html b/404.html index 37708fe..0a99e60 100644 --- a/404.html +++ b/404.html @@ -27,7 +27,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -67,7 +67,7 @@ diff --git a/CODE_OF_CONDUCT.html b/CODE_OF_CONDUCT.html index 648745e..d6e5ae7 100644 --- a/CODE_OF_CONDUCT.html +++ b/CODE_OF_CONDUCT.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -108,7 +108,7 @@ Attribution - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/CONTRIBUTING.html b/CONTRIBUTING.html index b0590fb..672b6e2 100644 --- a/CONTRIBUTING.html +++ b/CONTRIBUTING.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -71,7 +71,7 @@ Code of Conduct diff --git a/ISSUE_TEMPLATE.html b/ISSUE_TEMPLATE.html index fd501e9..175be5c 100644 --- a/ISSUE_TEMPLATE.html +++ b/ISSUE_TEMPLATE.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -47,7 +47,7 @@ diff --git a/LICENSE-text.html b/LICENSE-text.html index eb61b79..d2a45e5 100644 --- a/LICENSE-text.html +++ b/LICENSE-text.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -43,7 +43,7 @@ diff --git a/LICENSE.html b/LICENSE.html index 35e76b3..754bc03 100644 --- a/LICENSE.html +++ b/LICENSE.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -47,7 +47,7 @@ diff --git a/SUPPORT.html b/SUPPORT.html index 063dfcd..ece143b 100644 --- a/SUPPORT.html +++ b/SUPPORT.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -53,7 +53,7 @@ Make a reprex - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/authors.html b/authors.html index d954f19..e41cfe8 100644 --- a/authors.html +++ b/authors.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -53,14 +53,14 @@ Citation Thorley J, Pearson A (2024). dttr2: Manipulate Date, POSIXct and hms Vectors. -R package version 0.5.1, +R package version 0.5.2, https://poissonconsulting.github.io/dttr2/, https://github.com/poissonconsulting/dttr2. @Manual{, title = {dttr2: Manipulate Date, POSIXct and hms Vectors}, author = {Joe Thorley and Ayla Pearson}, year = {2024}, - note = {R package version 0.5.1, + note = {R package version 0.5.2, https://poissonconsulting.github.io/dttr2/}, url = {https://github.com/poissonconsulting/dttr2}, } @@ -75,7 +75,7 @@ Citation diff --git a/index.html b/index.html index 9237392..77815a9 100644 --- a/index.html +++ b/index.html @@ -29,7 +29,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -243,7 +243,7 @@ Dev status diff --git a/news/index.html b/news/index.html index 1587390..bbb30da 100644 --- a/news/index.html +++ b/news/index.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -32,7 +32,11 @@ -dttr2 0.5.1 +dttr2 0.5.2 +Updated how S3 methods are registered so internal methods do not overwrite S3 methods. + + +dttr2 0.5.1CRAN release: 2024-09-13 Housekeeping tasks. Updated how S3 methods are registered. Update set operators code due to failures on development version of R. @@ -132,7 +136,7 @@ dttr2 0.0.1 diff --git a/pkgdown.js b/pkgdown.js index 9757bf9..1a99c65 100644 --- a/pkgdown.js +++ b/pkgdown.js @@ -152,3 +152,11 @@ async function searchFuse(query, callback) { }); }); })(window.jQuery || window.$) + +document.addEventListener('keydown', function(event) { + // Check if the pressed key is '/' + if (event.key === '/') { + event.preventDefault(); // Prevent any default action associated with the '/' key + document.getElementById('search-input').focus(); // Set focus to the search input + } +}); diff --git a/pkgdown.yml b/pkgdown.yml index e4a7394..3bb5b57 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -1,8 +1,8 @@ pandoc: 3.1.11 -pkgdown: 2.1.0 +pkgdown: 2.1.1 pkgdown_sha: ~ articles: {} -last_built: 2024-09-13T18:24Z +last_built: 2024-09-25T22:32Z urls: reference: https://poissonconsulting.github.io/dttr2/reference article: https://poissonconsulting.github.io/dttr2/articles diff --git a/reference/NA_Date_.html b/reference/NA_Date_.html index 14ca4cb..d065447 100644 --- a/reference/NA_Date_.html +++ b/reference/NA_Date_.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -55,7 +55,7 @@ Format< diff --git a/reference/NA_POSIXct_.html b/reference/NA_POSIXct_.html index 1995b1e..b8785b3 100644 --- a/reference/NA_POSIXct_.html +++ b/reference/NA_POSIXct_.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -55,7 +55,7 @@ Format< diff --git a/reference/NA_hms_.html b/reference/NA_hms_.html index 1cb9e73..7695a77 100644 --- a/reference/NA_hms_.html +++ b/reference/NA_hms_.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -55,7 +55,7 @@ Format< diff --git a/reference/check_tz.html b/reference/check_tz.html index 7f00b42..23f8e4d 100644 --- a/reference/check_tz.html +++ b/reference/check_tz.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -90,7 +90,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/chk_time.html b/reference/chk_time.html index 87c1c40..4193e7b 100644 --- a/reference/chk_time.html +++ b/reference/chk_time.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -68,7 +68,7 @@ See alsoExamples chk_time(hms::as_hms("10:00:10")) try(chk_time(1)) -#> Error in eval(expr, envir, enclos) : +#> Error in eval(expr, envir) : #> `1` must be a time (non-missing hms::hms scalar). @@ -81,7 +81,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt.html b/reference/dtt.html index 0e40ec6..016f321 100644 --- a/reference/dtt.html +++ b/reference/dtt.html @@ -9,7 +9,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -49,7 +49,7 @@ diff --git a/reference/dtt_add_units.html b/reference/dtt_add_units.html index ee6c073..e6611ad 100644 --- a/reference/dtt_add_units.html +++ b/reference/dtt_add_units.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -100,7 +100,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt_adjust_tz.html b/reference/dtt_adjust_tz.html index 3e25580..b803368 100644 --- a/reference/dtt_adjust_tz.html +++ b/reference/dtt_adjust_tz.html @@ -11,7 +11,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -99,7 +99,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt_adjust_units.html b/reference/dtt_adjust_units.html index 2c250d9..c3bc929 100644 --- a/reference/dtt_adjust_units.html +++ b/reference/dtt_adjust_units.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -85,7 +85,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt_aggregate.html b/reference/dtt_aggregate.html index b4f5f24..9f85ec0 100644 --- a/reference/dtt_aggregate.html +++ b/reference/dtt_aggregate.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -99,7 +99,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt_complete.html b/reference/dtt_complete.html index 64b12b1..5d57e1b 100644 --- a/reference/dtt_complete.html +++ b/reference/dtt_complete.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -139,7 +139,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt_completed.html b/reference/dtt_completed.html index 9b0a23d..c741896 100644 --- a/reference/dtt_completed.html +++ b/reference/dtt_completed.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -101,7 +101,7 @@ See also diff --git a/reference/dtt_date.html b/reference/dtt_date.html index 98177f4..c36354a 100644 --- a/reference/dtt_date.html +++ b/reference/dtt_date.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -146,7 +146,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt_date_add_time.html b/reference/dtt_date_add_time.html index c406bf1..8ab51eb 100644 --- a/reference/dtt_date_add_time.html +++ b/reference/dtt_date_add_time.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -86,7 +86,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt_date_from_ints.html b/reference/dtt_date_from_ints.html index 2a0c09e..de5a033 100644 --- a/reference/dtt_date_from_ints.html +++ b/reference/dtt_date_from_ints.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -121,7 +121,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt_date_time.html b/reference/dtt_date_time.html index 189692d..0d5efbd 100644 --- a/reference/dtt_date_time.html +++ b/reference/dtt_date_time.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -130,7 +130,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt_date_time_from_ints.html b/reference/dtt_date_time_from_ints.html index 286b4d7..8b9e485 100644 --- a/reference/dtt_date_time_from_ints.html +++ b/reference/dtt_date_time_from_ints.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -151,7 +151,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt_day.html b/reference/dtt_day.html index a204d27..0f078a7 100644 --- a/reference/dtt_day.html +++ b/reference/dtt_day.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -127,7 +127,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt_day_decimal.html b/reference/dtt_day_decimal.html index 5e95ad1..6173f23 100644 --- a/reference/dtt_day_decimal.html +++ b/reference/dtt_day_decimal.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -98,7 +98,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt_days_in_month.html b/reference/dtt_days_in_month.html index bbe516a..4af0491 100644 --- a/reference/dtt_days_in_month.html +++ b/reference/dtt_days_in_month.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -76,7 +76,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt_days_in_year.html b/reference/dtt_days_in_year.html index c9cd2bd..9689388 100644 --- a/reference/dtt_days_in_year.html +++ b/reference/dtt_days_in_year.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -76,7 +76,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt_dayte.html b/reference/dtt_dayte.html index 4d571e4..8ccf09f 100644 --- a/reference/dtt_dayte.html +++ b/reference/dtt_dayte.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -97,7 +97,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt_dayte_time.html b/reference/dtt_dayte_time.html index 0370a84..012b461 100644 --- a/reference/dtt_dayte_time.html +++ b/reference/dtt_dayte_time.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -106,7 +106,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt_daytt.html b/reference/dtt_daytt.html index 864a218..face4f9 100644 --- a/reference/dtt_daytt.html +++ b/reference/dtt_daytt.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -74,7 +74,7 @@ See also diff --git a/reference/dtt_decade.html b/reference/dtt_decade.html index e84e248..095351b 100644 --- a/reference/dtt_decade.html +++ b/reference/dtt_decade.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -81,7 +81,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt_default_tz.html b/reference/dtt_default_tz.html index e2894f8..994010e 100644 --- a/reference/dtt_default_tz.html +++ b/reference/dtt_default_tz.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -99,7 +99,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt_diff.html b/reference/dtt_diff.html index aeb76f0..fc167b4 100644 --- a/reference/dtt_diff.html +++ b/reference/dtt_diff.html @@ -11,7 +11,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -94,7 +94,7 @@ Examples - Site built with pkgdown 2.1.0. + Site built with pkgdown 2.1.1. diff --git a/reference/dtt_doy.html b/reference/dtt_doy.html index b932384..ea4c95c 100644 --- a/reference/dtt_doy.html +++ b/reference/dtt_doy.html @@ -7,7 +7,7 @@ dttr2 - 0.5.1 + 0.5.2 @@ -69,7 +69,7 @@ See also Examples dtt_doy(Sys.Date()) -#> [1] 257 +#> [1] 269
Site built with pkgdown 2.1.0.
Site built with pkgdown 2.1.1.
Thorley J, Pearson A (2024). dttr2: Manipulate Date, POSIXct and hms Vectors. -R package version 0.5.1, +R package version 0.5.2, https://poissonconsulting.github.io/dttr2/, https://github.com/poissonconsulting/dttr2.
@Manual{, title = {dttr2: Manipulate Date, POSIXct and hms Vectors}, author = {Joe Thorley and Ayla Pearson}, year = {2024}, - note = {R package version 0.5.1, + note = {R package version 0.5.2, https://poissonconsulting.github.io/dttr2/}, url = {https://github.com/poissonconsulting/dttr2}, }
CRAN release: 2024-09-13
chk_time(hms::as_hms("10:00:10")) try(chk_time(1)) -#> Error in eval(expr, envir, enclos) : +#> Error in eval(expr, envir) : #> `1` must be a time (non-missing hms::hms scalar).
dtt_doy(Sys.Date()) -#> [1] 257 +#> [1] 269