[Stacomir-commits] r514 - pkg/stacomir/tests

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Sep 26 13:58:04 CEST 2018


Author: legrand
Date: 2018-09-26 13:58:04 +0200 (Wed, 26 Sep 2018)
New Revision: 514

Modified:
   pkg/stacomir/tests/testthat.R
Log:
Add path if getUser is not Cedric or Marion

Modified: pkg/stacomir/tests/testthat.R
===================================================================
--- pkg/stacomir/tests/testthat.R	2018-09-26 09:21:26 UTC (rev 513)
+++ pkg/stacomir/tests/testthat.R	2018-09-26 11:58:04 UTC (rev 514)
@@ -23,10 +23,12 @@
 if(getUsername() == 'cedric.briand')
 {
   test_dir("C:/workspace/stacomir/pkg/stacomir/tests/testthat")
-}
-if(getUsername() == 'marion.legrand')
+} else if(getUsername() == 'marion.legrand')
 {
   test_dir("C:/Users/logrami/workspace/stacomir/pkg/stacomir/tests/testthat")
+} else
+{
+	test_dir("./tests/testthat")
 }
 
 test_file(stringr::str_c(getwd(),"/tests/testthat/test-00-stacomir.R"))



More information about the Stacomir-commits mailing list