a4ahcxval() throws an error:
Error in h(simpleError(msg, call)) : error in evaluating the argument 'object' in selecting a method for function 'FLStocks': assignment of an object of class “character” is not valid for @‘range’ in an object of class “FLStock”; is(value, "numeric") is not TRUE
maybe replace lines 148 -149 in xval.R with:
stocks <- FLStocks(lapply(names(stocks), function(x) window(stocks[[x]], end=an(x))))
Thank you,
Danai