checkhelper icon indicating copy to clipboard operation
checkhelper copied to clipboard

`find_missing_tags()` ignores inherited `@return`

Open DanChaltiel opened this issue 2 years ago • 0 comments

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().

DanChaltiel avatar Dec 07 '23 15:12 DanChaltiel