Returns unique (short) names for accessing each file in the repository according to a regular expression. For details about regular expressions, see base::regex.
ghlist(
pattern = ".",
ignore.case = FALSE,
perl = FALSE,
fixed = FALSE,
useBytes = FALSE,
full.names = FALSE
)character vector of short names
character string containing a regular expression
(or character string for fixed = TRUE) to be matched
in the given character vector. Coerced by
as.character to a character string if possible. If a
character vector of length 2 or more is supplied, the first element
is used with a warning. Missing values are allowed except for
regexpr, gregexpr and regexec.
if FALSE, the pattern matching is case
sensitive and if TRUE, case is ignored during matching.
logical. Should Perl-compatible regexps be used?
logical. If TRUE, pattern is a string to be
matched as is. Overrides all conflicting arguments.
logical. If TRUE the matching is done
byte-by-byte rather than character-by-character. See
‘Details’.
logical: should full names returned instead of short names (default: FALSE)