R/create.R

Defines functions create.shell

Documented in create.shell

#' @title Create a template shell script of mMARCH.AC   
#' @description Create a template shell script of mMARCH.AC, named as STUDYNAME_part0.maincall.R. 
#'  
#'
#'
#'  
#'
#' 
#'
#' @return  The function will create a template shell script of mMARCH.AC in the current directory, names as STUDYNAME_part0.maincall.R
#'
#' @export 
#'



 



create.shell<-function(){
 
inFN<-system.file("template", "STUDYNAME_module0.maincall.txt", package = "mMARCH.AC") 
 
d<-readLines(inFN)  
write(d,file="STUDYNAME_module0.maincall.R",ncolumns=1)  
print(paste("Write a template shell script: STUDYNAME_part0.maincall.R into ",getwd(),sep=""))
}

Try the mMARCH.AC package in your browser

Any scripts or data that you put into this service are public.

mMARCH.AC documentation built on June 8, 2025, 1:24 p.m.