tests/testthat/_snaps/utils.md

should_add_compiler_flags errors

Code
  should_add_compiler_flags()
Condition
  Error in `should_add_compiler_flags()`:
  ! Invalid `pkg.build_extra_flags` option.
  i It must be `TRUE`, `FALSE` or "missing", not an integer vector.
Code
  should_add_compiler_flags()
Condition
  Error in `should_add_compiler_flags()`:
  ! Invalid `pkg_build_extra_flags` option.
  i It must be `TRUE`, `FALSE` or "missing", not "foobar".
Code
  should_add_compiler_flags()
Condition
  Error in `should_add_compiler_flags()`:
  ! Invalid `PKG_BUILD_EXTRA_FLAGS` environment variable.
  i Must be one of `true`, `false` or `missing`.


Try the pkgbuild package in your browser

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

pkgbuild documentation built on June 24, 2024, 5:18 p.m.