Description Usage Arguments Details Value Examples
The expression is checked for stricter conditions on compatible arguments; if the conditions fail an error or warning is issued. If no error is issued, the expression's value is returned.
1 2 | withStrictOps(expr, attach)
strictOp(expr, warnOnly = FALSE, errorCall)
|
expr |
For |
attach |
No longer supported in CRAN, because of restriction added long after this package was written. Used to be: Optional argument, only examined if |
warnOnly |
If |
errorCall |
Optional argument for internal use, supplying the expression to be used in error messages as the original call. |
The functions apply the stricter rules for compatibility given in section 7.1 of “Software for Data Analysis”.
Calling withStrictOps
evaluates an arbitrary expression with an environment containing strict versions of all the relevant operators.
Calling withStrictOps
with no arguments attaches this environment to the search list, overriding the base versions of the operators. If the expressions pass the strict rules, evaluation is passed on to the corresponding base package version of the operator.
the value of expr
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.