Skip to content

Cannot open databases any more #3225

Description

@lukeholman

Hi,

I recently updated dplyr, and it seems to have broken my code for accessing a database that I have on my local disk.

Trying to connect to the database with:

my_db <- src_sqlite("my_database.db")

Gives the error message: "Error: Condition message must be a string."

I can connect fine using DBI via the command:

con <- DBI::dbConnect(RSQLite::SQLite(), "my_database.db")

This suggests my database is still accessible and working fine. In light of the documentation for the new dbplyr package, I thought that maybe I could access the tables using

tbl(con, "name_of_table")

But this does not work, even though the tables all appear fine when I type dbListTables(con). I get the same error message, "Error: Condition message must be a string."

Any ideas?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviorverbs 🏃‍♀️

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions