Import all functions once in R/gsDesign2-package.R, and remove the pkg:: qualifiers#464
Import all functions once in R/gsDesign2-package.R, and remove the pkg:: qualifiers#464LittleBeannie merged 5 commits intoMerck:mainfrom
R/gsDesign2-package.R, and remove the pkg:: qualifiers#464Conversation
LittleBeannie
left a comment
There was a problem hiding this comment.
Thanks for the comprehensive check and clean-up!
| #' @importFrom mvtnorm GenzBretz | ||
| #' @importFrom stats pnorm qnorm setNames stepfun uniroot | ||
| #' @importFrom tibble tibble | ||
| #' @importFrom utils tail |
There was a problem hiding this comment.
Personally I prefer the redundant imports at the top of each function. It gives you a better sense of how widely used a given dependency is, and how reliant any given function is on a particular dependency. I'm fine with going with whatever style the group decides on, but I wanted to note that I view the redundancy as a feature.
|
Apparently this is more of a personal preference and style guide thing so I'm afraid I can't be very helpful here. The R Packages book dependencies chapter currently pushes a style that qualifies external namespaces with |
|
I don't really have a strong opinion on this. My original motivation was that I saw sometimes we use |
Later in that section, they also support defining |
No description provided.