sandbox.pretest: Checking expressions for malicious code

Description Usage Arguments Value

Description

This function tests a character vector of R commands agains a list of banned functions and stops if any found.

Usage

1
2

Arguments

src

character vector of R commands

blacklist

character vector of function names which should be banned

Value

invisibly TRUE if tests passed


Rapporter/sandboxR documentation built on May 9, 2019, 9:21 a.m.