-
Notifications
You must be signed in to change notification settings - Fork 238
Closed
Labels
featurea feature request or enhancementa feature request or enhancement
Description
We've got an Rd helper that takes the name of the attached function as an argument:
essentially
#' @evalRd rd_tags("class_equals_linter")
class_equals_linter <- function() {
}
This works well, but the problem I've noticed is when we sometimes rename the function, it's easy to forget to update the name twice.
This could be avoided if @evalRd was context aware. I'm thinking like .onLoad / .onAttach get the package/lib name along, the @evalRd execution could "receive" some metadata as well.
I'm not sure the right API for this (maybe it needs to be a new @ token?) but it would save us some inconvenience.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featurea feature request or enhancementa feature request or enhancement