On 03.02.2016 14:31, Michael Dewey wrote:
Duncan Murdoch <murdoch.dun...@gmail.com> wrote :
On 02/02/2016 2:23 PM, Irucka Embry wrote:
https://gitlab.com/iembry/install.load/raw/master/R/install_load.R
is
the link to raw R code for my package. I have been successful at
building the package on GNU/Linux, but building on Windows fails. I have
used R 3.2.3 in both cases.
On Windows, using readLines, this is the result of the Line 1:
[1] "#' Check, Install and Load CRAN & USGS GRAN Packages"
When I view that line via my webmail and using Chrome browser on Windows I see
a string which seems to start:
lower case i possibly with an umlaut
closing guillemet
inverted question mark
hash symbol
I guess the file is UTF-8 encoded and you read it under Windows as
latin1 or therelike, so declare an encoding.
Best,
Uwe Ligges
whereas the GNU/Linux example just starts hash symbol
Hope that helps someone
On GNU/Linux, using readLines, this is the result of Line 1:
[1] "#' Check, Install and Load CRAN & USGS GRAN Packages"
Can someone offer suggestions on how to fix this character issue for
Windows package development?
I can't see any difference there. Is that the point, or do you see a
difference?
What is the exact error message you get when parsing?
Duncan Murdoch
I have created the R code with the Kate text editor. I have not had this
issue in the past with any of my R packages using the Kate text editor.
I have a few packages that have the same issue.
Thank you.
Irucka Embry
_______________________________________________________________Get
the Free email that has everyone talking at [[alternative HTML version
deleted]]
______________________________________________
R-package-devel@r-project.org
mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
______________________________________________
R-package-devel@r-project.org
mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel