Skip to content

Failure with dev testthat #138

@hadley

Description

@hadley

I see this error

   ── Error ('test-prism_archive_clean.R:51:3'): prism_archive_clean() works ──────
   Error in `expect_setequal(prism_archive_clean("ppt", "daily", years = 2020), day_delete)`: `object` must be a vector, not `NULL`.
   Backtrace:
       ▆
    1. └─testthat::expect_setequal(object = prism_archive_clean("ppt", "daily", years = 2020)) at test-prism_archive_clean.R:51:3
    2.   └─testthat:::check_vector(object)
    3.     └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call)
    4.       └─rlang::abort(message, ..., call = call, arg = arg)

I can't see any obvious way that it's due to changes in testthat, but I wanted to let you know. We're going to submit testhat to CRAN on Nov 10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions