Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow excluding attached names via ! #287

Open
klmr opened this issue Jul 23, 2022 · 0 comments
Open

Allow excluding attached names via ! #287

klmr opened this issue Jul 23, 2022 · 0 comments

Comments

@klmr
Copy link
Owner

klmr commented Jul 23, 2022

Please describe your feature request

Enable the following syntax:

box::use(stats[..., ! filter])

To import and attach all names from the ‘stats’ package, except the name filter. This comes in handy to avoid name conflicts between two attached packages (e.g. stats::filter and dplyr::filter) and makes order of import declarations less important.

Ensure that ! declarations are only valid in conjunction with ... wildcard declarations (since they are otherwise meaningless).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant