Skip to content

Commit

Permalink
use :: instead of import
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Aug 1, 2018
1 parent 5d54d22 commit 61bd574
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ export(reformat_code)
export(roxygen_and_build)
import(utils)
importFrom(formatR,tidy_source)
importFrom(roxygen2,roxygenize)
3 changes: 1 addition & 2 deletions R/build.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#' @return \code{NULL}
#' @author Yihui Xie <\url{http://yihui.name}>
#' @rdname roxygen_and_build
#' @importFrom roxygen2 roxygenize
#' @import utils
#' @export
#' @examples \dontrun{
Expand All @@ -39,7 +38,7 @@ roxygen_and_build = function(
if (missing(pkg)) pkg = head(commandArgs(TRUE), 1)
if (length(pkg) != 1) stop('The package directory must be one character string')
in_dir(pkg, before)
roxygenize(pkg, ...)
roxygen2::roxygenize(pkg, ...)
if (reformat) {
message('Reformatting usage and examples')
rd.list = list.files(
Expand Down

0 comments on commit 61bd574

Please sign in to comment.