vubiostat / redcapAPI

R interface to REDCap (http://www.project-redcap.org/)
21 stars 27 forks source link

Strict date val 369 #386

Closed spgarbet closed 5 months ago

spgarbet commented 5 months ago

For issue #369

obregos commented 5 months ago

Got the following from the test suite this morning:

Error (test-801-changedRecords.R:18:5): Returns records known to change in prior tests
Error in `strptime(x, format, tz = tz)`: invalid 'tz' value
Backtrace:
    ▆
 1. └─redcapAPI::changedRecords(...) at test-801-changedRecords.R:18:5
 2.   ├─redcapAPI::exportLogging(rcon, ...) at redcapAPI/R/changedRecords.R:39:3
 3.   └─redcapAPI:::exportLogging.redcapApiConnection(rcon, ...) at redcapAPI/R/exportLogging.R:78:3
 4.     ├─base::as.POSIXct(...) at redcapAPI/R/exportLogging.R:180:3
 5.     └─base::as.POSIXct.default(...)
 6.       ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
 7.       ├─base::as.POSIXlt(x, tz, ...)
 8.       └─base::as.POSIXlt.character(x, tz, ...)
 9.         └─base::strptime(x, format, tz = tz)

[ FAIL 1 | WARN 0 | SKIP 12 | PASS 2058 ]