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

Shorten package name #3

Closed
coatless opened this issue Jun 15, 2018 · 4 comments
Closed

Shorten package name #3

coatless opened this issue Jun 15, 2018 · 4 comments
Assignees

Comments

@coatless
Copy link

Anyway the package name could be shorten from fontawesome to fa?

@rich-iannone
Copy link
Member

rich-iannone commented Jun 16, 2018

I don’t know, I already have a bunch of packages with very short names (e.g., gt, ttt, etc.)... Joking aside, I think what you want is fa::fa(“icon”). However I think we went with fontawesome because fa wasn’t very recognizable as being FontAwesome.

@coatless
Copy link
Author

Right you are, I'm looking for namespace prefixing.

Not sure I agree with fa not being recognizable as each icon code is prefixed by fa. For example, the address-book icon in FontAwesome 5 is given with:

<i class="far fa-address-book"></i>

If the worry is more about naming the core functionality after the package name, why not:

fa::icon("address-book")

Generally, any RStudio package should have improved visibility compared to traditional packages. So, I think even with name of fa that the package should be noticed.

Regardless, this is a very useful package. Thanks for making it!

@rich-iannone
Copy link
Member

@coatless I've had a discussion internally here and we've decided to stick with the slightly longer package name of fontawesome.

I am hopeful that we can find other ways to generally shorten the amount of typing required in the function call itself.

@coatless
Copy link
Author

@rich-iannone thanks for holding another conversation and the update!

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