extract_double_space_nodes: Extract nodes with incorrect double spaces

View source: R/03b_doubleSpaceLinter.R View source: R/03a_additionalLinters.R

extract_double_space_nodesR Documentation

Extract nodes with incorrect double spaces

Description

First collects the locations of the in-text double spaces in a dataframe. Distinguishes between "#" and "#'" in the beginning.

First collects the locations of the in-text double spaces in a dataframe. Distinguishes between "#" and "#'" in the beginning.

Usage

extract_double_space_nodes(comment_nodes)

extract_double_space_nodes(comment_nodes)

Arguments

comment_nodes

Node list extracted with the XPath for Comments/Strings

Value

Node list of valid lints, so invalid double spaces

Node list of valid lints, so invalid double spaces


INWT/INWTUtils documentation built on May 22, 2024, 4:45 p.m.