screen_forbidden: screen_forbidden

screen_forbiddenR Documentation

screen_forbidden

Description

Screen a function for use of functions forbidden by data system style guide.

Usage

screen_forbidden(fn)

Arguments

fn

The function to be tested. This is the actual function object, not the name of the function.

Details

Certain functions are forbidden by the dsr style guide from being used in code chunks. This function tests a function for calls to forbidden functions and flags the offending lines.

Value

Nx2 Character matrix of flagged lines and the test that tripped them (empty vector, if none)

Author(s)

RL 19 Apr 2017


JGCRI/gcamdata documentation built on March 21, 2023, 2:19 a.m.