Closed bdwyer2 closed 6 years ago
Build triggered.
Unit test failed.
1. Error: scoring (@test-ml.model.mlogit.R#196) --------------------------------
attempt to apply non-function
1: predict(iris_log_reg, test) at testthat/test-ml.model.mlogit.R:196
2: (function (classes, fdef, mtable)
{
methods <- .findInheritedMethods(classes, fdef, mtable)
if (length(methods) == 1L)
return(methods[[1L]])
else if (length(methods) == 0L) {
cnames <- paste0("\"", vapply(classes, as.character, ""), "\"", collapse = ", ")
stop(gettextf("unable to find an inherited method for function %s for signature %s",
sQuote(fdef@generic), sQuote(cnames)), domain = NA)
}
else stop("Internal error in finding inherited methods; didn't return a unique method",
domain = NA)
})(list(structure("r4ml.mlogit", package = "R4ML")), structure(function (object,
...)
standardGeneric("predict"), generic = structure("predict", package = "stats"), package = "stats", group = list(), valueClass = character(0), signature = "object", default = structure(function (object,
...)
UseMethod("predict"), target = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), defined = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), generic = structure("predict", package = "stats"), class = structure("derivedDefaultMethod", package = "methods")), skeleton = (structure(function (object,
...)
UseMethod("predict"), target = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), defined = structure("ANY", class = structure("signature", package = "methods"), .Names = "object", package = "methods"), generic = structure("predict", package = "stats"), class = structure("derivedDefaultMethod", package = "methods")))(object,
...), class = structure("standardGeneric", package = "methods")), <environment>)
3: .findInheritedMethods(classes, fdef, mtable)
4: .newSignature(classes, fdef@signature)
5: .asS4(structure(as.character(classes)[i], class = .signatureClassName, names = as.character(names)[i],
package = pkgs))
6: asS4(object, TRUE, 0L)
7: structure(as.character(classes)[i], class = .signatureClassName, names = as.character(names)[i],
package = pkgs)
8: "factor" %in% attrib[["class", exact = TRUE]]
9: match(x, table, nomatch = 0L)
10: (function (x)
x$.self$finalize())(<environment>)
Error in signalCondition(e) :
no function to return from, jumping to top level
Calls: <Anonymous> -> .handleSimpleError -> h -> signalCondition
In addition: Warning message:
WARN[r4ml.session]: driver.memory not defined. Defaulting to 2G
Jenkins, retest this please
Build triggered.
Build success. All unit tests passed.
Build triggered.
Build success. All unit tests passed.
Build triggered.
Build success. All unit tests passed.
Build triggered.
Build success. All unit tests passed.
Build triggered.
Build success. All unit tests passed.
Build triggered.
Build success. All unit tests passed.
Build triggered.
Build success. All unit tests passed.
Developer's Certificate of Origin 1.1