Skip to content
Prev 6572 / 12125 Next

[R-pkg-devel] How to build *-package description from *-package.R files ... and a luser/newbie question about pkgdown

Thanks Duncan,

Some comments and hopes for others to follow that lead inline below but great to take from this an overarching 
idea that I am not just being dumb.  More below ...

----- Original Message -----
Yes. I can see the arguments you make below about mixing source and 
documentation but I have found the Rstudio help with documenting 
functions at least a very good starting point.  It, i.e. Rstudio,
just doesn't seem to have created something for documentation of a
package.
Yup.  I like it!
Again, yes, I have been following the "Rstudio wrapped" version of this
so far and again, can see your points but it feels a bit the mixing of
code and commentary feels familiar to me from mixing code blocks and 
text blocks in Rmarkdown (I can see it's not quite the same but I think
some years now using Rmarkdown made this easier to accept and start 
using).
I haven't found it if it is there.  I'm guessing you use ESS?
Understood and all helpful and reassuring me that I may not have missed something
very obvious.  In some ways the funny thing about creating a xxxx-package.R file
to create the package document is a sort of edge case of what you're saying: it's 
creating a file that says it's a source code file when it won't actually contain
any source code at all!  However, I think that's what I see pointers suggesting
it's what I should do ... but not much on how.
Thanks though!!

Very best all,

Chris