[R-pkg-devel] Another CRAN-only bug
d@v|dhughjone@ @end|ng |rom gm@||@com
Thu Jun 13 10:40:57 CEST 2019
Well, the test that fails is this one:
The last line fails here:
hx <- huxtable(a = 1:2 + 0.5, b = -1:-2 + 0.5, d = letters[1:2],
add_colnames = TRUE)
wb <- as_Workbook(hx)
expect_error(openxlsx::saveWorkbook(wb, file = "test-xlsx.xlsx",
overwrite = TRUE),
regexp = NA) # openxlsx may emit messages
dfr <- openxlsx::read.xlsx("test-xlsx.xlsx")
expect_equal(dfr[], 1:2 + 0.5)
Putting to one side the issue of testthat’s putative faults, I am happy to
debug this myself, but how can I reproduce the platform to do it on?
On Thu, 13 Jun 2019 at 08:39, Uwe Ligges <ligges using statistik.tu-dortmund.de>
> You can assume that CRAN packages are available within a day for on
> demand checks and even at once for CRAN incoming checks on winbuilder.
> Nevertheless, I have no idea where the problem comes from given the
> standard test mechanisms are not use and hence output does not show what
> the actual test was.
> Uwe Ligges
> On 13.06.2019 06:59, David Hugh-Jones wrote:
> > Hi Duncan,
> > Of course I appreciate the value of a centralised repository, and I
> > acknowledge the hard work that goes into maintaining it. That does not
> > that it should be beyond criticism. I wrote out of frustration, but also
> > because I hope things could be better.
> > David
> > On Wed, 12 Jun 2019 at 23:26, Duncan Murdoch <murdoch.duncan using gmail.com>
> > wrote:
> >> On 12/06/2019 4:57 p.m., David Hugh-Jones wrote:
> >>> Hi all,
> >>> Not for the first time, my package has a bug that isn't found on rhub,
> >>> travis, appveyor, or my local machine, but is found on CRAN. This time
> >> it's
> >>> Windows-only, so I can't even download a Docker image and investigate
> >> that
> >>> way.
> >>> TBH I am not very enthused by having to treat CRAN servers as "ground
> >>> truth", when there seems no way to reliably reproduce their
> >> configuration,
> >>> figure out what versions of packages are used, etc. Am I missing
> >> something?
> >>> Is another world possible?
> >> Nothing is forcing you to release your package on CRAN. The only
> >> advantage to doing so is that they maintain high standards, which means
> >> people trust them.
> >> Just put your package on Github, and anyone can use it, no matter how
> >> bad it is.
> >> Duncan Murdoch
> >>> Anyway, the error is at:
> >>> and it seems to relate to the openxlsx package, which is on 184.108.40.206
> >>> May 28 - presumably long enough for the latest version to be available
> >>> win-builder. Any ideas would be welcome....
> >>> David
> >>> [[alternative HTML version deleted]]
> >>> ______________________________________________
> >>> R-package-devel using r-project.org mailing list
> >>> https://stat.ethz.ch/mailman/listinfo/r-package-devel
> >> --
> > Sent from Gmail Mobile
> > [[alternative HTML version deleted]]
> > ______________________________________________
> > R-package-devel using r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-package-devel
Sent from Gmail Mobile
[[alternative HTML version deleted]]
More information about the R-package-devel