[R] howto test a package without installation

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Wed Jan 18 04:07:29 CET 2012


Just install the updated library over the old one and start a new R session.

Devtools can be helpful for some things, but when I last looked at it I was having more difficulty with getting documentation right than debugging code, which I can do using normal function development processes, so I went back to the edit compile reload cycle to test the library in it's final form.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

Jonas Stein <news at jonasstein.de> wrote:

>
>> I don't believe you can. However, you need not install it into a
>system-wide library directory... your personal library (e.g.
>/home/jonas/R/x86_64-pc-linux-gnu-library/2.14) should be sufficient.
>
>Finally i created a new testuser to install the library locally as you
>wrote.
>It works. Thank you.
>How can i get my R clean again afterwards to test the next version? 
>
>kind regards,
>
>-- 
>Jonas Stein <news at jonasstein.de>
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list