Open howardbaik opened 9 months ago
While going through this package, I want to jot down my observations:
@importFrom
package::function()
library(magrittr)
From the R Packages book:
The .R files below R/ should consist almost entirely of function definitions. Any other top-level code is suspicious and should be carefully reviewed for possible conversion into a function.
Thanks for these notes! Keep em' coming!
While going through this package, I want to jot down my observations:
@importFrom
above the functions and call external functions using thepackage::function()
syntax, according to the R packages book: https://r-pkgs.org/dependencies-in-practice.html#sec-dependencies-in-imports-r-codelibrary(magrittr)
seems odd: https://github.com/fhdsl/metricminer/blob/main/R/google-analytics.R#L3.From the R Packages book: