Skip to content

@format cannot be inherited #1293

@netique

Description

@netique

I want to inherit a format tag from a dataset of foreign package, but @inherit foo::bar format seems to do nothing. Minimal example (functions in the same NS):

library(roxygen2)
roc_proc_text(rd_roclet(), "
#' Foo
#' 
#' @format BLAH
foo <- function() {}

#' Bar
#' 
#' @inherit foo format
bar <-  function(x){}
")

This also seems to affect example and example tags.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions