Hi @slodge, there are actually two current versions of RODBC on CRAN right now, one older and one newer. Package Manager just doesn't distinguish between them well in the UI, and we're aware of this and hope to fix it in an upcoming release.
Usually CRAN does this when there's a new version of some important package that drops support for older versions of R. I assume it's the same here, as RODBC 1.3-21 now depends on R >= 4.0, while they've kept the older 1.3-16 version under an /Older path to maintain support for R 3.x.
As for the renv issue, I'm not exactly sure about that, but this dual current package issue has caused issues with other package installation tools in the past, like pak with XML a while back, specifically on Package Manager.
Can you post more details about the renv issue? How you're installing RODBC, an installation log, your R version, etc?
Our setup is a bit confusing as I'm in the middle of updating 50+ repos from R4.2 to R4.3, plus trying to update them all to renv to 1.0.2 at the same time. I'm starting on Windows - but then our CI server is an Ubuntu docker container...
I've reset our environment and done some digging...
Still testing here... and everything seems to be working...
Not entirely sure what's changed (as I've gone back to git commit that failed earlier)
I had loaded renv 1.0.2, CRAN was set to https://packagemanager.posit.co/cran/latest, current RODBC version was "1.3-19" and the error message was missing/404 when downloading from CRAN
I'm really sorry I don't have the log from these earlier sessions... By this point in my career I really should have learned this lesson.
I'm signing off for the evening now... will take another look in the fresh light of day tomorrow...
For now, please don't look any further (although if you do have any idea what might have caused this...)
@slodge No worries, glad it's resolved now for whatever reason, and this has still been useful feedback. Let us know if you ever figure out what the issue was.
Trying to run an rsconnect::writeManifest which now calls into renv and seeing:
ℹ Capturing R dependencies with renv
✔ Found 154 dependencies
Error in `createAppManifest()`:
! All packages must be installed from a reproducible location.
✖ Can't re-install packages installed from source: RODBC.
ℹ See `rsconnect::appDependencies()` for more details.
Run `rlang::last_trace()` to see where the error occurred.