[rkward-devel] rkwardtests package: done :-)

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Thu Oct 14 08:17:06 UTC 2010


Hi,

On Wednesday 13 October 2010, meik michalke wrote:
> well, something like
> 
>     path <- tempfile(paste("rktests.", suite at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20101014/2e4f0ad5/attachment.sig>


More information about the Rkward-devel mailing list