Skip to content

Fix use_readme_rmd() to exclude comma after last argument passed to knitr::ops_chunk$set #112

@maurolepore

Description

@maurolepore

It is this:

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%",  # <<<<<<<<<<<<<<<< This comma shouldn't be here.
)

It should be this:

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

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