Skip to content

Commit c4ea09e

Browse files
mark base signal mechanisms as undesirable (#6989)
1 parent 92d74df commit c4ea09e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.ci/.lintr.R

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ linters = c(dt_linters, all_linters(
1616
# system_time_linter = undesirable_function_linter(c(
1717
# system.time = "Only run timings in benchmark.Rraw"
1818
# )),
19+
undesirable_function_linter(c(
20+
cat = "Use catf to enable translations",
21+
message = "Use messagef to avoid fragmented translations.",
22+
warning = "Use warningf to avoid fragmented translations.",
23+
stop = "Use stopf to avoid fragmented translations.",
24+
NULL
25+
)),
1926
# undesirable_function_linter(modify_defaults(
2027
# default_undesirable_functions,
2128
# ifelse = "Use fifelse instead.",

0 commit comments

Comments
 (0)