add_quotes_if_has_spaces: Add quotes around the string if it contains spaces.

Description Usage Arguments Value Author(s) Examples

View source: R/add_quotes_if_has_spaces.R

Description

Add quotes around the string if it contains spaces. Does nothing if the string contains no spaces. This is used for filenames

Usage

1

Arguments

filename

a filename

Value

a filename. If the filename did not contain spaces, it is returned as-is. If the filename did contain spaces, the filename is surrounded by quotes

Author(s)

Richèl J.C. Bilderbeek

Examples

1
2

beastier documentation built on Sept. 19, 2021, 5:06 p.m.