warning_flags: Collection of warning flags used when traversing expressions.

Description Usage Arguments Details Functions

View source: R/condition-handling.R

Description

These are flags for turning warnings on or off when traversing expression trees.

Usage

1
2
3
4
5
6
7
8
9

Arguments

flags

Used when setting or unsetting flags.

Details

The flags can be provided to transformation and analysis functions, and be set or unset by the set_/unset_ functions. The meaning of the flags are:

Since R is a very dynamic language, it is not possible to know which local variables might refer to functions and which do not – and R will look for functions if a variable is used as a call and potentially skip past a local variable that refers to a non-function – so the warnings are based on heuristics in identifying local variables and are conservative in the sense that they assume that if a call is to a name that matches a local variable, then it is the local variable that is being called.

Functions


mailund/foolbox documentation built on Jan. 18, 2022, 10:46 a.m.