jeroen / mongolite

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

fixed json default parameter in run function #144

Closed LRAbbade closed 6 years ago

LRAbbade commented 6 years ago

In line 270 of /R/mongo.R the default parameter for the run function was an invalid json.

run <- function(command = '{"ping: 1}'){
      mongo_collection_command_simple(col, command)
}

Fixed it by adding a " at the end of the key ping

jeroen commented 6 years ago

Thanks! Looks like it's been fixed already.