I've got to create a very simple R package containing a function using RStudio. I want to give it to some students.
When my package is loaded I'd like it automatically start my function, without requiring the user to type its name. (The function waits for user input or could open a simple GUI)
How can I get it?
PD: I can't modify other people's .Rprofile, that's why I need a method to load the function automatically when the package is loaded.