r - How do I prevent my packaged functions from being listed with ls()? -
i managed build , install r package , upon loading, functions in exported global environment , visible ls()
. how can prevent behave packages on cran , not pollute global environment?
you can have them start leading dot .
, if not want them listed when ls()
used default parameters. however, not change namespace or environment. can still see them using ls(all.names=true)
.
Comments
Post a Comment