[R-pkg-devel] EHRtemporalVariability package check warning, cannot fix

Carlos Sáez c@r@@e@| @end|ng |rom |b|me@upv@e@
Mon Oct 5 18:43:01 CEST 2020


Hi,

 

Some weeks ago we received the CRAN notification to update our
EHRtemporalVariability package in light of some Warnings found on the
vignette compilation.

 

We managed to solve most by including the �webshot� package in the Suggests
list in DESCRIPTION, since the Vignette is rendered in .html including
dynamic Plotly plots.

 

However, we cannot manage to solve the last one, and thus we cannot update
the package in CRAN. Local checks show no Warnings (only a Note due to
having 5.1MB file). Even updated R to the latest ver 4.0.2 and R tools to
the latest 4, and all checks ok. But submitting on winbuilder the Warning is
still there.

 

The logs are here:

 <https://win-builder.r-project.org/9IvFwBBcgDlI>
https://win-builder.r-project.org/9IvFwBBcgDlI

 

This is the error:

 

        Error(s) in re-building vignettes:

--- re-building 'EHRtemporalVariability.Rmd' using rmarkdown

Quitting from lines 35-36 (EHRtemporalVariability.Rmd) 

Error: processing vignette 'EHRtemporalVariability.Rmd' failed with
diagnostics:

argument is of length zero

--- failed re-building 'EHRtemporalVariability.Rmd'

 

The package is exactly that found in
https://github.com/hms-dbmi/EHRtemporalVariability

 

Those lines 35-36 are the first chunk in the .Rmd vignette file:

```{r setup, include=FALSE}

knitr::opts_chunk$set(echo = TRUE, warning=FALSE)

```

Surprisingly, if removing this chunk and resubmitting, the same �argument is
of length zero� error is present but in the following (now first) chunk of
code.

 

Any help would be really appreciated. We would kindly provide any additional
info that could help.

Best regards!

Carlos


	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list