find_globals: Find unassigned global variables.

Description Usage Arguments Details Value

Description

This funciton sources files and loads objects into an environment and then runs codetools::findGlobals on the environment.

Usage

1
find_globals(source_files, object_files = c())

Arguments

source_files

R files containing globals to exclude such as function declarations.

object_files

Rdata files that contain globals to exclude.

Details

NOTE: Globals are determined for the main() function only!

Value

A list of globals without assignments.


jmousseau/slurm documentation built on May 19, 2019, 1:55 p.m.