[Stacomir-commits] r528 - pkg/stacomir/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Sep 30 19:10:32 CEST 2018
Author: briand
Date: 2018-09-30 19:10:31 +0200 (Sun, 30 Sep 2018)
New Revision: 528
Modified:
pkg/stacomir/R/utilities.R
Log:
Modified: pkg/stacomir/R/utilities.R
===================================================================
--- pkg/stacomir/R/utilities.R 2018-09-30 17:09:23 UTC (rev 527)
+++ pkg/stacomir/R/utilities.R 2018-09-30 17:10:31 UTC (rev 528)
@@ -446,3 +446,10 @@
dbname <- gsub("DATABASE=","",aa[[1]][2])
return(dbname)
}
+#' Test that the program is installed.
+#' @return A logical checking if there is calcmig.csv folder
+stacomi_installed <- function (){
+filecsv<-"C:/Program Files/stacomi/calcmig.csv"
+test<-file.access(filecsv,0)==0
+return(test)
+}
\ No newline at end of file
More information about the Stacomir-commits
mailing list