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

Duncan Murdoch murdoch@dunc@n @ending from gm@il@com
Thu Jul 5 20:15:28 CEST 2018


On 05/07/2018 2:06 PM, Duncan Murdoch wrote:
> On 05/07/2018 9:11 AM, David Hugh-Jones wrote:
>>
>> 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....
> 
> I just got R installed on an Ubuntu VM, and ran "R CMD check
> huxtable_4.0.1.tar.gz" both with and without "--as-cran", without seeing
> the error you quoted.  (I did see other problems, related to not having
> things like pandoc installed; nothing that looked like a problem with
> the package rather than a problem with my R installation.)
> 
> That looks like a bug, but without having a system that can reproduce
> it, it's hard to narrow down where:
> 
>    - In R's checks?  Seems unlikely, given it is so system specific.
>    - In CRAN's scripts?  Really unlikely, since all the tests are in R.
>    - In huxtable or some package used by huxtable?  Seems possible:
> maybe memory got corrupted.  Perhaps running under some memory checker
> would be more informative.

I just tried valgrind on Ubuntu and it didn't see anything.

Duncan Murdoch

> 
> Perhaps the CRAN team could be helpful here.
> 
>>
>> Anyway, meanwhile, my problem is fixed and I have learned something
>> about function environments.
> 
> Given that the error is unrelated to the solution, it really looks like
> memory corruption somewhere or other.
> 
> Duncan Murdoch
>



More information about the R-package-devel mailing list