I have a own r package that works well. However when I check it, R delete me the export(predict.acb) on the NAMESPACE file. In my .R file I have:
#' @export
acb<-function(Class,data,lambda,distance=NULL,prior=NULL,info.pred=NULL)
#' @export
predict.acb<-function(modelFit,newdata)
In my NAMESPACE I have
export(acb)
export(predict.acb)
After check I get
S3method(predict,acb)
export(acb)