There is a function, fun, in package pack.
fun
pack
How can fun be run automatically when library(pack) is executed?
library(pack)