Skip to content

README template: license link placeholder is URL-encoded and never substituted #101

Description

@larnsce

Found while dogfooding washr 1.0.2 on a personal data package (larnsce/aboutme).

templates/README.Rmd line 124 contains the packagename placeholder in URL-encoded form:

[CC-BY](https://github.com/openwashdata/%7B%7B%7Bpackagename%7D%7D%7D/blob/main/LICENSE.md).

whisker only substitutes the literal {{{packagename}}}, so every README generated by setup_readme() ships a dead license link containing %7B%7B%7Bpackagename%7D%7D%7D.

Reproduce: run washr::setup_readme() in any package and look at the License section.

Fix: replace the encoded placeholder with {{{packagename}}} on that line. Likely introduced by an editor or pandoc round-trip that URL-encoded the braces inside the link target.

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