Skip to content

Failures with dplyr 2.0.0 #4

@hadley

Description

@hadley

dbplyr 2.0.0 removes the lazy evaluation methods for select_() and filter_(). Unfortunately, this was somehow missed by my automated tests and my CRAN submission reveals problems like

  Error in UseMethod("select_") : 
     no applicable method for 'select_' applied to an object of class "c('tbl_SQLiteConnection', 'tbl_dbi', 'tbl_sql', 'tbl_lazy', 'tbl')"

I'm happy to help you find a fix for this problem, but I can't seem to get the basics of your package to work. For example, when I run devtools::test(), I see lots of errors like this:

Error (test-poplite.R:72:5): Create and work with TBSL and Database objects in a basic sense
Error: object 'TeamsFranchises' not found
Backtrace:
 1. poplite::makeSchemaFromData(TeamsFranchises, name = "team_franch") test-poplite.R:72:4

Error (test-poplite.R:138:5): Another, more complex TBSL example based off a sample tracking use case
Error: could not find function "test.db.1"

Error (test-poplite.R:200:5): constraint<- method is sane
Error: object 'sample.tracking' not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions