codeSmellsChecker: Function which scans any code file, and checks it for various...

View source: R/codeSmellsChecker.R

codeSmellsCheckerR Documentation

Function which scans any code file, and checks it for various code conventions

Description

Function which scans any code file, and checks it for various code conventions

Usage

codeSmellsChecker(codePath, lineLengThresh = 100)

Arguments

codePath

: path to file to be checked

lineLengThresh

: desired soft max for line length Things checked for

  • un-spaced commas

  • un-spaced operators

  • excessively long lines


Argel-Tal/NZPoliceUtilities documentation built on Dec. 9, 2022, 1:40 p.m.