Hi all, I have a package that contains a function foo that calls a function .fooInternal via match.fun('.fooInternal'). This step is necessary because I want to give the user an option to override .fooInternal with a custom function. The .fooInternal function name is not exported. The function foo runs perfectly well when used in a normal R session. However, the function fails the R CMD CHECK command with the error
Error in get(as.character(FUN), mode = "function", envir = envir) : object '.fooInternal' of mode 'function' was not found I'm wondering if this is some environment misspecification issue? I also tried replacing .fooInternal by packageName:::.fooInternal (replacing packageName with actual package name, of course), to no avail. Thanks in advance for all replies. Peter ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.