Skip to content

Commit

Permalink
Update ttest.r
Browse files Browse the repository at this point in the history
  • Loading branch information
jjlynch2 authored Mar 6, 2024
1 parent a0e4a21 commit 084140d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/ttest.r
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ ttest <- function (refa = NULL, refb = NULL, sorta = NULL, sortb = NULL, session
print("Comparisons started")
start_time <- start_time()
options(warn = -1) #disables warnings
if(is.na(sorta) || is.null(sorta)) {return(NULL)}
if(is.na(sortb) || is.null(sortb)) {return(NULL)}
if(is.na(refa) || is.null(refa)) {return(NULL)}
if(is.na(refb) || is.null(refb)) {return(NULL)}
if(all(is.na(sorta)) || is.null(sorta)) {return(NULL)}
if(all(is.na(sortb)) || is.null(sortb)) {return(NULL)}
if(all(is.na(refa)) || is.null(refa)) {return(NULL)}
if(all(is.na(refb)) || is.null(refb)) {return(NULL)}

direc <- OsteoSort:::analytical_temp_space(output_options, sessiontempdir) #creates temporary space
sd <- paste(sessiontempdir, direc, sep="/")
Expand Down

0 comments on commit 084140d

Please sign in to comment.