From e6898bb2008c5ccba92758a32b2b7cf23ec9e8fb Mon Sep 17 00:00:00 2001 From: dgrtwo Date: Tue, 5 May 2015 16:43:30 -0400 Subject: [PATCH] Fixes for CRAN submission --- DESCRIPTION | 4 ++-- LICENSE | 2 +- NEWS.md | 4 ++-- R/survival_tidiers.R | 2 +- cran-comments.md | 27 +++++++++++++++++++++------ man/aareg_tidiers.Rd | 2 +- 6 files changed, 28 insertions(+), 13 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 59d96993b..2a6c59c4b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: broom Type: Package Title: Convert Statistical Analysis Objects into Tidy Data Frames -Version: 0.3.6 -Date: 2015-02-17 +Version: 0.3.7 +Date: 2015-05-05 Authors@R: c( person("David", "Robinson", email = "admiral.david@gmail.com", role = c("aut", "cre")), person("Matthieu", "Gomez", email = "mattg@princeton.edu", role = "ctb"), diff --git a/LICENSE b/LICENSE index f03f7d7a8..ffc9a7f37 100644 --- a/LICENSE +++ b/LICENSE @@ -1,2 +1,2 @@ -YEAR: 2014 +YEAR: 2015 COPYRIGHT HOLDER: David Robinson diff --git a/NEWS.md b/NEWS.md index 9a7f5bc5a..b50b5b67e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -7,9 +7,9 @@ broom 0.3.6.9000 * Added `tidy` and `glance` for "biglm" and "bigglm" objects from the biglm package. * Fixed bug in `tidy.coxph` when one-row matrices are returned * Added `tidy.power.htest` -* Add `tidy` and `glance` for `summaryDefault` objects +* Added `tidy` and `glance` for `summaryDefault` objects * Added tidiers for "lme" (linear mixed effects models) from the nlme package -* Add `tidy` and `glance` for `multinom` objects from the nnet package. +* Added `tidy` and `glance` for `multinom` objects from the nnet package. broom 0.3.6 ----------- diff --git a/R/survival_tidiers.R b/R/survival_tidiers.R index 470b65a0a..32cea9b30 100644 --- a/R/survival_tidiers.R +++ b/R/survival_tidiers.R @@ -21,7 +21,7 @@ #' #' @examples #' -#' if (require("survival", quietly)) { +#' if (require("survival", quietly = TRUE)) { #' afit <- aareg(Surv(time, status) ~ age + sex + ph.ecog, data=lung, #' dfbeta=TRUE) #' summary(afit) diff --git a/cran-comments.md b/cran-comments.md index 9b845fe6f..7c90c9cb8 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,16 +1,31 @@ -broom 0.3.6 +broom 0.3.7 ----------- -This is a resubmission: +## Changes -* Changed Title field to title case ("Into" to "into") +* Added tidiers for "plm" (panel linear model) objects from the plm package. +* Added `tidy.coeftest` for coeftest objects from the lmtest package. +* Set up `tidy.lm` to work with "mlm" (multiple linear model) objects (those with multiple response columns). +* Added `tidy` and `glance` for "biglm" and "bigglm" objects from the biglm package. +* Fixed bug in `tidy.coxph` when one-row matrices are returned +* Added `tidy.power.htest` +* Added `tidy` and `glance` for `summaryDefault` objects +* Added tidiers for "lme" (linear mixed effects models) from the nlme package +* Added `tidy` and `glance` for `multinom` objects from the nnet package. ## Test environments -* local OS X install, R 3.1.2 +* local OS X install, R 3.2.0 * win-builder (devel and release) ## R CMD check results -There were no ERRORs, WARNINGs or NOTEs. +There were no ERRORs or WARNINGs. There was one NOTE: + + Possibly mis-spelled words in DESCRIPTION: + dplyr (17:21) + ggplot (17:38) + tidyr (17:28) + +These are the names of packages and are correctly spelled. ## Reverse dependencies -Broom has no reverse dependencies. +Broom has one reverse dependency, radiant. I ran R CMD check on radiant 0.1.83 with broom 0.3.7 and it showed no ERRORs, WARNINGs, or NOTEs. diff --git a/man/aareg_tidiers.Rd b/man/aareg_tidiers.Rd index 60c5b0abd..36a1e2731 100644 --- a/man/aareg_tidiers.Rd +++ b/man/aareg_tidiers.Rd @@ -38,7 +38,7 @@ the columns These tidy the coefficients of Aalen additive regression objects. } \examples{ -if (require("survival", quietly)) { +if (require("survival", quietly = TRUE)) { afit <- aareg(Surv(time, status) ~ age + sex + ph.ecog, data=lung, dfbeta=TRUE) summary(afit)