[rkward-devel] Downloadable plugins
meik michalke
meik.michalke at uni-duesseldorf.de
Wed Oct 6 16:13:33 UTC 2010
hi,
am Dienstag 05 Oktober 2010 (16:37) schrieb Thomas Friedrichsmeier:
> > from a first glance it should include all of tests/test_framework.R and a
> > somehow generalized form of tests/all_tests.R -- do you agree?
>
> Right.
i've just commited the first steps towards a working R package. it doesn't
really work yet, but it's close ;-) i've placed it under
rkward/rbackend/rpackages/rkwardtests.
i found roxygen to be pretty cool for documenting a package, keeping NAMESPACE
up to date etc. unfortunately, you need it as a dependecy (though not loaded
for a package). it could probably be stripped from the package afterwards.
for the package, i split the original framework R file into one long file with
stuff that is used internally only (and not documented), and one R file for
each class, method or function that needs to be exported. the latter already
have basic documentation in roxygen style. perhaps you could check if i made
the right decisions on that behalf so far. i'm now working on a new function
rktest.makeplugintests() which in the end should be about all that's needed to
run the tests on a given test suite. that is, it's like the all_tests.R script
turned into a function. i'd also like to move the function calls at the end of
each test suite file inside that function, which would mean you only need to
feed rktest.makeplugintests() with a test suite object or so.
what do you think?
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 40225 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/20101006/7153fcf6/attachment.sig>
More information about the Rkward-devel
mailing list