Closed detule closed 1 month ago
Currently:
conn <- dbConnect(odbc::odbc(), dsn = "mssql_oem_db", encoding = NULL )
Error: Expecting a single string value: [type=NULL; extent=0].
> conn <- dbConnect(odbc::odbc(), dsn = "mssql_oem_db", timezone = NULL )
Error: Expecting a single string value: [type=NULL; extent=0].
> conn <- dbConnect(odbc::odbc(), dsn = "mssql_oem_db", timezone_out = NULL )
Error: Expecting a single string value: [type=NULL; extent=0].
> conn <- dbConnect(odbc::odbc(), dsn = "mssql_oem_db", timeout = NULL )
Error in if (is.infinite(timeout)) { : argument is of length zero
There are a number of arguments (
encoding
,timezone
,timeout
, etc ) for whichallow_null
is set toTRUE
on one hand, and on the other we simply pass them through the C/++ layer ( where they are strongly typed ).NULL
( expectRcpp
to complain ).check_*
methods; probably better to throw a nicely formatted error.