Closed detule closed 11 months ago
Simon,
As another data-point:
If you take a look at the CRAN install log for the package: https://www.r-project.org/nosvn/R.check/r-release-macos-x86_64/odbc-00install.html you can see numerous deprecation warnings for essentially all of the ODBC API. I think these deprecation warnings are (only) part of the SQL headers that ship with iODBC.
Appreciate the amount of time you have invested in this, hope we can work together to see this through.
The example above fails with
> library(odbc)
> conn <- DBI::dbConnect(odbc::odbc(), dsn="mssql_oem_db", uid="<snip>", pwd="<snip>", Encrypt="No")
Error: nanodbc/nanodbc.cpp:1135: 00000: [unixODBC][Driver Manager]Data source name not found and no default driver specified
so it is not very helpful nor reproducible.
As noted in the PR, the issue has been fixed as far as I can tell. However, the odbc
package has not been updated for months so it has not used the new library set. I have triggered a manual re-build, but given the lack of a reproducible example we can only hope that it addresses the issue.
Thanks Simon -
The CRAN install log looks clean now / no deprecation warnings. Looks like the right headers are being picked up. Appreciate your help.
Hi @s-u This is a follow up to both https://github.com/R-macos/recipes/issues/41 and https://github.com/R-macos/recipes/pull/46
When you closed the pull request you asked for the issue to be reproduced with the CRAN [R] build. Please see below:
Expectation is that the result from the retrieved query is
abcdefghi
.I am trying not to get into debugging issues specific to
package:odbc
- happy to pursue those elsewhere. If you can confirm that the SQL odbc headers provided byunixODBC
are not being clobbered over byiODBC
on the build server, I will stop bugging you.Thanks