tests/testthat/_snaps/rd-raw.md

error-ful evalRd generates warning

Code
  expect_parse_failure(roxy_tag_eval(roxy_test_tag(val = 1)))
Output
  <warning/rlang_warning>
  Warning:
  [test.R:1] @test must evaluate to a character vector
Code
  expect_parse_failure(roxy_tag_eval(roxy_test_tag(val = NA_character_)))
Output
  <warning/rlang_warning>
  Warning:
  [test.R:1] @test must not contain any missing values
Code
  expect_parse_failure(roxy_tag_eval(roxy_test_tag(val = quote(stop("Uhoh")))))
Output
  <warning/rlang_warning>
  Warning:
  [test.R:1] @test failed to evaluate
  Caused by error:
  ! Uhoh


Try the roxygen2 package in your browser

Any scripts or data that you put into this service are public.

roxygen2 documentation built on Dec. 9, 2022, 1:09 a.m.