Skip to content

find_missing_tags() ignores inherited @return #84

Open
@DanChaltiel

Description

@DanChaltiel

Hi,

Here is a reprex:

#' Function X
#' @inherit y return
#' @export
x = function() 1

#' Function Y
#' @return a value
#' @export
y = function() 1
> checkhelper::find_missing_tags()
ℹ Loading crosstable
Problem: Missing or empty return value for exported functions: x

Moreover, the .rd file generated during the process is wrong and doesn't include the returned value, unlike devtools::document().

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