Skip to content

VignetteBuilder DECSRIPTION field split over lines is not recognized #439

Closed
@jackwasey

Description

@jackwasey

I have a package DESCRIPTION which, after using desc package to reformat, contains:

VignetteBuilder:
    knitr

In this case, using

usethis:::use_description_field("VignetteBuilder", "knitr")

or, as I originally did:

use_vignette("Medical Twitter strategies used by other authors")

gives the error:

Error: VignetteBuilder has a different value in DESCRIPTION. Use overwrite = TRUE to overwrite.

Furthermore, the error message refers to an argument to usethis:::use_description_field which is not passed through by use_vignette and thus it is not possible to act on this by doing use_vignette("name", overwrite = TRUE)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviordescription 📚docs 💡documentation, news, vignettes, website, etc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions