wQuotes: Interpret shortcuts for 'sQuote()'s and 'dQuote()'s in...

wQuotesR Documentation

Interpret shortcuts for sQuote()s and dQuote()s in character objects

Description

Concatenate character objects and replace double quotes with sQuote() (write ''x'' instead of dQuote("x")) and replace asterisks with dQuote().

Usage

wQuotes(...)

Arguments

...

objects to be passed to strsplit.

Value

A character object.

Author(s)

Carles \Breto

Examples

paste0("in ",sQuote("fn_name"),": ",dQuote("object")," is 'a' required argument")
wQuotes("in ''fn_name'': *object* is 'a' required argument") # same but shorter

cbreto/panelPomp documentation built on Sept. 15, 2024, 10:42 p.m.