r - Library/package development - message when loading -


Is there a way to display a message when a user loads library (myCustomLibrary) ? Upon loading, I want to display a message that tells the user to run all test tasks.

Yes. You can use .onLoad , .onAttach , or . The first.lib function lets you do anything you want to load in the package. I suggest looking at the help for those tasks that you will use .onLoad and with a namespace. First.lib without

One conference is that people will keep these commands often separately zzz.R , which is used only for code related to the package.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -