aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2016-06-17 14:33:28 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2016-06-17 14:33:28 +0200
commit2ca43bb78294dd2dc85816a0e90d4e7d869a86a8 (patch)
tree54608655ecc19833ee1743d1fa186c95850789e9 /R
parentcb611bf3e1603d0e1636d32016e53c8a3498a0a0 (diff)
Change the title of the package, small bugfix
Diffstat (limited to 'R')
-rw-r--r--R/mkinfit.R2
1 files changed, 1 insertions, 1 deletions
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.")
}

Contact - Imprint