denamer: Function to extract arguments from an object created by...

View source: R/namer.R

denamerR Documentation

Function to extract arguments from an object created by namer().

Description

Function to extract arguments from an object created by namer().

Usage

denamer(string = NULL, arg = NULL, sep = getOption("sep"))

Arguments

string

A string created by namer().

arg

Which argument should be extracted?

sep

Separator used.

Author(s)

Andreas Scharmueller, andschar@proton.me

Examples

sep = '_'
denamer(
 namer(dir = tempdir(),
        prequel = 'test-prequel',
        arg = list(weight = 12,
                   color = 'white'),
        sep = sep,
        ext = '.png'),
  arg = c('color', 'weight'),
  sep = sep
)


andschar/andmisc documentation built on Jan. 19, 2025, 10:46 a.m.