[R-pkg-devel] Weird error on CRAN linux check

David Hugh-Jones d@vidhughjone@ @ending from gm@il@com
Wed Jul 4 16:00:36 CEST 2018


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

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list