validate_code: Analyse code structure for critical issues

View source: R/validate_code.R

validate_codeR Documentation

Analyse code structure for critical issues

Description

This function analyses the code structure using the concept of graphs. At the moment the function is a beta version

Usage

validate_code(functional_structure)

Arguments

functional_structure

A list, the functional structure calculate from create_list_of_functional_structure()

Value

flag An integer. 0 = everything ok, 1 = warnings, -1 = bugs.

Examples

functional_structure <- badhacker::create_list_of_functional_structure(filenames, paths)
validate_code(functional_structure)

ims-fhs/badhacker documentation built on March 21, 2022, 7:50 a.m.