From d5cfd78714746a81526ef4cc4bdb5cec19a0693a Mon Sep 17 00:00:00 2001 From: Dirk Eddelbuettel Date: Mon, 25 Nov 2024 09:14:17 -0600 Subject: [PATCH] Adjust format to not tickle change in R-devel (closes #1347) (#1348) --- ChangeLog | 3 +++ inst/tinytest/test_date.R | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d94fd8dcd..ab1ecef36 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,9 @@ * DESCRIPTION (Version, Date): Roll micro version to 1.0.13.6 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem + * inst/tinytest/test_date.R: Minor adjustment to datetime format test + following R Dev Day change for R bug 17350 (and issue #1347 here) + 2024-11-25 Simon Guest * src/attributes.cpp: fix CPP source having to be writable diff --git a/inst/tinytest/test_date.R b/inst/tinytest/test_date.R index 84891ae55..a24e2668f 100644 --- a/inst/tinytest/test_date.R +++ b/inst/tinytest/test_date.R @@ -194,7 +194,7 @@ expect_equal(Datetime_format(d,"%Y-%m-%d %H:%M:%S"), format(d, "%Y-%m-%d %H:%M:%OS"), info="Datetime.formating.default") expect_equal(Datetime_format(d, "%Y/%m/%d %H:%M:%S"), - format(d, "%Y/%m/%d %H:%M:%OS"), + format(d, "%Y/%m/%d %H:%M:%OS6"), info="Datetime.formating.given.format") expect_equal(Datetime_ostream(d), format(d, "%Y-%m-%d %H:%M:%OS"),