Skip to content

Request: mark NSE-friendly functions in documentation #1290

@MichaelChirico

Description

@MichaelChirico

I maintain some metaprogramming tools that need to be NSE-aware to avoid flagging code with spurious "undefined objects" warnings from codetools::checkUsage().

For tidyr and dplyr, I can search the documentation for certain links to get a good head start on which functions are NSE-friendly,

e.g. tidyr might use <tidy-select>:

cols= argument of tidyr::pivot longer is described as "<tidy-select> Columns to pivot into longer format."

https://github.com/tidyverse/tidyr/blob/0764e65fad777b71aa2a81ffd5447d04a61f8d5e/R/pivot-long.R#L17-L18

Would it make sense for {gt} to offer similar hints in the documentation about where NSE might show up in its calls?

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions