Whilst running the roxygenize()
command from the roxygen2
package in R, I get the message:
Error in get(fun, mode = "function", envir = parent.frame()) :
object '22' of mode 'function' was not found
Any ideas how to debug this message would be appreciated. I've tried grepping my package for '22', but nothing relevant comes up. Traceback is also unhelpful (gives traceback through roxygen2 functions rather than my package):
6: get(fun, mode = "function", envir = parent.frame())
5: formals(partitum$object$value)
4: roclet_rd_one(partitum, base_path)
3: roc_process.had(roc, parsed, base_path, options = options)
2: roc_process(roc, parsed, base_path, options = options)
1: roxygenize("myPackage")
Any advice greatly appreciated - thanks.