/etc/timezone should probably have a final newline

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • meedstrom
Owner
unassigned
Submitted by
meedstrom
Severity
normal

Debbugs page

meedstrom wrote 3 years ago
(address . bug-guix@gnu.org)
b061ce9d04a907e22e58415c6b30a230@teknik.io
This is either an R or Guix bug, but from the discussion at https://community.rstudio.com/t/incomplete-final-line-found-whats-the-big-deal/56536,I infer that files should generally end in a newline anyway.

My bug: every time I start R, I get the following warning, which is unpleasant.

Warning message:
In readLines("/etc/timezone") :
incomplete final line found on '/etc/timezone'
meedstrom wrote 3 years ago
Additional info
(address . 50523@debbugs.gnu.org)
85a70c23578761a68bff6b1e2845f6e2@teknik.io
Turns out the warning occurs when I load lubridate via library(lubridate). I install it via CRAN, rather than Guix package r-lubridate, but I believe it was the same with that.

--
Martin Edström
Ludovic Courtès wrote 3 years ago
Re: bug#50523: /etc/timezone should probably have a final newline
(address . meedstrom@teknik.io)(address . 50523-done@debbugs.gnu.org)
87mtof5vqa.fsf@gnu.org
Hi,

meedstrom@teknik.io skribis:

Toggle quote (8 lines)
> This is either an R or Guix bug, but from the discussion at https://community.rstudio.com/t/incomplete-final-line-found-whats-the-big-deal/56536,I infer that files should generally end in a newline anyway.
>
> My bug: every time I start R, I get the following warning, which is unpleasant.
>
> Warning message:
> In readLines("/etc/timezone") :
> incomplete final line found on '/etc/timezone'

Fixed in 580984f2417853379d98ea927fd95c0f0fbe2c97, thanks!

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 50523@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 50523
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help