Skip to content

Commit 9ba6c87

Browse files
committed
only import stats::setNames() since stats has filter(), which conflicts with dplyr::filter()
1 parent b1a18fb commit 9ba6c87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

NAMESPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ export(wlr_weight_1)
5252
export(wlr_weight_fh)
5353
export(wlr_weight_mb)
5454
export(wlr_weight_n)
55-
import(stats)
5655
importFrom(Rcpp,sourceCpp)
5756
importFrom(data.table,":=")
5857
importFrom(data.table,as.data.table)
@@ -85,6 +84,7 @@ importFrom(gsDesign,sfLDOF)
8584
importFrom(mvtnorm,GenzBretz)
8685
importFrom(stats,pnorm)
8786
importFrom(stats,qnorm)
87+
importFrom(stats,setNames)
8888
importFrom(stats,stepfun)
8989
importFrom(stats,uniroot)
9090
importFrom(survival,Surv)

R/gsDesign2-package.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818

1919
#' @keywords internal
2020
#' @useDynLib gsDesign2, .registration = TRUE
21-
#' @import stats
21+
#' @importFrom stats setNames
2222
#' @importFrom Rcpp sourceCpp
2323
"_PACKAGE"

0 commit comments

Comments
 (0)