nbReadAndValidate: Validate a network description file

View source: R/netblockr.R

nbReadAndValidateR Documentation

Validate a network description file

Description

Note that there is currently no check for duplicate NetBlocks, that can be done externally Avoid a spectacular crash due to missing netmask

Usage

nbReadAndValidate(file, skip_lines = 0, quiet = FALSE)

Arguments

file

Path to the input file

skip_lines

Optional number of lines to skip, use if there is an uncommented header

Value

A list of data frames, validatedNets and bad_data The input can contain empty rows. A '#' in the NetBlock field will cause that row to be ignored.


meekj/netblockr documentation built on Sept. 9, 2023, 9:37 p.m.