Skip to content

roxygen2 generates documentation that doesn't pass CHECK on R-devel(?) #125

@cboettig

Description

@cboettig

In my function declarations and roxygen2 comments, I have hard-wrapped all lines to less than 80 characters. Roxygen2 appears to be expanding my function definitions to violate this, causing R-devel to complain about my over 90 character length lines.

For instance, I declare my function in my .R file with hard-wrapped arguments,

bib_format <- function(ordering = 
                       c("authors", "year", "title", "journal",
                         "volume", "number", "pages", "doi", "url"),
                       authors, year, title, journal, volume, 
                       number, pages, doi, uri, collapse=" "){

but the .Rd files build by devtools give me things like this:

\usage{
  bib_format(ordering = c("authors", "year", "title", "journal", "volume", "number", "pages", "doi", "url"),
    authors, year, title, journal, volume, number, pages,
    doi, uri, collapse = " ")
}

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