[R-pkg-devel] r-patched error

David Hugh-Jones d@vidhughjone@ @ending from gm@il@com
Mon Jun 4 13:34:20 CEST 2018


Hi all,

Latest release of my package has an error when checked on r-patched-linux
and r-devel-linux. Relevant output is shown below (from
https://cran.r-project.org/web/checks/check_results_huxtable.html). It
suggests that there's no method for `align<-` and `bold` for huxtable
objects. In fact the package defines and exports such methods. Selected
lines from the NAMESPACE file:

S3method("align<-",huxtable)
S3method(bold,huxtable)
export("align<-")
export("align<-.huxtable")
export(bold)
export(bold.huxtable)

Checks are passing fine on other platforms. Is this just a weirdness to do
with the changes in R 3.5.0 on Linux? Or does it indicate a real problem?

Cheers,
David

    > ### ** 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<-
    Execution halted
Flavor: r-patched-linux-x86_64
<https://www.r-project.org/nosvn/R.check/r-patched-linux-x86_64/huxtable-00check.html>

Version: 4.0.0
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Quitting from lines 52-104 (design-principles.Rmd)
    Error: processing vignette ‘design-principles.Rmd’ failed with
diagnostics:
    no applicable method for ‘bold’ applied to an object of class
"c('huxtable', 'data.frame')"
    Execution halted
Flavor: r-patched-linux-x86_64
<https://www.r-project.org/nosvn/R.check/r-patched-linux-x86_64/huxtable-00check.html>
David

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list