I am out of office with occasional email access until the new year.

On 5 Aug 2019, at 19:13, Roy Mendelssohn - NOAA Federal via R-package-devel 
<r-package-devel@r-project.org> wrote:

Okay I found it.  I looked at the code for  tools:::.check_package_datasets(),  
took out the core part,  ran every string  I had in every dataset,  it came 
out.  A degree symbol.

Thanks for telling me about the function.  Still surprised that the test 
machines don't flag it.  Or is this a new test on CRAN?

-Roy


On Aug 5, 2019, at 10:48 AM, Roy Mendelssohn - NOAA Federal 
<roy.mendelss...@noaa.gov> wrote:

Using tools:::.check_package_datasets() produces the error,  but doesn't give 
out any more information.  I don't know enough about some fo the write() 
function.  If I write to csv of some sort,  will this information be preserved?

Thanks,

-Roy


On Aug 5, 2019, at 8:57 AM, Roy Mendelssohn - NOAA Federal 
<roy.mendelss...@noaa.gov> wrote:

Thanks.  What is surprising me is I can't reproduce the error either directly 
on my Mac or on rhub::windows and I am waiting for the result of win-builder  
(I can't check most rhub::linux  because it fails to correctly build a number 
of required packages,  something I have reported but still persists - like 
rgdal,  rerddap, crul,  ncdf4).

-Roy
-
On Aug 5, 2019, at 8:50 AM, Duncan Murdoch <murdoch.dun...@gmail.com> wrote:

On 05/08/2019 10:51 a.m., Roy Mendelssohn - NOAA Federal via R-package-devel 
wrote:
Hi All:
The recent nighty CRAN checks on one of my packages reports:
Check: data for non-ASCII characters
Result: NOTE
  Note: found 1 marked UTF-8 string
When  originally submitted this was not the case.  All my data files are .RData 
files,  and even more so most are binary data.  If they were text files I could 
readily scan for UTF,  is there a way once I read the data into R to do a 
similar scan from within R.  I just ran the most recent  (Github) version of 
devtools::check() and it doesn't report an error.  Or is there a way I can get 
more specific information from the CRAN nightly build or Rhub or the like?

That message comes when the tools:::.check_package_datasets function detects a 
string containing a UTF-8 encoding.  You can run it directly and you might get 
a more informative message.  If not, I suppose you could fix() it and add some 
extra debugging messages....

It's argument is "pkgDir"; I think that is the directory holding the files 
after untarring the .tar.gz file.

Duncan Murdoch

**********************
"The contents of this message do not reflect any position of the U.S. 
Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
***Note new street address***
110 McAllister Way
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: roy.mendelss...@noaa.gov www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.


**********************
"The contents of this message do not reflect any position of the U.S. 
Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
***Note new street address***
110 McAllister Way
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: roy.mendelss...@noaa.gov www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.


**********************
"The contents of this message do not reflect any position of the U.S. 
Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
***Note new street address***
110 McAllister Way
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: roy.mendelss...@noaa.gov www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

        [[alternative HTML version deleted]]

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to