• using R version 2.15.3 (2013-03-01)
  • using platform: i386-apple-darwin9.8.0 (32-bit)
  • using session charset: UTF-8
  • checking for file ‘RMongo/DESCRIPTION’ ... OK
  • checking extension type ... Package
  • this is package ‘RMongo’ version ‘0.0.23’
  • checking package namespace information ... OK
  • checking package dependencies ... OK
  • checking if this is a source package ... OK
  • checking if there is a namespace ... OK
  • checking for executable files ... OK
  • checking whether package ‘RMongo’ can be installed ... OK
  • checking installed package size ... NOTE
    installed size is 5.3Mb
    sub-directories of 1Mb or more:
    java 5.2Mb
  • checking package directory ... OK
  • checking for portable file names ... OK
  • checking for sufficient/correct file permissions ... OK
  • checking DESCRIPTION meta-information ... OK
  • checking top-level files ... OK
  • checking for left-over files ... OK
  • checking index information ... OK
  • checking package subdirectories ... OK
  • checking R files for non-ASCII characters ... OK
  • checking R files for syntax errors ... OK
  • checking whether the package can be loaded ... OK
  • checking whether the package can be loaded with stated dependencies ... OK
  • checking whether the package can be unloaded cleanly ... OK
  • checking whether the namespace can be loaded with stated dependencies ... OK
  • checking whether the namespace can be unloaded cleanly ... OK
  • checking loading without being on the library search path ... OK
  • checking for unstated dependencies in R code ... OK
  • checking S3 generic/method consistency ... OK
  • checking replacement functions ... OK
  • checking foreign function calls ... OK
  • checking R code for possible problems ... OK
  • checking Rd files ... OK
  • checking Rd metadata ... OK
  • checking Rd cross-references ... OK
  • checking for missing documentation entries ... OK
  • checking for code/documentation mismatches ... OK
  • checking Rd \usage sections ... OK
  • checking Rd contents ... OK
  • checking for unstated dependencies in examples ... OK
  • checking examples ... ERROR
    Running examples in ‘RMongo-Ex.R’ failed
    The error most likely occurred in:

    > ### Name: dbAggregate-methods
    > ### Title: Performing a MongoDB aggregate query
    > ### Aliases: dbAggregate dbAggregate-methods
    > ### dbAggregate,RMongo,character,character-method
    >
    > ### ** Examples
    >
    > mongo <- mongoDbConnect("test")
    > # insert two records
    > dbInsertDocument(mongo, "test_data", '{"foo": "bar", "size": 5 }')
    Apr 1, 2013 10:06:00 PM com.mongodb.DBTCPConnector initDirectConnection
    WARNING: Exception executing isMaster command on /127.0.0.1:27017
    java.io.IOException: couldn't connect to [/127.0.0.1:27017] bc:java.net.ConnectException: Connection refused
    at com.mongodb.DBPort._open(DBPort.java:214)
    at com.mongodb.DBPort.go(DBPort.java:107)
    at com.mongodb.DBPort.go(DBPort.java:88)
    at com.mongodb.DBPort.findOne(DBPort.java:143)
    at com.mongodb.DBPort.runCommand(DBPort.java:148)
    at com.mongodb.DBTCPConnector.initDirectConnection(DBTCPConnector.java:548)
    at com.mongodb.Mongo.getMaxBsonObjectSize(Mongo.java:620)
    at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:254)
    at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:226)
    at com.mongodb.DBCollection.insert(DBCollection.java:75)
    at com.mongodb.DBCollection.insert(DBCollection.java:59)
    at com.mongodb.DBCollection.insert(DBCollection.java:104)
    at rmongo.RMongo$$anonfun$dbInsertDocument$1.apply(RMongo.scala:37)
    at rmongo.RMongo$$anonfun$dbInsertDocument$1.apply(RMongo.scala:37)
    at rmongo.RMongo.dbModificationAction(RMongo.scala:50)
    at rmongo.RMongo.dbInsertDocument(RMongo.scala:37)
    Apr 1, 2013 10:06:01 PM com.mongodb.DBTCPConnector initDirectConnection
    WARNING: Exception executing isMaster command on /127.0.0.1:27017
    java.io.IOException: couldn't connect to [/127.0.0.1:27017] bc:java.net.ConnectException: Connection refused
    at com.mongodb.DBPort._open(DBPort.java:214)
    at com.mongodb.DBPort.go(DBPort.java:107)
    at com.mongodb.DBPort.go(DBPort.java:88)
    at com.mongodb.DBPort.findOne(DBPort.java:143)
    at com.mongodb.DBPort.runCommand(DBPort.java:148)
    at com.mongodb.DBTCPConnector.initDirectConnection(DBTCPConnector.java:548)
    at com.mongodb.DBTCPConnector.checkMaster(DBTCPConnector.java:527)
    at com.mongodb.DBTCPConnector.say(DBTCPConnector.java:174)
    at com.mongodb.DBTCPConnector.say(DBTCPConnector.java:155)
    at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:270)
    at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:226)
    at com.mongodb.DBCollection.insert(DBCollection.java:75)
    at com.mongodb.DBCollection.insert(DBCollection.java:59)
    at com.mongodb.DBCollection.insert(DBCollection.java:104)
    at rmongo.RMongo$$anonfun$dbInsertDocument$1.apply(RMongo.scala:37)
    at rmongo.RMongo$$anonfun$dbInsertDocument$1.apply(RMongo.scala:37)
    at rmongo.RMongo.dbModificationAction(RMongo.scala:50)
    at rmongo.RMongo.dbInsertDocument(RMongo.scala:37)
    Apr 1, 2013 10:06:01 PM com.mongodb.DBPortPool gotError
    WARNING: emptying DBPortPool to /127.0.0.1:27017 b/c of error
    java.io.IOException: couldn't connect to [/127.0.0.1:27017] bc:java.net.ConnectException: Connection refused
    at com.mongodb.DBPort._open(DBPort.java:214)
    at com.mongodb.DBPort.go(DBPort.java:107)
    at com.mongodb.DBPort.go(DBPort.java:84)
    at com.mongodb.DBPort.say(DBPort.java:79)
    at com.mongodb.DBTCPConnector.say(DBTCPConnector.java:181)
    at com.mongodb.DBTCPConnector.say(DBTCPConnector.java:155)
    at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:270)
    at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:226)
    at com.mongodb.DBCollection.insert(DBCollection.java:75)
    at com.mongodb.DBCollection.insert(DBCollection.java:59)
    at com.mongodb.DBCollection.insert(DBCollection.java:104)
    at rmongo.RMongo$$anonfun$dbInsertDocument$1.apply(RMongo.scala:37)
    at rmongo.RMongo$$anonfun$dbInsertDocument$1.apply(RMongo.scala:37)
    at rmongo.RMongo.dbModificationAction(RMongo.scala:50)
    at rmongo.RMongo.dbInsertDocument(RMongo.scala:37)
    Error in .jcall(rmongo.object@javaMongo, "S", "dbInsertDocument", collection, :
    com.mongodb.MongoException$Network: can't say something
    Calls: dbInsertDocument -> dbInsertDocument -> .jcall -> .jcheck -> .Call
    Execution halted
  • elapsed time (check, wall clock): 0:33