Repository navigation
test: Fix test-bind-nonfinite.R on R < 4.3 and on servers without local infile - #648
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd5PUWgaCJzotWt9NhJ
…_infile off (#647) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd5PUWgaCJzotWt9NhJ
as.Date() for R < 4.3test-bind-nonfinite.R on R < 4.3 and on servers without local infile
Accepted limitationsThe clean review found nothing above Low for the
Generated by Claude Code |
|
The red "macos-latest (release) mysql_config" job on f6876c4 (job) is #651, not this PR. The server stops accepting connections during the #621 interrupt test in Generated by Claude Code |
|
Full-matrix result for f6876c4 (run 46293140156), read from the job logs:
Two failures are not this PR's:
Generated by Claude Code |
Fixes #647. Test-only changes to
tests/testthat/test-bind-nonfinite.R(from #623 and #636).as.Date()on numbers withoutoriginfails on R < 4.3, whereoriginhas no default, so seven tests errored in the R 4.2 job. All ten such calls now passorigin = "1970-01-01", which gives identical results on R ≥ 4.3,Inf,NAandNaNincluded.LOAD DATA LOCAL INFILEtests errored on the MySQL-server job with "Loading local data is disabled", because the server there haslocal_infileoff.infile_connection()now also skips whenSHOW VARIABLES LIKE 'local_infile'isOFF, astest-dbWriteTable.Ralready does.Tests: the file parses, and a clean review checked the
as.Date()results against the old behavior on R 4.5. The local database server is down, so the suite runs in CI only. I dispatched the full matrix, which includes the R 4.2 and MySQL-server jobs.Accepted limitations
https://claude.ai/code/session_01Hr1rd5PUWgaCJzotWt9NhJ
Generated by Claude Code