Skip to content

Citation year is overwritten with the build year when the site is rebuilt #2993

@nvietto

Description

@nvietto

The Citation page generated by pkgdown year the site was last built, not the year the package was published. So an unrelated rebuild (e.g., a README edit or a CI config change) silently changes the citation year on the live site - even though no new version was released and the package's actual publication date hasn't changed.

For a package already on CRAN, the publication year is a known (visible on the CRAN package page). Overwriting it with the current build year produces an incorrect citation.

Hope this helps! Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions