debangs / RSAGA

RSAGA Package Code
GNU General Public License v2.0
0 stars 2 forks source link

Non-ASCII characters in landslides.R #14

Closed debangs closed 8 years ago

debangs commented 8 years ago

We'd like to have non-ASCII characters in the following landslides.R:

However, these do not pass R CMD check. For now these appear as:

rhurlin commented 8 years ago

I just changed both words in landslides.R into their non-ASCII chars and saved it. The file now changed its coding:

Before

file ./R/landslides.R
./R/landslides.R: ASCII text, with CRLF line terminator

After

file ./R/landslides.R
./R/landslides.R: UTF-8 Unicode text, with CRLF line terminators

It seems, all went fine so far, at least on FreeBSD with R devel (r70617):

R CMD check RSAGA
* using log directory ‘/home/rhurlin/CRAN-R/Packages/RSAGA.Rcheck’
* using R Under development (unstable) (2016-05-14 r70617)
* using platform: amd64-portbld-freebsd11.0 (64-bit)
* using session charset: UTF-8
* checking for file ‘RSAGA/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘RSAGA’ version ‘0.94-5’
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘RSAGA’ can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking ‘build’ directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking contents of ‘data’ directory ... OK
* checking data for non-ASCII characters ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking sizes of PDF files under ‘inst/doc’ ... OK
* checking installed files from ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ...
   ‘RSAGA-landslides.Rmd’ using ‘UTF-8’ ... OK
 NONE
* checking re-building of vignette outputs ... OK
* checking PDF version of manual ... OK
* DONE
Status: OK