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

View source: R/del.R

config.sections.delR 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')

Miachol/configr documentation built on July 22, 2023, 9:55 a.m.