Re: [R] NAMESPACE vs internal.Rd

2008-07-17 Thread Berwin A Turlach
G'day Christophe, On Wed, 16 Jul 2008 18:22:49 +0200 [EMAIL PROTECTED] wrote: > Thanks for your answer. My pleasure. > > I guess writing > > a regular expression that says "export everything that does not > > start with a dot but do not export foo and bar" would be not > > trivial to write (at

Re: [R] NAMESPACE vs internal.Rd

2008-07-16 Thread cgenolin
Thanks for your answer. I guess writing a regular expression that says "export everything that does not start with a dot but do not export foo and bar" would be not trivial to write (at least not for me). The NAMESPACE created by package.skeleton contain a single line : exportPattern("^[[:alp

Re: [R] NAMESPACE vs internal.Rd

2008-07-16 Thread Berwin A Turlach
G'day Christophe, On Wed, 16 Jul 2008 16:11:15 +0200 [EMAIL PROTECTED] wrote: > So the main idea is - With NAMESPACE, you do not document the > "not-for-user" because they don't have to be documented > - Witout NAMESPACE, you document the "not-for-user" with a > toto-internal.Rd that say "not f

Re: [R] NAMESPACE vs internal.Rd

2008-07-16 Thread cgenolin
Thanks, Berwin, So the main idea is - With NAMESPACE, you do not document the "not-for-user" because they don't have to be documented - Witout NAMESPACE, you document the "not-for-user" with a toto-internal.Rd that say "not for user" That's clear. Is it stupid to consider to use both techniq

Re: [R] NAMESPACE vs internal.Rd

2008-07-16 Thread Berwin A Turlach
G'day Christophe, On Wed, 16 Jul 2008 15:10:05 +0200 [EMAIL PROTECTED] wrote: > Hi the list, > > When we use package.skeleton, it create some file in the man > directorie. - If we use package.skeleton with namespace=FALSE, it > create a file toto-internal.Rd > - If we use package.skeleton with

[R] NAMESPACE vs internal.Rd

2008-07-16 Thread cgenolin
Hi the list, When we use package.skeleton, it create some file in the man directorie. - If we use package.skeleton with namespace=FALSE, it create a file toto-internal.Rd - If we use package.skeleton with namespace=TRUE, it does not create the file toto-internal.Rd Why is that ? Christophe