ropensci / sofa

Easy R interface to CouchDB
https://docs.ropensci.org/sofa/
33 stars 17 forks source link

Unit Test Failures Related to db_alldocs, db_bulk_create, db_bulk_get, and Connection Issues #84

Closed YaoxiangLi closed 3 months ago

YaoxiangLi commented 6 months ago

Uultiple unit test failures while running devtools::test() on the sofa package. The issues seem to revolve around db_alldocs, db_bulk_create, db_bulk_get, and general connection problems to 127.0.0.1:5984. Here's a summary of the problems:

  1. db_alldocs tests fail due to the db_test_name object not being found.
  2. db_bulk_create and db_bulk_get tests fail because of connection issues with CouchDB.
  3. Unexpected error messages in tests checking for database existence, expecting "Database does not exist" but getting connection errors.

It appears there might be missing setup instructions for test databases or misconfigurations in test environment settings.