Re: [R] Doubt in relation with packaging

2012-08-21 Thread Eva Prieto Castro
Thank you, Michael and Rui. I think I will adjust namespaces file. Cheers, Eva --- El mar, 21/8/12, R. Michael Weylandt escribió: De: R. Michael Weylandt Asunto: Re: [R] Doubt in relation with packaging Para: "Rui Barradas" CC: "Eva Prieto Castro" , "r-help"

Re: [R] Doubt in relation with packaging

2012-08-20 Thread R. Michael Weylandt
Rui's solution certainly works, but don't fear namespaces. For a simple package, you basically just write export(xxx) for all the "main" functions and import(yyy) for all the packages yyy you use. If you have S3 methods, it's also important to register those as S3method(plot, zzz) If you ar

Re: [R] Doubt in relation with packaging

2012-08-20 Thread Rui Barradas
Hello, I believe that the simplest way (the one I allways use) is to have the invisible functions' names start with a period. .aux <- function(x) # user doesn't see it, R CMD check doesn't force .Rd file Hope this helps, Rui Barradas Em 20-08-2012 22:06, Eva Prieto Castro escreveu: Hi,

[R] Doubt in relation with packaging

2012-08-20 Thread Eva Prieto Castro
Hi, As I told you some days ago, finally I could build the package, but I have one doubt: my source code has a lot of functions, but the users only need some of them (the others are auxiliar functions), so there must be a way in order to make invisibel the auxiliar functions. I think I can do