Skip to content

@includeRmd needs to pass fixed width to rmarkdown::render() #1430

@DavisVaughan

Description

@DavisVaughan

And maybe other reproducible global options?

Probably around here? https://github.com/r-lib/roxygen2/blob/include-rmd-warning/R/rd-include-rmd.R#L52-L68

Context is that in vctrs @lionel- and I keep overwriting each other when we document() the package. In particular, files included by @includeRmd seem to change with respect to the width depending on who is calling document(). Here is an example where the git history of theory-faq-coercion.Rd shows us overwriting each other.
https://github.com/r-lib/vctrs/commits/main/man/theory-faq-coercion.Rd

The changes look something like this

Screen Shot 2022-09-19 at 11 07 55 AM

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