[R-pkg-devel] speeding up package code/build/test cycle

Viechtbauer, Wolfgang (SP) wo||g@ng@v|echtb@uer @end|ng |rom m@@@tr|chtun|ver@|ty@n|
Thu Jun 24 12:23:29 CEST 2021


Dear Greg,

You might want to look into the load_all() function from 'devtools'.

Best,
Wolfgang

>-----Original Message-----
>From: R-package-devel [mailto:r-package-devel-bounces using r-project.org] On Behalf Of
>Greg Minshall
>Sent: Thursday, 24 June, 2021 11:16
>To: r-package-devel using r-project.org
>Subject: [R-pkg-devel] speeding up package code/build/test cycle
>
>hi.
>
>when developing packages, my current work flow is to change the code,
>(re-)build the package, detach/load the package, test (to find the
>N+1'st bug, sigh).
>
>the building step takes tens of seconds.
>
>is there an obvious way to present some code to the R command line and
>have it replace the appropriate function in a given package?
>
>or, are there other things people do to speed up this process?
>
>thanks in advance, Greg



More information about the R-package-devel mailing list