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

Description Usage Arguments Value Examples

View source: R/del.R

Description

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

Usage

1
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

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

configr documentation built on July 17, 2020, 5:07 p.m.