breedR.getOption('splines.nok') points to a default internal function determine.n.knots().
However, this function is hard-coded into breedR, and it does not really look at the option value (see splines.R).
Fix this to allow for user-specified functions
Document in ?breedR.option the required inputs and outputs of any alternative function
Write some unit tests to verify that alternative specifications work
breedR.getOption('splines.nok')
points to a default internal functiondetermine.n.knots()
. However, this function is hard-coded into breedR, and it does not really look at the option value (see splines.R).?breedR.option
the required inputs and outputs of any alternative function