I'm trying to create an R package but I keep getting the error:
Error in namespaceExport(ns, exports) :
undefined exports: MCLE, defineFunctions, naiveMLE
when running R CMD check
on my package. I'm using roxygen2
, and the three functions listed in the error message are the three with @export
tags. I've checked similar problems/solutions on stack overflow:
R: Error in namespaceExport(ns, exports) : undefined exports:
What does "Error in namespaceExport(ns, exports) : undefined exports" mean?
but none of these seem to resolve my problem (I'm not using <<-
, I don't export any functions with a common help page, and the issue isn't with ggplot2
or a different R package on CRAN).
I've built the package after deleting the NAMESPACE
file, and it built successfully. I've also confirmed that the package has the functions listed as "undefined," and I don't know what else to check!
MCLE
,defineFunctions
andnaiveMLE
are your own functions, right? – Delldella