[ESS] [OT] Best Practices Emacs / ESS Mini-Webinars
edd @end|ng |rom deb|@n@org
Mon Dec 28 23:37:34 CET 2020
On 28 December 2020 at 16:23, Stephen Bond wrote:
| I have been struggling with trying to follow the steps in
| https://r-pkgs.org/ and the best thing would be to have a similar
| online book showing the steps with ESS. the Hadley book is chained to
| RStudio and they assume everybody uses RStudio, so many examples do not
| work as expected when run inside ESS/emacs. there is also some
Let's step back. Some of us have been building packages for longer than
either the book or RStudio existed. The canonical reference is still WRE.
FWIW I distilled (short) command-line wrappers off it too, so I use
build.r # create a tar.gz
rcc.r # check the tar.gz (using rcmdcheck::rcmdcheck)
check.r # check the tar.gz (more like R CMD check)
install.r # install it
and so on _all the time_ often in a bash shell / tmux session. The command
are also all callable from Emacs/ESS as commands and e.g. I always do
compile-command (i.e. C-x C-c, then calling render.r) to process markdown.
For package building many other people also use devtools; I understand that
is now integrated with ESS and would be new to me too. There are (as always)
many ways to go about this.
| completely undocumented menus like (Select package for evaluation) not
| mentioned on the official ESS page:
| I am willing to help and donate time if you can start with such an
| online book.
AFAIK nobody promised a book. We suggest(ed) and still work on a series of
*short* and *focused* intros to topics. The current list is at
Package building is but one topic, but it would be great if you could help
| Cheers, really happy this may be happening.
Yes. Let's see if we can pull this off.
https://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org
More information about the ESS-help