Skip to content

Commit

Permalink
Improved error message for detectSingleOut
Browse files Browse the repository at this point in the history
  • Loading branch information
BartJanvanRossum committed Aug 6, 2021
1 parent 13704a2 commit bbac1f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/detectSingleOut.R
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ detectSingleOut <- function(TP,
plotPreds <- lapply(X = TPPlot, FUN = function(plotDat) {
## Only makes sense for at least 6 time points.
if (nrow(plotDat) <= 6) {
warning("Not enough data points (<= 6) to fit a model for: ",
warning("Not enough data points (at least 7) to fit a model for: ",
plotDat[1, "plotId"], ".\n", call. = FALSE)
return(NULL)
}
Expand Down

0 comments on commit bbac1f2

Please sign in to comment.