[R-pkg-devel] Weird error on CRAN linux check
Hi all, The following shows an error for my package: https://www.r-project.org/nosvn/R.check/r-release-linux-x86_64/huxtable-00check.html Here's an excerpt:
### ** Examples ht <- huxtable(a = 1:3, b = 1:3) align(ht) <- 'right'
Error in UseMethod("align<-") :
no applicable method for 'align<-' applied to an object of class
"c('huxtable', 'data.frame')"
Calls: align<-
The error didn't show up on win-builder, travis, appveyor or my own
computer (a mac). The package defines an `align<-.huxtable` method which is
correctly loaded on my computer, and the NAMESPACE file contains these
lines:
S3method("align<-",huxtable)
export("align<-")
export("align<-.huxtable")
Has anyone got any ideas?
David