-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
R rtools failed to install(build) old archived mongolite_1.6.tar.gz #246
Comments
Can you try a newer version of mongolite? The version you are using did not support R4.2. |
Thank you very much for your reply
Which I believe the package I used is new but our server's mongo db is old, any way to solve this issue? |
OK so it looks like the wire version was bumped in libmongoc 1.21.1: https://github.com/mongodb/mongo-c-driver/releases/tag/1.21.0 If we look at the NEWS file from mongolite this means you need mongolite version 2.4.1 or older. There is no need to go all the way back to 1.6. You can try to install a binary build of 2.4.1 from the CRAN snapshots here: https://cran.microsoft.com/snapshot/2022-03-22/web/packages/mongolite/index.html So you do: install.packages("mongolite", repos = "https://cran.microsoft.com/snapshot/2022-03-22") Or you can try to build it from source from the archive: install.packages('https://cran.r-project.org/src/contrib/Archive/mongolite/mongolite_2.4.1.tar.gz', repos = NULL) |
Sure, thank you very much. |
Hi I think I can successfully connected to our mongodb through the mongolite the version you provided. |
I want to install mongodb in R. Since our production system is using old mongodb, the new R mongolite version couldn't get connect. So I decide to install the old version from archive.
However, my win10 using R 4.2.1 faced 1 critical errors
I already downloaded archived package mongolite_1.6.tar.gz from (https://cran.r-project.org/src/contrib/Archive/mongolite/)
I run the command: (the first argument need to be replaced by your downloaded location of file)
install.packages("~/mongolite_1.6.tar.gz", repos = NULL)
Then I got error message:
My sessionInfo()
The text was updated successfully, but these errors were encountered: