Skip to content

Commit

Permalink
Update type-checking in RdTestV2 to be class-based (#727)
Browse files Browse the repository at this point in the history
* Initial commit

* Change previously made to wrong file - corrected now
  • Loading branch information
kjaisingh authored Sep 25, 2024
1 parent a436703 commit f064b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RdTest/RdTestV2.R
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@ intervals[, c(2:3)] <-
})
intervals <- data.frame(lapply(intervals, as.character), stringsAsFactors=FALSE)
results<-apply(intervals,1,runRdTest)
if(class(results)=="list") {
if(is.list(results)) {
results<-do.call(rbind,results)
} else {
results <- t(results)
Expand Down

0 comments on commit f064b2d

Please sign in to comment.