[Rd] Possibility of Less Verbose Stack Trace

Dario Strbenac d@tr7320 @end|ng |rom un|@@ydney@edu@@u
Fri Mar 27 11:00:09 CET 2020


Good day,

Is there a setting the user can change to make R CMD check stack traces output less and make it easier to spot the line of code that's the problem? I use R Under development. Part of the trace I see looks like:

 --- R stacktrace ---
where 1: .local(model, test, ...)
where 2: (new("nonstandardGenericFunction", .Data = function (model, test, 
    ...) 
{
    standardGeneric("elasticNetGLMpredictInterface")
}, generic = "elasticNetGLMpredictInterface", package = "ClassifyR", 
    group = list(), valueClass = character(0), signature = c("model", 
    "test"), default = NULL, skeleton = (function (model, test, 
        ...) 
    stop("invalid call in method dispatch to 'elasticNetGLMpredictInterface' (no default method)", 
        domain = NA))(model, test, ...)))(list(a0 = c(6.93889390390723e-18, 
-6.93889390390723e-18, -0.0310874816356895, 0.0310874816356895, 
-0.0620911054955688, 0.0620911054955688, -0.0928473601925787, 
0.0928473601925787, -0.123341821729885, 0.123341821729885, -0.153584353208459, 
0.153584353208459, -0.183545850472993, 0.183545850472993, -0.214085623051265, 
0.214085623051265, -0.248487474466851, 0.248487474466851, -0.28259316439965, 
0.28259316439965, -0.316570319872031, 0.316570319872031, -0.35002247515684, 
0.35002247515684, -0.383505934741196, 0.383505934741196, -0.416591574658365, 
0.416591574658365, -0.449236359758103, 0.449236359758103, -0.481785697995159, 

and hundreds more lines of numbers. R CMD check -h doesn't seem to list any options which could be applicable.

--------------------------------------
Dario Strbenac
University of Sydney
Camperdown NSW 2050
Australia


More information about the R-devel mailing list