Skip to content

Convert vignettes to quarto #552

@EmilHvitfeldt

Description

@EmilHvitfeldt

Setup

run the following chunk to setup

usethis::use_vignette("tmp.qmd")
file.remove("vignettes/tmp.qmd")

then remove knitr from the DESCRIPTION file.

For each vignette do:

change name of file from filename.Rmd to filename.qmd

  1. Remove %\VignetteEngine{knitr::rmarkdown} from vignette: >

  2. Remove output field in the yaml.

  3. Make sure the following are listed under vignette: >

%\VignetteEngine{quarto::html}
%\VignetteEncoding{UTF-8}
  1. add the following to the yaml
knitr:
  opts_chunk:
    collapse: true
    comment: '#>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    tidy-dev-day 🤓Tidyverse Developer Day rstd.io/tidy-dev-day

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions