[rkward-devel] Dependencies and 'about' information for plugins

meik michalke meik.michalke at uni-duesseldorf.de
Thu Feb 21 11:46:57 UTC 2013


hi,

Am Mittwoch, 20. Februar 2013, 17:32:37 schrieb Thomas Friedrichsmeier:
> On Saturday 16 February 2013, meik michalke wrote:
> >   - rk.XML.matrix()
> 
> Works expect for horiz_headers / vert_headers. Try
>   rk.XML.matrix ("test", vert_headers=c ("a", "b"))

oops, mixed up "sep" with "collapse", is fixed now.

> >   - rk.XML.dependencies()
> >   - rk.XML.dependency_check()
> 
> These look ok to me. I wonder if rk.XML.dependency_check() could be made to
> rely on rk.XML.dependencies, instead of duplicating the code?

right, done.

> At first I tried testing those from the plugin_skeleton plugin
> (Export->Create RKWard plugin skeleton).

oh, well, i wasn't there just yet... in fact, rk.plugin.skeleton() didn't know 
about the new <dependencies> placement until last night, and neither did the 
skeleton plugin.

i've worked on both, try again :-)

>   Error in check.deps.pckg & ((isTRUE(suggest) & identical(mode, "suggest"))
> |
> 
>     operations are possible only for numeric, logical or complex types
>     Calls: local ... rk.plugin.skeleton -> data.frame -> XML2dependencies

the internal function XML2dependencies() still tried to fetch dependencies 
from <about>, *and* i probably misplaced a bracket of an any() call when 
cleaning up.

which leads me to: the package really needs a bunch of unit tests... similar 
to the XiMpLe package, they're run automatically at package checks:
http://svn.code.sf.net/p/rkward/code/trunk/rkward/packages/XiMpLe/inst/tests/tests.R
if anyone has some time to spend, please help me out here. just drop me a 
note, i'll guide you through ;-)


viele grüße :: m.eik

-- 
dipl. psych. meik michalke
institut f"ur experimentelle psychologie
abt. f"ur diagnostik und differentielle psychologie
heinrich-heine-universit"at d-40204 d"usseldorf
-------------- 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/20130221/5457f786/attachment.sig>


More information about the Rkward-devel mailing list