diff --git a/DESCRIPTION b/DESCRIPTION index a2acba8..243a0ab 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,10 +1,10 @@ Package: philsfmisc Type: Package Title: philsf's miscellaneous R functions -Version: 0.6.0 +Version: 0.6.1 Authors@R: person("Felipe", "Figueiredo", email = "philsf79@gmail.com", role = c("aut", "cre")) Description: Miscellaneous R functions for convenient data analyses. -License: GPL-2 +License: file LICENSE Encoding: UTF-8 LazyData: true URL: https://github.com/philsf/philsfmisc diff --git a/NEWS.md b/NEWS.md new file mode 100644 index 0000000..43aa006 --- /dev/null +++ b/NEWS.md @@ -0,0 +1,20 @@ +# philsfmisc 0.6.1 + +- Styles updated #41 +- Print the percent sign optionally in format.pct #40 + +# philsfmisc 0.6.0 + +# philsfmisc 0.5.1 + +# philsfmisc 0.5.0 + +# philsfmisc 0.4.0 + +# philsfmisc 0.3.0 + +# philsfmisc 0.2.1 + +# philsfmisc 0.2.0 + +# philsfmisc 0.1.0 diff --git a/R/format.pct.R b/R/format.pct.R index 278919e..c77e284 100644 --- a/R/format.pct.R +++ b/R/format.pct.R @@ -1,4 +1,4 @@ -format.pct <- function(p, digits = 1, pct.symbol = TRUE) { +format.pct <- function(p, digits = 1, pct.symbol = FALSE) { symbol <- "%" if (!pct.symbol) symbol <- NULL paste0(format.float(p*100, digits), symbol) diff --git a/inst/rmarkdown/templates/Relatorio/skeleton/misc/style.docx b/inst/rmarkdown/templates/Relatorio/skeleton/misc/style.docx index e4bdc61..16b8d33 100755 Binary files a/inst/rmarkdown/templates/Relatorio/skeleton/misc/style.docx and b/inst/rmarkdown/templates/Relatorio/skeleton/misc/style.docx differ