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

Do we need an alias "theme_[r]2dii()" for "theme_2dii()"? #356

Open
maurolepore opened this issue Jun 22, 2021 · 2 comments
Open

Do we need an alias "theme_[r]2dii()" for "theme_2dii()"? #356

maurolepore opened this issue Jun 22, 2021 · 2 comments

Comments

@maurolepore
Copy link
Contributor

No big deal but the package name is [r]2dii so maybe theme_2dii() needs
an alias theme_r2dii() for consistency.

@MonikaFu
Copy link
Collaborator

I skipped the 'r' as I thought it is more about our our organisation (as 2dii). But we can add the 'r' if you think it will make more sense.

@maurolepore
Copy link
Contributor Author

maurolepore commented Jun 30, 2021

More concretely what I suggest is to leave the name as is but add alias like this:

#' ...
#' @aliases theme_r2dii
#' ...
theme_2dii <- function( ...
  ...

This means the function is called theme_2dii() but the helpfile pops up with either ?theme_2dii or ?theme_r2dii.

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

No branches or pull requests

2 participants