[rkward-devel] Status update

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Mon Jul 20 18:50:07 UTC 2009


Hi,

On Thursday 16 July 2009, meik michalke wrote:
> first of all, there seem to be two show stopping typos in the wiki:

true, fixed.

> [think i could use a wiki account as well ;-)]

Definitely! See 
http://sourceforge.net/apps/mediawiki/rkward/index.php?title=Help:Wiki_Editing 
for instructions on how to get one (no, unforunately, there is no shortcut to 
this procedure, for technical reasons).

>  - when trying "run -> run all" on any test file from a running rkward
>    session, i get only an error that the directory cannot be changed. this
>    doesn't happen when i run them in an instance of rkward that was started
> by "make plugintests". is that to be expected? there should be some
> information in the docs on that.

You need to cd to the tests/ directory first (e.g. using Run->CD to script 
directory). I've added a line to the wiki.

>    but when i start them from inside the very same running rkward session,
>    they pass without errors. frankly, i don't get it ;-)

That was a bug in the framework, and should now be fixed in SVN.

You might still run into the underlying problem, in some less commonplace 
situations. It was a missing call to rk.sync.global() as documented in the 
"Common Pitfalls" section. (But again, in this case it should have worked out 
of the box, and does, now).

> it took me a little trial and error to find out how i can finally run a
> test i've created. when i was ready to test my first script, it didn't seem
> quite obvious what to do, actually. it couldn't be run within a normal
> rkward session, so i added it to all_tests.R and did it the "make" way. is
> there another way?

I've added a - short - section in the wiki page. As written above: What you 
were missing was the step to cd to the tests/ directory, first.

> some elaborate information on how to actually run and
> debug new test scripts would be very useful.
>
> here's what i've done so far, which is not much yet, perhaps you find some
> bugs:
>  o http://reaktanz.de/stuff/R/irt_tests.tar.bz2

That's absolutely correct! More of that, please!

Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20090720/c18c332c/attachment.sig>


More information about the Rkward-devel mailing list