Skip to content

.Rd files are forcibly rewritten with LF ending on Windows #989

@krlmlr

Description

@krlmlr

despite of what's announced in the NEWS and in #841.

To reproduce:

  • Clone any package on Windows
  • Run unix2dos man/*.Rd
  • Run devtools::document()

I believe this is because write_if_different() already receives character strings with embedded newlines, and write_lines() doesn't convert them to the detected newlines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions