From 2ca43bb78294dd2dc85816a0e90d4e7d869a86a8 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 17 Jun 2016 14:33:28 +0200 Subject: Change the title of the package, small bugfix --- R/mkinfit.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'R') diff --git a/R/mkinfit.R b/R/mkinfit.R index 2302544b..c6b6915c 100644 --- a/R/mkinfit.R +++ b/R/mkinfit.R @@ -121,7 +121,7 @@ mkinfit <- function(mkinmod, observed, # Do not allow fixing formation fractions if we are using the ilr transformation, # this is not supported if (transform_fractions == TRUE && length(fixed_parms) > 0) { - if (grepl("^f_", fixed_parms)) { + if (any(grepl("^f_", fixed_parms))) { stop("Fixing formation fractions is not supported when using the ilr ", "transformation.") } -- cgit v1.2.1