1/*
2  Warnings for R keywords, built-in names and bad names.
3*/
4
5#define RKW(x) %keywordwarn("'" `x` "' is a R keyword, renaming to '_" `x`"'", rename="_%s")  `x`
6
7/*
8  Warnings for R reserved words taken from
9  http://cran.r-project.org/doc/manuals/R-lang.html#Reserved-words
10*/
11
12RKW(if);
13RKW(else);
14RKW(repeat);
15RKW(while);
16RKW(function);
17RKW(for);
18RKW(in);
19RKW(next);
20RKW(break);
21RKW(TRUE);
22RKW(FALSE);
23RKW(NULL);
24RKW(Inf);
25RKW(NaN);
26RKW(NA);
27RKW(NA_integer_);
28RKW(NA_real_);
29RKW(NA_complex_);
30RKW(NA_character_);
31
32#undef RKW
33