jeroen / mongolite

Fast and Simple MongoDB Client for R
https://jeroen.github.io/mongolite/
286 stars 65 forks source link

Error: Unimplemented BSON type 14 #142

Closed stevepetersen closed 6 years ago

stevepetersen commented 6 years ago

when accessing a collection with a symbol, the above error is thrown from bson.c line 112.

stevepetersen commented 6 years ago

From 1fe974c366c21e843d76c3812f85b5ed6963cd9b Mon Sep 17 00:00:00 2001 From: Steve Petersen <> Date: Sat, 30 Jun 2018 18:54:29 -0700 Subject: [PATCH] #142 fix: add symbol support


src/bson.c | 2 ++ 1 file changed, 2 insertions(+)

diff --git a/src/bson.c b/src/bson.c index 1f6ac5d..cdfdd10 100644 --- a/src/bson.c +++ b/src/bson.c @@ -106,6 +106,8 @@ SEXP ConvertValue(bson_iter_t* iter){ bson_iter_recurse (iter, &child1); bson_iter_recurse (iter, &child2); return ConvertObject(&child1, &child2);