Skip to content

Commit

Permalink
manually export function names with dots (related to #38)
Browse files Browse the repository at this point in the history
This hack makes the NAMESPACE auto-creation work as intended, although
a warning is issued.
  • Loading branch information
philsf committed Oct 16, 2018
1 parent 7b6413c commit fa4b0c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/format.float.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#' transform(DF, num = format.float(num), char = format.float(char))
#'
#' @author Felipe Figueiredo
#' @export
#' @export format.float

format.float <- function(x, digits = 2) {
x <- suppressWarnings(as.numeric(x))
Expand Down
2 changes: 1 addition & 1 deletion R/format.interval.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#' format.interval(c("1.756", "1.823"))
#'
#' @author Felipe Figueiredo
#' @export
#' @export format.interval

format.interval <- function(interval, digits = 2) {
if (is.null(interval)) return(NULL) # if no argument passed, return
Expand Down
2 changes: 1 addition & 1 deletion R/format.pct.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#' format.pct(fisher.test(m)$conf.int)
#'
#' @author Felipe Figueiredo
#' @export
#' @export format.pct

format.pct <- function(p, digits = 1, pct.symbol = FALSE) {
symbol <- "%"
Expand Down

0 comments on commit fa4b0c9

Please sign in to comment.