search for: svunit

Displaying 9 results from an estimated 9 matches for "svunit".

Did you mean: sunit
2009 Oct 05
3
unit testing for R packages?
Hi All, I'm interested in putting some unit tests into an R package I'm building. I have seen assorted things such as Runit library, svUnit library, packages with 'tests' directories, etc I grep'd "unit test" through the writing R extensions manual but didn't find anything. Are there any suggestions out there? Currently I have several (a lot?) classes/methods that I keep tinkering with, and I'd like to...
2009 Jan 15
2
R package tests
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I was wondering if anyone could point me in the right direction for reading up on writing tests in R. I'm writing some functions for inclusion into a package and would like to test them to ensure they're doing what I expect them to do. Are these approaches used for testing packages in CRAN? Cheers, Nathan - -- -
2012 Mar 02
1
seeing feedback when R CMD check pkg runs unit tests.
good day here, I'm maintaining a couple of R modules, both on r-forge. tests for these modules are written making use of unit testing, and I make use of the svUnit module, part of SciViews-R. I also make use of examples in the .Rd files. my question regards 'R CMD check pkg'. if an _example_ is not run correctly, I get clear feedback on the command line where I run 'R CMD check pkg'. _unit tests_ on the other hand may give failure or error...
2011 Feb 05
1
Reading a specific file during "R CMD check"?
...m.file('rawdata', package='MyPackage')". However, this will only work if the desired data are already in a version of 'MyPackage' that is already installed. If I change the data, this will return the old data, not the modified. I've looked at packages RUnit and svUnit, but have not spent enough time with either to know if they include a solution to this problem. Thanks for your help. Spencer -- Spencer Graves, PE, PhD President and Chief Operating Officer Structure Inspection and Monitoring, Inc. 751 Emerson Ct. San Jos?, CA 95126 ph: 408-65...
2009 Jan 31
1
Test Driven Development in R
...e is an alpha, but working implementation of TDD for Komodo edit: www.sciviews.org/SciViews-K/index.html The editor has a green bar that becomes red as soon as one edits a function, and that edit breaks the tests. This is tremendously useful. Using Gmane search, the only mention I could find on svUnit was: http://thread.gmane.org/gmane.comp.lang.r.general/136632/focus=136662 I think this could make a great UseR 2009 talk. Ideally, by someone with more R experience than me, and even more ideally by Philippe Grosjean :), but it push comes to shove, I could prepare such a talk. Would this be in...
2012 May 17
2
test suites for packages
Can anyone share some opinions on test suites for R packages? I'm looking at testthat and RUnit. Does anyone have strong opinions on either of those. Any additional packages I should consider? Thanks, Whit
2009 Jun 10
0
License quandry in the Fedora sub-space of all R packages
...= 2) R-sp GPL (>= 2) R-SparseM GPL (>= 2) R-spatstat GPL-2 R-strucchange GPL (>= 2) R-svDialogs GPL (>= 2) R-svGUI GPL (>= 2) R-svIDE GPL (>= 2) R-svMisc GPL (>= 2) R-svSocket GPL (>= 2) R-svTools GPL (>= 2) R-svUnit GPL (>= 2) R-svWidgets GPL (>= 2) R-systemfit GPL (>= 2) R-timeDate GPL (>= 2) R-timeSeries GPL-2 R-tseries GPL (>=2) R-urca GPL-2 R-VGAM GPL (>= 2) R-xtable GPL-2 R-zoo GPL (>= 3) R-corpcor GPL-3 R-IBrokers GPL-3 R-open...
2011 Aug 22
2
Wiki/revision control to management of CRAN package repository
I propose the following humbly, with little know how as to how to implement, and realize it may have been proposed many times. It is just something I had on my mind. Would it be possible/desirable to have the whole CRAN package repository accessible through a public wiki, forge or version control interface (ideally a fusion of the wiki and forge approach)? It appears it would be a first for a
2010 Jul 18
6
CRAN (and crantastic) updates this week
...ncs (2.01-27), sqldf (0.3-5), st (1.1.4), stab (0.0.8), StatDataML (1.0-20), StatFingerprints (2.0), statmod (1.4.6), stockPortfolio (1.1), stringkernels (0.8.9), SubpathwayMiner (3.0), surveillance (1.2-1), survey (3.22-2), SV (1.2.4), svcR (1.6.4), svGUI (0.9-47), svIDE (0.9-49), svMisc (0.9-57), svUnit (0.7-2), SweaveListingUtils (0.4.5), tawny (1.2.1), tdm (2.2.2), tensorA (0.35), termstrc (1.3.1), textcat (0.0-3), tgp (2.3-3), TGUICore (0.9.10), TGUITeaching (0.9.10), time (1.1), timeDate (2120.89), timereg (1.3-4), timeSeries (2120.88), tis (1.12), tm.plugin.mail (0.0-3), tnet (2.7.1), toleran...