R/search.evidence.R

Defines functions search.evidence

search.evidence <-
function(path){
		funTemp 	<- list.files(paste(dirname(path),"combined/txt/",sep = "/"),pattern = "evidence.txt",full.names = T)
	if(length(funTemp) > 0){
		cat("\rfound evidence.txt",rep(" ",100))
		return(funTemp)
	}else{
		funTemp 	<- list.files(dirname(path),pattern = "evidence.txt",full.names = T)
			if(length(funTemp) > 0){
				return(funTemp)
			}else{
				
		cat("\rfound no evidence.txt",rep(" ",100))
		return(NULL)	
			}

	}
}

Try the mqqc package in your browser

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

mqqc documentation built on July 30, 2020, 3 p.m.