search for: errordemo

Displaying 3 results from an estimated 3 matches for "errordemo".

Did you mean: error_demo
2008 Dec 17
3
"Error: bad value" problem
...appening with version 2.5.0), but I figure it would be worth giving people a chance to tell me I'm an idiot before reporting it as such. In case anybody would like to try and see the error for themselves, I have uploaded some files to http://www.homepages.ucl.ac.uk/~ucakarc/Rtest/. The file ErrorDemo.r is the main script - see the file header there for more details. Files momfit.r and elmstats.dat are also required for this example to work. I'm sorry that it isn't a very simple example, but I haven't seen a simple illustration of the problem (and I couldn't find any example...
2008 Dec 17
3
"Error: bad value" problem
...appening with version 2.5.0), but I figure it would be worth giving people a chance to tell me I'm an idiot before reporting it as such. In case anybody would like to try and see the error for themselves, I have uploaded some files to http://www.homepages.ucl.ac.uk/~ucakarc/Rtest/. The file ErrorDemo.r is the main script - see the file header there for more details. Files momfit.r and elmstats.dat are also required for this example to work. I'm sorry that it isn't a very simple example, but I haven't seen a simple illustration of the problem (and I couldn't find any example...
2006 Feb 04
1
RUnit - need advice on a good directory structure or tips...
...2f <- function() { # print(currentPath) checkEquals(c2f(0), 32) checkEquals(c2f(10), 50) checkException(c2f("xx")) } test.f2c <- function() { checkEquals(f2c(32), 0) checkEquals(f2c(50), 10) checkTrue(identical(f2c(50),10)) checkException(f2c("xx")) } test.errordemo <- function() { DEACTIVATED("Fanta long star king") stop("this is just to show what an error looks like as opposed to a failure") } ================================================== ################################################## ## ../tests/suite_foo.r ## ##...