Uwe Ligges <lig...@statistik.tu-dortmund.de> writes: > On 26.08.2015 12:23, Rainer M Krug wrote: >> Hi >> >> I am working on two packages, where one (EnergyBalance) contains >> general functions and the second package (EnergyBalancePaper) contains >> the data and the analysis of this specific day=ta using the general >> functions ion the package EnergyBalance. >> >> Now I am trying to clean the packages and I am running >> >> --8<---------------cut here---------------start------------->8--- >> R CMD build ./PACKAGE && R CMD check PACKAGE_0.0.1.tar.gz >> --8<---------------cut here---------------end--------------->8--- >> >> where everything works fine for EnergyBalance, but EnergyBalancePaper >> depends on EnergyBalance, and I get obviously the following error: >> >> ,---- >> | Package required but not available: ‘EnergyBalance’ >> `---- >> >> As they are both still under heavy development, I do not want to install >> them in my main library of R. >> >> Is there a way of telling R to use ./../library as a library as well in >> the command, or should I define a .Rprofile in the current diractory? >> >> What is the best approach in such a situation? > > Install into that other library and temporarily set R_LIBS_USER that > points to that additional library.
Nice - that even works with --vanilla Thanks, Rainer > > Best, > Uwe Ligges > > >> >> Thanks, >> >> Rainer >> >> >> >> ______________________________________________ >> R-package-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-package-devel >> -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug PGP: 0x0F52F982
signature.asc
Description: PGP signature
______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel