From ru|pb@rr@d@@ @end|ng |rom @@po@pt  Mon Aug 10 09:45:39 2020
From: ru|pb@rr@d@@ @end|ng |rom @@po@pt (Rui Barradas)
Date: Mon, 10 Aug 2020 08:45:39 +0100
Subject: [Rd] Typos in file.path documentation.
Message-ID: <5c4e8fe9-7559-4e8b-8613-c14e9ed0a3ed@sapo.pt>

Hello,

R 4.0.2 on Ubuntu 20.04, sessionInfo() below.

I believe there are two typos in ?file.path, section Value, 2nd paragraph.

1. There is a close parenthesis missing  after Encoding, as it is 
reading is a bit confusing, I had to backtrack and repeat.
2. I'm not a native language speaker but before a consonant it's 'a', 
not 'an', right?

an component

should be

a component


Current:

An element of the result will be marked (see Encoding as UTF-8 if run in 
a UTF-8 locale (when marked inputs are converted to UTF-8) or if an 
component of the result is marked as UTF-8, or as Latin-1 in a 
non-Latin-1 locale.

Should be:

An element of the result will be marked (see Encoding) as UTF-8 if run 
in a UTF-8 locale (when marked inputs are converted to UTF-8) or if a 
component of the result is marked as UTF-8, or as Latin-1 in a 
non-Latin-1 locale.


sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.1 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0

locale:
  [1] LC_CTYPE=pt_PT.UTF-8       LC_NUMERIC=C
  [3] LC_TIME=pt_PT.UTF-8        LC_COLLATE=pt_PT.UTF-8
  [5] LC_MONETARY=pt_PT.UTF-8    LC_MESSAGES=pt_PT.UTF-8
  [7] LC_PAPER=pt_PT.UTF-8       LC_NAME=C
  [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=pt_PT.UTF-8 LC_IDENTIFICATION=C

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

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


Hope this helps,

Rui Barradas



[Rd] Typos in file.path documentation.
Rui Barradas