This helper calls preprocess_header() for each matching file in
dir and returns a named list with the path as the keys and the
preprocessed text as the values.
Arguments
- dir
Directory where header files will be searched.
- recursive
Logical; whether to search recursively.
- pattern
File name pattern(s) used to identify header files.
- cc
Compiler string; passed to
preprocess_header.- ccflags
Compiler flags; passed to
preprocess_header.- ...
Arguments passed on to
parse_r_include_headerspreprocessRun the C preprocessor (using R's configured CC) on header files before parsing. Defaults to
FALSE.include_dirsAdditional directories to add to the include path for preprocessing. A character vector of directories.