Closed saptarshiguha closed 9 years ago
Excellent! Thanks Saptarshi. Since we don't have an automatic testing procedure in place, did you by chance run through the tests in / src / test / R / install-test ? I think there is a way to do this as part of the ant build, but I don't see it documented in the README. @rperko3 or @amwhite, would you be able to elaborate on the correct way to run the tests?
Would be happy to run the tests. Is there an official approach?
I think the current approach is the following:
library(testthat)
test_package("Rhipe")
To see what is going on, several test scripts are supplied with the package, located here:
list.files(file.path(system.file(package = "Rhipe"), "tests", "testthat"))
If you want to selectively run only some of them, you can try the following, for example:
test_package("Rhipe", "simple-mr")
@amwhite might have more input.
I’m not entirely sure the tests are set up in the way that test_package will work (they’re required to be in a specific directory for that). If not, you can use the test_dir or test_file functions instead on any file in the src/test/R/install-test directory.
Amanda
From: hafen [mailto:notifications@github.com] Sent: Monday, October 27, 2014 5:41 PM To: tesseradata/RHIPE Cc: White, Amanda M Subject: Re: [RHIPE] Changes to make RHIPE work CDH5 RHEL (#11)
I think the current approach is the following:
library(testthat)
test_package("Rhipe")
To see what is going on, several test scripts are supplied with the package, located here:
list.files(file.path(system.file(package = "Rhipe"), "tests", "testthat"))
If you want to selectively run only some of them, you can try the following, for example:
test_package("Rhipe", "simple-mr")
@amwhitehttps://github.com/amwhite might have more input.
— Reply to this email directly or view it on GitHubhttps://github.com/tesseradata/RHIPE/pull/11#issuecomment-60693921.