config.sections.del {configr}R Documentation

Delete sections in config, just do config[sections] <- NULL

Description

Delete sections in config, just do config[sections] <- NULL

Usage

config.sections.del(config, sections)

Arguments

config

a list of config (eg. generated by read.config)

sections

Sections that need to be deleted

Value

A list of config

Examples

config.json <- system.file('extdata', 'config.json', package = 'configr')
config <- read.config(config.json, file.type = 'json')
config <- config.sections.del(config, 'default')

[Package configr version 0.3.5 Index]