Skip to content

update_citation() leaves CITATION.cff out of .Rbuildignore #102

Description

@larnsce

Observed with washr 1.0.2 and cffr 1.4.1.

update_citation() writes CITATION.cff at the top level but never adds it to .Rbuildignore, and the internal cffr::cff_write() call does not add it either. The next R CMD check then reports:

Non-standard file/directory found at top level: 'CITATION.cff'

washr itself is not affected because it carries no top-level CITATION.cff, but every data package that follows the workflow is.

Fix: add usethis::use_build_ignore("CITATION.cff") inside update_citation() (idempotent, so safe on every run).

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