Skip to content

Use quasiquotation #626

@hadley

Description

@hadley

To better support parameterised tests. Should include #524

  • test_that() needs to use enquo() and test_code() needs to use eval_tidy(). Might be root cause of development version of testthat breaks packrat tests #616. This will also need changes to test_rd() and test_example().

  • label() needs to use enexpr() and expr_label() (may need to port multi-line function fix from f7dd41b)

  • expect_* needs to enquo() and then immediately evaluate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancementwipwork in progress

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions