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
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