[Stacomir-commits] r210 - pkg/stacomir/inst/config
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Fri Sep 16 13:35:40 CEST 2016
Author: legrand
Date: 2016-09-16 13:35:40 +0200 (Fri, 16 Sep 2016)
New Revision: 210
Modified:
pkg/stacomir/inst/config/testthat.R
Log:
Modified: pkg/stacomir/inst/config/testthat.R
===================================================================
--- pkg/stacomir/inst/config/testthat.R 2016-09-15 20:09:28 UTC (rev 209)
+++ pkg/stacomir/inst/config/testthat.R 2016-09-16 11:35:40 UTC (rev 210)
@@ -1,4 +1,17 @@
require(testthat)
test_dir("F:/workspace/stacomir/pkg/stacomir/inst/tests/testthat")
+getUsername <- function(){
+ name <- Sys.info()[["user"]]
+ return(name)
+}
+if(getUsername() == 'cedric.briand')
+{
+ test_dir("F:/workspace/stacomir/pkg/stacomir/inst/tests/testthat")
+}
+if(getUsername() == 'marion.legrand')
+{
+ test_dir("C:/Users/logrami/workspace/stacomir/pkg/stacomir/inst/tests/testthat")
+}
+
More information about the Stacomir-commits
mailing list