[R-pkg-devel] Package submission failed with two warnings
m@ur|c|o@z@mbr@no @end|ng |rom u|ronter@@c|
Fri May 15 17:24:25 CEST 2020
On Fri, 15 May 2020 at 10:34, FARSHAD TABASINEJAD
<farshad.tabasinejad using susaenergy.com> wrote:
> Dear R-package-devel experts,
> This is the first time I’m writing to this platform about a package I recently submitted to CRAN (my first package).
> While the package is already available on CRAN, I still must fix a few warnings and one error as reported on the CRAN package check results page:
> I recently resubmitted a modified version of the package to CRAN, however, it didn’t pass the automatic incoming checks.
> Windows: https://win-builder.r-project.org/incoming_pretest/Rpvt_0.1.0_20200512_051950/Windows/00check.log
> Status: 1 WARNING
> Debian: https://win-builder.r-project.org/incoming_pretest/Rpvt_0.1.0_20200512_051950/Debian/00check.log
> Status: 2 WARNINGs
> 1) The first warning that appears on both Windows and Debian results is “Insufficient package version (submitted: 0.1.0, existing: 0.1.0)”.
> Since the package is conditionally available on CRAN, do I need to modify the package version to 0.1.1 to get rid of this warning?
> Is there any way to fix this problem with the current version of the package(0.1.0)?
"Updates to previously-published packages must have an increased
version. Increasing the version number at each submission reduces
confusion so is preferred even when a previous submission was not
> 2) The second problem appears on the Debian test results:
> * checking re-building of vignette outputs ... [8s/8s] WARNING
> Error(s) in re-building vignettes:
> --- re-building ‘Rpvt.Rmd’ using rmarkdown
> pandoc-citeproc: Error in $: Incompatible API versions: encoded with [1,20] but attempted to decode with [1,17,5,4].
> CallStack (from HasCallStack):
> error, called at ./Text/Pandoc/JSON.hs:111:48 in pandoc-types-184.108.40.206 5tHZ3B61A58JaKOMxwGQR4:Text.Pandoc.JSON
> Error running filter /usr/bin/pandoc-citeproc:
> Filter returned error status 1
> Error: processing vignette 'Rpvt.Rmd' failed with diagnostics:
> pandoc document conversion failed with error 83 ---
> failed re-building ‘Rpvt.Rmd’
> SUMMARY: processing the following file failed:
> Error: Vignette re-building failed.
> Execution halted
> I’ve created this package on a Windows operating system with no problem in creating the ‘Rpvt.Rmd’ file as is the case with the CRAN tests on x86_64-w64-mingw32 (64-bit).
> Why does it fail to create the “Rpvt.Rmd” file on x86_64-pc-linux-gnu (Debian)? Is this something related to the citation style of the library.bib file that I’ve used in my vignettes folder? It is the “apa-6th-edition.csl” file downloaded from https://raw.githubusercontent.com/citation-style-language/styles/master/apa-6th-edition.csl
"Package authors should make all reasonable efforts to provide
cross-platform portable code. Packages will not normally be accepted
that do not run on at least two of the major R platforms. Cases for
Windows-only packages will be considered, but CRAN may not be the most
appropriate place to host them.""
You might want to use win-builder (https://win-builder.r-project.org/)
to test your package on other platforms.
All the best,
Department of Civil Engineering
Faculty of Engineering and Sciences
Universidad de La Frontera, Temuco, Chile
mailto : mauricio.zambrano using ufrontera.cl
work-phone : +56 45 259 2812
"Life goes by so fast, that if you don't stop
and look around, you might miss it"
(from the film Ferris Bueller's Day Off)
Linux user #454569 -- Linux Mint user
La información contenida en este correo electrónico y cualquier anexo o
respuesta relacionada, puede contener datos e información confidencial y no
puede ser usada o difundida por personas distintas a su(s) destinatario(s).
Si usted no es el destinatario de esta comunicación, le informamos que
cualquier divulgación, distribución o copia de esta información constituye
un delito conforme a la ley chilena. Si lo ha recibido por error, por favor
borre el mensaje y todos sus anexos y notifique al remitente.
More information about the R-package-devel