FCS_check_keywords: FCS Keyword Checker

View source: R/fcs.R

FCS_check_keywordsR Documentation

FCS Keyword Checker

Description

Helper to check that FCS keyword-value pairs are compliant with specifications

Usage

FCS_check_keywords(
  text,
  delimiter,
  version = 3,
  encoding = "UTF-8",
  fun = "warning",
  ...
)

Arguments

text

a named list of keywords values.

delimiter

delimiter used to separate keyword-value pairs. /!\ NOTE that files with 0x00 'delimiter' can _NOT_ be parsed.

version

version to check keywords compliance against. Default is 3.0.

encoding

name of the encoding for raw to character conversion. Default is "UTF-8".

fun

function to execute when mandatory parameters are not met. Default is "warning". Allowed are "stop","warning","message","return".

...

other arguments to be passed.


IFC documentation built on Sept. 14, 2023, 1:08 a.m.