From 50158c6f3487a32974c7a1fef4288dac4167be74 Mon Sep 17 00:00:00 2001 From: Henrik Bengtsson Date: Sat, 6 Apr 2024 11:22:12 -0700 Subject: [PATCH] mistake in fix --- R/options.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/options.R b/R/options.R index 745b4edf..570cd417 100644 --- a/R/options.R +++ b/R/options.R @@ -96,7 +96,7 @@ stopf <- function(fmt, ..., call. = TRUE, domain = NULL) { stop(cond) } -trim <- function(x) { +trim <- function(s) { sub("[\t\n\f\r ]+$", "", sub("^[\t\n\f\r ]+", "", s)) }