Skip to content

Commit

Permalink
fixed travis error
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Rinker committed Dec 18, 2017
1 parent 4405948 commit ca29513
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
28 changes: 11 additions & 17 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
Package: numform
Title: Tools to Format Numbers for Publication
Version: 0.4.1
Authors@R: c(person("Tyler", "Rinker", email = "tyler.rinker@gmail.com", role =
c("aut", "cre")))
Authors@R: c(person("Tyler", "Rinker", email = "tyler.rinker@gmail.com", role = c("aut", "cre")))
Maintainer: Tyler Rinker <tyler.rinker@gmail.com>
Description: Format numbers and plots for publication; includes the removal of
leading zeros, standardization of number of digits, addition of
affixes, and a p-value formatter. These tools combine the
functionality of several 'base' functions such as 'paste()',
'format()', and 'sprintf()' into specific use case functions that are
named in a way that is consistent with usage, making their names easy
to remember and easy to deploy.
Description: Format numbers and plots for publication; includes the removal of leading zeros, standardization of number
of digits, addition of affixes, and a p-value formatter. These tools combine the functionality of several
'base' functions such as 'paste()', 'format()', and 'sprintf()' into specific use case functions that are
named in a way that is consistent with usage, making their names easy to remember and easy to deploy.
Depends: R (>= 3.2.0)
Suggests: testthat
Date: 2017-12-15
Date: 2017-12-18
License: GPL-2
LazyData: TRUE
Roxygen: list(wrap = FALSE)
RoxygenNote: 6.0.1
Collate: 'alignment.R' 'as_factor.R' 'constants.R' 'f_12_hour.R' 'utils.R'
'f_abbreviation.R' 'f_affirm.R' 'f_affix.R' 'f_comma.R' 'f_date.R'
'f_degree.R' 'f_denom.R' 'f_dollar.R' 'f_logical.R' 'f_month.R'
'f_num.R' 'f_ordinal.R' 'f_pad_zero.R' 'f_parenthesis.R' 'f_percent.R'
'f_pval.R' 'f_quarter.R' 'f_replace.R' 'f_sign.R' 'f_state.R'
'f_title.R' 'f_weekday.R' 'f_wrap.R' 'f_year.R' 'fv_num_percent.R'
'fv_percent.R' 'fv_percent_diff.R' 'fv_runs.R' 'numform-package.R'
Collate: 'alignment.R' 'as_factor.R' 'constants.R' 'f_12_hour.R' 'utils.R' 'f_abbreviation.R' 'f_affirm.R' 'f_affix.R'
'f_comma.R' 'f_date.R' 'f_degree.R' 'f_denom.R' 'f_dollar.R' 'f_logical.R' 'f_month.R' 'f_num.R'
'f_ordinal.R' 'f_pad_zero.R' 'f_parenthesis.R' 'f_percent.R' 'f_pval.R' 'f_quarter.R' 'f_replace.R'
'f_sign.R' 'f_state.R' 'f_title.R' 'f_weekday.R' 'f_wrap.R' 'f_year.R' 'fv_num_percent.R' 'fv_percent.R'
'fv_percent_diff.R' 'fv_runs.R' 'numform-package.R'
2 changes: 2 additions & 0 deletions R/f_logical.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ ff_logical <- functionize(f_logical)

#' @export
#' @rdname f_logical
#' @param yes A value for \code{TRUE} elements.
#' @param no A value for \code{FALSE} elements.
f_response <- function(x, yes = 'Yes', no = 'No', ...) {

ifelse(as.logical(x), yes, no)
Expand Down
4 changes: 4 additions & 0 deletions man/f_logical.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ca29513

Please sign in to comment.