I have a package DESCRIPTION which, after using desc package to reformat, contains:
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)
I have a package DESCRIPTION which, after using
descpackage to reformat, contains:In this case, using
or, as I originally did:
gives the error:
Furthermore, the error message refers to an argument to
usethis:::use_description_fieldwhich is not passed through byuse_vignetteand thus it is not possible to act on this by doinguse_vignette("name", overwrite = TRUE)