Agreed. I fixed the roxygen2 and it works fine. But yet, the original v4.0.1 on CRAN has a namespace file which contains
S3method(bold,huxtable) export(bold) export(bold.huxtable) and S3method("align<-",huxtable) export("align<-") export("align<-.huxtable") yet still fails on linux-patched and linux-release, with "no applicable method" errors for align<- and bold. Unfortunately, I don't know how to reproduce the error on any other platform.... Anyway, meanwhile, my problem is fixed and I have learned something about function environments. Cheers, David On Thu, 5 Jul 2018 at 12:20, Duncan Murdoch <murdoch.dun...@gmail.com> wrote: > > That's a roxygen2 bug or misuse. If you use the code below without the > roxygen2 processing, and manually build the NAMESPACE file as > > export(foo) > S3method(foo, bar) > > then things are fine. I don't know roxygen2 well enough to know what > else you should have done to get your NAMESPACE file to look like that. > > Duncan Murdoch > > [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel