mirror of
https://github.com/msberends/AMR.git
synced 2024-12-26 06:46:11 +01:00
Merge branch 'master' into premaster
This commit is contained in:
commit
1058da6d94
6
R/mo.R
6
R/mo.R
@ -1217,11 +1217,11 @@ exec_as.mo <- function(x,
|
|||||||
if (NROW(uncertainties) > 0 & initial_search == TRUE) {
|
if (NROW(uncertainties) > 0 & initial_search == TRUE) {
|
||||||
options(mo_uncertainties = as.list(distinct(uncertainties, input, .keep_all = TRUE)))
|
options(mo_uncertainties = as.list(distinct(uncertainties, input, .keep_all = TRUE)))
|
||||||
|
|
||||||
plural <- c("value", "it")
|
plural <- c("", "it")
|
||||||
if (NROW(uncertainties) > 1) {
|
if (NROW(uncertainties) > 1) {
|
||||||
plural <- c("values", "them")
|
plural <- c("s", "them")
|
||||||
}
|
}
|
||||||
msg <- paste0("\nResults of ", nr2char(NROW(uncertainties)), " ", plural[1],
|
msg <- paste0("\nResult", plural[1], " of ", nr2char(NROW(uncertainties)), " value", plural[1],
|
||||||
" was guessed with uncertainty. Use mo_uncertainties() to review ", plural[2], ".")
|
" was guessed with uncertainty. Use mo_uncertainties() to review ", plural[2], ".")
|
||||||
warning(red(msg),
|
warning(red(msg),
|
||||||
call. = FALSE,
|
call. = FALSE,
|
||||||
|
Loading…
Reference in New Issue
Block a user