Debian Codegraph @

tests/testthat/_snaps/utils.md

raw
1 # should_stop_for_warnings
2
3 Code
4 should_stop_for_warnings()
5 Condition
6 Error in `get_config_flag_value()`:
7 ! The `pkg.build_stop_for_warnings` option must be `TRUE` or `FALSE`, if set.
8
9 ---
10
11 Code
12 should_stop_for_warnings()
13 Condition
14 Error in `interpret_envvar_flag()`:
15 ! The `PKG_BUILD_STOP_FOR_WARNINGS` environment variable must be `true` or `false`, if set.
16
17 # should_add_compiler_flags errors
18
19 Code
20 should_add_compiler_flags()
21 Condition
22 Error in `should_add_compiler_flags()`:
23 ! Invalid `pkg.build_extra_flags` option.
24 i It must be `TRUE`, `FALSE` or "missing", not an integer vector.
25
26 ---
27
28 Code
29 should_add_compiler_flags()
30 Condition
31 Error in `should_add_compiler_flags()`:
32 ! Invalid `pkg_build_extra_flags` option.
33 i It must be `TRUE`, `FALSE` or "missing", not "foobar".
34
35 ---
36
37 Code
38 should_add_compiler_flags()
39 Condition
40 Error in `should_add_compiler_flags()`:
41 ! Invalid `PKG_BUILD_EXTRA_FLAGS` environment variable.
42 i Must be one of `true`, `false` or `missing`.
43