I could equally have titled this question, \"Is it good enough for CRAN?\"
I have a collection of functions that I\'ve built up for specific tasks. Some of these are co
Most packages should be collections of related functions with an obvious purpose, so a useful thing to do would be to try and group what you have together, and see if you can classify them. Several smaller packages are better than one huge incoherent package.
That said, there are some packages that are collections of miscellaneous utility functions, most notably Hmisc
and gregmisc
, so it is okay to do that sort of thing. If you just have a few functions like that, it might be worth contacting the author of some of the misc packages and seeing if they'll let you include your code in their package.
As for writing pretty code, the most important thing you can do is to use a style guide.