Skip to content

Commit

Permalink
only import stats::setNames() since stats has filter(), which conflic…
Browse files Browse the repository at this point in the history
…ts with dplyr::filter()
  • Loading branch information
yihui committed Sep 5, 2024
1 parent b1a18fb commit 9ba6c87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export(wlr_weight_1)
export(wlr_weight_fh)
export(wlr_weight_mb)
export(wlr_weight_n)
import(stats)
importFrom(Rcpp,sourceCpp)
importFrom(data.table,":=")
importFrom(data.table,as.data.table)
Expand Down Expand Up @@ -85,6 +84,7 @@ importFrom(gsDesign,sfLDOF)
importFrom(mvtnorm,GenzBretz)
importFrom(stats,pnorm)
importFrom(stats,qnorm)
importFrom(stats,setNames)
importFrom(stats,stepfun)
importFrom(stats,uniroot)
importFrom(survival,Surv)
Expand Down
2 changes: 1 addition & 1 deletion R/gsDesign2-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@

#' @keywords internal
#' @useDynLib gsDesign2, .registration = TRUE
#' @import stats
#' @importFrom stats setNames
#' @importFrom Rcpp sourceCpp
"_PACKAGE"

0 comments on commit 9ba6c87

Please sign in to comment.