[R-pkg-devel] Package update submission to CRAN fails on pretest

Wolfgang Lenhard wolfg@ng@lenh@rd @ending from uni-wuerzburg@de
Fri Dec 7 18:47:56 CET 2018

Thanks for pointing that out. I rebuilt everything from scratch. Indeed 
I thought, there were no UTF-8 encodings in the data and neither Travis, 
checking it locally and R-Hub (all kinds of OS) resulted in errors.

Am 07.12.2018 um 13:58 schrieb peter dalgaard:
> Hmm, no ERRORs in the CRAN checks at this moment?
> Re. utf-8, on Mac OS, the CRAN checks have a note about 90 strings marked as utf8.
> I see 57 of them in
>> life$Country[Encoding(life$Country)!="unknown"]
>   [1] "Korea, Dem. People’s Rep." "Korea, Dem. People’s Rep."
>   [3] "Korea, Dem. People’s Rep." "Korea, Dem. People’s Rep."
>   [5] "Korea, Dem. People’s Rep." "Korea, Dem. People’s Rep."
> ...
> and 32 more in "mortality". You go find the remaining 1...
> This seems to be an issue with the quote symbol:
>> u <- life$Country[Encoding(life$Country)!="unknown"][1]
>> Encoding(u)
> [1] "UTF-8"
>> Encoding(u) <- "bytes"
>> u
> [1] "Korea, Dem. People\\xe2\\x80\\x99s Rep."
> I have no clue why this is not an issue on only some platforms.
> -pd
>> On 7 Dec 2018, at 08:54 , Wolfgang Lenhard <wolfgang.lenhard using uni-wuerzburg.de> wrote:
>> Dear list,
>> I am getting problems when trying to submit an update of the package
>> cNORM to CRAN. I am developing the package with RStudio and devtools and
>> I am using Travis for automatic testing. The package is tested locally
>> on Win10 and Mac OS X and on Travis with Ubuntu and Mac both for
>> development and release versions of R. All local tests and tests on
>> Travis work flawlessly - no errors, warning or notes. When submitting to
>> CRAN, a note and an error show up on some of the Linux OS (Fedora &
>> Solaris) and Mac OS X, while others display an 'OK' (Win, Debian). The
>> results: https://cran.r-project.org/web/checks/check_results_cNORM.html
>> - error: This seems to be related to the vignette with the following
>> message:
>>> * checking examples ... ERROR
>>> Running examples in ‘cNORM-Ex.R’ failed
>> I can however not identify the location of the error
>> - Note: Check: data for non-ASCII characters
>> The strange thing is: I checked all data files multiple times. They
>> mainly consist of data.frames with numerics and all colnames  are ASCII.
>> I am not able to replicate the issue. The same is true for the error,
>> which does not show up on Travis and as well locally. And finally, the
>> results state, that the version of the package is 1.0.1, which had been
>> the first submission to CRAN a month ago. The current version of the
>> package is 1.1.1. Could this be the reason for the problem?
>> Do you have an idea how to progress with the testing or how to locate
>> the errors? Any help is welcome.
>> Best regards,
>>      Wolfgang Lenhard
>> 	[[alternative HTML version deleted]]
>> ______________________________________________
>> R-package-devel using r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-package-devel

Prof. Dr. Wolfgang Lenhard
Lehrstuhl Psychologie IV
Raum 02.130
Wittelsbacherplatz 1
D-97070 Würzburg

Tel.: 0931 3189791
FAX:  0931 3184891
URL:  https://go.uniwue.de/lenhard
Map:  https://go.uni-wuerzburg.de/3b

More information about the R-package-devel mailing list