There seem to exist a convention to put curly braces around an R package name when discussing it in various contexts, as in: {dplyr}. For example, in this Tweet or that blog post.
I feel it's somewhat recent, I don't remember seeing it before 1-2 years ago. Where does it come from? Is it as new as I thought? Is there a context (vignette etc) where it is interpreted in a special way?
This was discussed in another topic recently, but that topic doesn't contain answers to these questions.
It’s something that those of us trying to figure out the secret handshake for the cool kids club do. {ggplot2} isn’t really as useful as ggplot2 and, besides the curly braces are syntactic and we probably shouldn’t try to show off like this.
Using it allows students to distinguish between normal text, package names and function names when your present it in your courses. See the difference by yourself, and choose your own way.
Let me present you ggplot2. You can use ggplot to create a plot: gg. We also use here in here and glue in glue in the exercise.
Let me present you {ggplot2}. You can use ggplot() to create a plot: gg. We also use here() in {here} and glue() in {glue} in the exercise.
When you teach, you need to think about newcomers and give them some references, some guidance on what you are talking about. Because they discover so many concepts. For you, the difference between a package, a function, an object is clear. For them, this is totally new. If you have visual concepts to make them more easily identify things in your slides, it will be better for their understanding.