diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2016-06-17 14:33:28 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2016-06-17 14:33:28 +0200 |
commit | 2ca43bb78294dd2dc85816a0e90d4e7d869a86a8 (patch) | |
tree | 54608655ecc19833ee1743d1fa186c95850789e9 /R | |
parent | cb611bf3e1603d0e1636d32016e53c8a3498a0a0 (diff) |
Change the title of the package, small bugfix
Diffstat (limited to 'R')
-rw-r--r-- | R/mkinfit.R | 2 |
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.")
}
|