Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Latest commit

 

History

History
18 lines (14 loc) · 229 Bytes

03-from-tests.md

File metadata and controls

18 lines (14 loc) · 229 Bytes

Challenge: Create a reprex from a test

Objectives:

  • Find the tests of a function.
  • Understand the structure of a test.
reprex(..., {
  code
})

# similar
test_that(..., {
  code
})
  • Turn a test into a reprex.