Skip to content

srcref attribute is NULL #1811

@howardbaik

Description

@howardbaik

The code chunk immediately preceding Section 6.2.2 Primitive functions currently returns NULL, but it should display the source code of the function instead:

> attr(f02, "srcref")
function(x, y) {
  # A comment
  x + y
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions