[R-pkg-devel] "non-ASCII input" and "--data-compress" ignored

Spencer Graves @pencer@gr@ve@ @end|ng |rom e||ect|vede|en@e@org
Fri Jul 17 09:02:36 CEST 2020


Hello:


       I'm getting two warnings that I don't know how to fix on both 
4.0.2 under macOS 10.15.5 and 4.0.0 under TRAVIS-CI; the email from 
Travis CI <builds using travis-ci.org> is copied below.


NON-ASCII INPUT:


* checking Rd files ... WARNING
man/nuclearWeaponStates.Rd: non-ASCII input and no declared encoding
problem found in ‘nuclearWeaponStates.Rd’


       I'm virtually certain this comes from the following:


   \href{https://www.americansecurityproject.org/ASP Reports/Ref 0072 - 
North Korea’s Nuclear Program .pdf}{Derek Bolton (2012) North Korea's 
Nuclear Program} (2012-08, American Security Program, accessed 2020-07-15)


       If you look carefully, you see spaces and a right single quote in 
the URL.  If I copy this URL into a browser and back out again, I get 
the following:


https://www.americansecurityproject.org/ASP%20Reports/Ref%200072%20-%20North%20Korea%E2%80%99s%20Nuclear%20Program%20.pdf


       However, if I use this inside "\href", "R CMD check" doesn't 
recognize the close curly bracket because of the presence of the 
non-ASCII characters.  I could leave out the URL, but that would degrade 
the quality of the documentation.


"--DATA-COMPRESS" IGNORED


       I'm getting, " Note: significantly better compression could be 
obtained by using R CMD build --resave-data".  I get this message even 
though I use "R CMD build --data-compress Ecdat".  I also tried "R CMD 
build Ecdat --data-compress" and got the same result.


       Suggestions?
       Thanks,
       Spencer Graves


sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.5

Matrix products: default
BLAS: 
/Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRblas.dylib
LAPACK: 
/Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods base

loaded via a namespace (and not attached):
[1] compiler_4.0.2


-------- Forwarded Message --------
Subject: 	Broken: sbgraves237/Ecdat#33 (master - a049665)
Date: 	Fri, 17 Jul 2020 06:05:20 +0000
From: 	Travis CI <builds using travis-ci.org>
To: 	spencer.graves using effectivedefense.org



sbgraves237

/

Ecdat

<https://travis-ci.org/github/sbgraves237/Ecdat?utm_medium=notification&utm_source=email> 


branch iconmaster <https://github.com/sbgraves237/Ecdat/tree/master>

build has failed
Build #33 was broken 
<https://travis-ci.org/github/sbgraves237/Ecdat/builds/709051085?utm_medium=notification&utm_source=email>
arrow to build time
clock icon5 mins and 5 secs

sbgraves237 avatarsbgraves237

a049665 CHANGESET → 
<https://github.com/sbgraves237/Ecdat/compare/8b5b8b867663...a04966508ba6>

fix nuclearWeaponStates so it now has all the desired data

Want to know about upcoming build environment updates?

Would you like to stay up-to-date with the upcoming Travis CI build 
environment updates? We set up a mailing list for you!

SIGN UP HERE <http://eepurl.com/9OCsP>

book icon

Documentation <https://docs.travis-ci.com/> about Travis CI

Have any questions? We're here to help. <mailto:support using travis-ci.com>
Unsubscribe 
<https://travis-ci.org/account/preferences/unsubscribe?repository=25157200&utm_medium=notification&utm_source=email> 
from build emails from the sbgraves237/Ecdat repository.
To unsubscribe from *all* build emails, please update your settings 
<https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email>. 

black and white travis ci logo <https://travis-ci.com>

Travis CI GmbH, Rigaer Str. 8, 10427 Berlin, Germany | GF/CEO: Randy 
Jacops | Contact: contact using travis-ci.com <mailto:contact using travis-ci.com> | 
Amtsgericht Charlottenburg, Berlin, HRB 140133 B | Umsatzsteuer-ID gemäß 
§27 a Umsatzsteuergesetz: DE282002648


	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list