Skip to content

Commit

Permalink
call=T in warning()
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengxwen committed Feb 12, 2024
1 parent 19af345 commit 346c5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/LD.R
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ snpgdsLDpruning <- function(gdsobj, sample.id=NULL, snp.id=NULL,
if (num.thread > 1L)
{
warning("The current version of 'snpgdsLDpruning()' ",
"does not support multi-threading.", immediate.=TRUE)
"does not support multi-threading.", call.=FALSE, immediate.=TRUE)
}
stopifnot(is.logical(verbose), length(verbose)==1L)

Expand Down

0 comments on commit 346c5d9

Please sign in to comment.