Hi, On Wednesday 13 October 2010, meik michalke wrote: > well, something like > > path <- tempfile(paste("rktests.", su...@id, sep="")) > if(!dir.create(path, recursive=TRUE)) { > stop(simpleError("Couldn't create temporary directory!")) > } > else { > assign(".rktest.temp.dir", path, envir=globalenv()) > } > > should do the job, shouldn't it?
yes. > would it be ok to set this as default values in the function, so that a > plain rktest.makeplugintests() would work for those standardised cases? > if you're not in the testroot dir, you just have to make sure to set it > accordingly, e.g.: > rktest.setSuiteStandards(suite, > basedir="~/.rkward/plugins/klausuR_rkward-0.9-8/klausuR_rkward/tests/") Yes, makes sense. > you can all easily install it via the new "push me" button (which works > perfectly here). While updating your package, I found that the previous version was still around, though. Apparently, KNewStuff simply isn't smart enough to remove it. Perhaps this can be worked around by not including the version in the archive/directory name? Regards Thomas
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb
_______________________________________________ RKWard-devel mailing list RKWard-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkward-devel