diff --git a/DESCRIPTION b/DESCRIPTION index 00f4dfc60..9bde8dea4 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: broom Title: Convert Statistical Objects into Tidy Tibbles -Version: 1.0.0.9000 +Version: 1.0.1 Authors@R: c(person(given = "David", family = "Robinson", diff --git a/NEWS.md b/NEWS.md index 23f8e77a7..ab687bdfb 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,4 @@ -# broom 1.0.0.9000 (developmental version) - -To be released as broom 1.0.1. +# broom 1.0.1 * Improves performance of `tidy.lm()` and `tidy.glm()` for full-rank fits (#1112 by `@capnrefsmmat`). * Moves forward with deprecation of tidiers for sparse matrices outputted from the Matrix package, initially soft-deprecated in broom 0.5.0. The Matrix tidiers were light wrappers around coercion methods that will now be deprecated from Matrix itself in the upcoming 1.4-2 release. The affected methods are `tidy.sparseMatrix()`, `tidy.dgCMatrix()`, and `tidy.dgTMatrix()`. Note that `tidy.confusionMatrix()`, for relevant objects outputted from the caret package, is unaffected (#1113). diff --git a/R/cluster-tidiers.R b/R/cluster-tidiers.R index 446580ce8..296ff46d9 100644 --- a/R/cluster-tidiers.R +++ b/R/cluster-tidiers.R @@ -25,7 +25,7 @@ #' @seealso [tidy()], [cluster::pam()] #' @family pam tidiers # skip running examples - occasionally over CRAN check time limit -#' @examplesIf (rlang::is_installed("cluster") & rlang::is_installed("modeldata")) +#' @examplesIf (rlang::is_installed("cluster") & rlang::is_installed("modeldata") && identical(Sys.getenv("NOT_CRAN"), "true")) #' #' # load libraries for models and data #' library(dplyr) diff --git a/R/spdep-tidiers.R b/R/spdep-tidiers.R index 624b85f39..1de39cb23 100644 --- a/R/spdep-tidiers.R +++ b/R/spdep-tidiers.R @@ -11,7 +11,7 @@ #' @evalRd return_tidy(regression = TRUE) #' # skip running examples - occasionally over CRAN check time limit -#' @examplesIf (rlang::is_installed("spdep") & rlang::is_installed("spatialreg")) +#' @examplesIf (rlang::is_installed("spdep") & rlang::is_installed("spatialreg") && identical(Sys.getenv("NOT_CRAN"), "true")) #' #' #' # load libraries for models and data diff --git a/R/stats-kmeans-tidiers.R b/R/stats-kmeans-tidiers.R index d6ed8f25d..ca4b1c224 100644 --- a/R/stats-kmeans-tidiers.R +++ b/R/stats-kmeans-tidiers.R @@ -9,7 +9,7 @@ #' @evalRd return_tidy("size", "withinss", "cluster") #' # skip running examples - occasionally over CRAN check time limit -#' @examplesIf (rlang::is_installed("cluster") & rlang::is_installed("modeldata")) +#' @examplesIf (rlang::is_installed("cluster") & rlang::is_installed("modeldata") && identical(Sys.getenv("NOT_CRAN"), "true")) #' #' library(cluster) #' library(modeldata) diff --git a/cran-comments.md b/cran-comments.md index fbaa3aeee..341cda92b 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,5 +1,3 @@ -# broom 0.8.0.9000 - ## R CMD check results 0 WARNINGS, 0 ERRORS, 0 NOTES. @@ -8,5 +6,7 @@ We checked 203 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. - * We saw 0 new problems + * We saw 1 new problem * We failed to check 0 packages + +The new failure arose in checks for the widyr package. We filed an issue as well as a pull request with the needed fixes for their package on Monday, August 15th. See https://github.com/dgrtwo/widyr/issues/40 for more details. diff --git a/man/augment.kmeans.Rd b/man/augment.kmeans.Rd index 4e0dfbd56..d7a7407e3 100644 --- a/man/augment.kmeans.Rd +++ b/man/augment.kmeans.Rd @@ -72,7 +72,7 @@ We are in the process of defining behaviors for models fit with various missing at this time. } \examples{ -\dontshow{if ((rlang::is_installed("cluster") & rlang::is_installed("modeldata"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if ((rlang::is_installed("cluster") & rlang::is_installed("modeldata") && identical(Sys.getenv("NOT_CRAN"), "true"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} library(cluster) library(modeldata) diff --git a/man/augment.pam.Rd b/man/augment.pam.Rd index 15e26efe4..3469f3d67 100644 --- a/man/augment.pam.Rd +++ b/man/augment.pam.Rd @@ -72,7 +72,7 @@ We are in the process of defining behaviors for models fit with various missing at this time. } \examples{ -\dontshow{if ((rlang::is_installed("cluster") & rlang::is_installed("modeldata"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if ((rlang::is_installed("cluster") & rlang::is_installed("modeldata") && identical(Sys.getenv("NOT_CRAN"), "true"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} # load libraries for models and data library(dplyr) diff --git a/man/augment.sarlm.Rd b/man/augment.sarlm.Rd index 3c983c782..ad673bf32 100644 --- a/man/augment.sarlm.Rd +++ b/man/augment.sarlm.Rd @@ -74,7 +74,7 @@ original data can be recovered from the fit object, this method currently does not take in \code{data} or \code{newdata} arguments. } \examples{ -\dontshow{if ((rlang::is_installed("spdep") & rlang::is_installed("spatialreg"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if ((rlang::is_installed("spdep") & rlang::is_installed("spatialreg") && identical(Sys.getenv("NOT_CRAN"), "true"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} # load libraries for models and data diff --git a/man/glance.kmeans.Rd b/man/glance.kmeans.Rd index c757abdf9..f92370256 100644 --- a/man/glance.kmeans.Rd +++ b/man/glance.kmeans.Rd @@ -43,7 +43,7 @@ that no longer have a well-defined value are filled in with an \code{NA} of the appropriate type. } \examples{ -\dontshow{if ((rlang::is_installed("cluster") & rlang::is_installed("modeldata"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if ((rlang::is_installed("cluster") & rlang::is_installed("modeldata") && identical(Sys.getenv("NOT_CRAN"), "true"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} library(cluster) library(modeldata) diff --git a/man/glance.pam.Rd b/man/glance.pam.Rd index 58a23cba0..cf6193071 100644 --- a/man/glance.pam.Rd +++ b/man/glance.pam.Rd @@ -43,7 +43,7 @@ that no longer have a well-defined value are filled in with an \code{NA} of the appropriate type. } \examples{ -\dontshow{if ((rlang::is_installed("cluster") & rlang::is_installed("modeldata"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if ((rlang::is_installed("cluster") & rlang::is_installed("modeldata") && identical(Sys.getenv("NOT_CRAN"), "true"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} # load libraries for models and data library(dplyr) diff --git a/man/glance.sarlm.Rd b/man/glance.sarlm.Rd index 0fe63fb9e..a0ebf18a7 100644 --- a/man/glance.sarlm.Rd +++ b/man/glance.sarlm.Rd @@ -44,7 +44,7 @@ that no longer have a well-defined value are filled in with an \code{NA} of the appropriate type. } \examples{ -\dontshow{if ((rlang::is_installed("spdep") & rlang::is_installed("spatialreg"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if ((rlang::is_installed("spdep") & rlang::is_installed("spatialreg") && identical(Sys.getenv("NOT_CRAN"), "true"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} # load libraries for models and data diff --git a/man/tidy.kmeans.Rd b/man/tidy.kmeans.Rd index bb512e035..70b3aa7d6 100644 --- a/man/tidy.kmeans.Rd +++ b/man/tidy.kmeans.Rd @@ -35,7 +35,7 @@ If a model has several distinct types of components, you will need to specify which components to return. } \examples{ -\dontshow{if ((rlang::is_installed("cluster") & rlang::is_installed("modeldata"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if ((rlang::is_installed("cluster") & rlang::is_installed("modeldata") && identical(Sys.getenv("NOT_CRAN"), "true"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} library(cluster) library(modeldata) diff --git a/man/tidy.pam.Rd b/man/tidy.pam.Rd index 77a5b3cae..d6b31b6f9 100644 --- a/man/tidy.pam.Rd +++ b/man/tidy.pam.Rd @@ -38,7 +38,7 @@ specify which components to return. For examples, see the pam vignette. } \examples{ -\dontshow{if ((rlang::is_installed("cluster") & rlang::is_installed("modeldata"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if ((rlang::is_installed("cluster") & rlang::is_installed("modeldata") && identical(Sys.getenv("NOT_CRAN"), "true"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} # load libraries for models and data library(dplyr) diff --git a/man/tidy.sarlm.Rd b/man/tidy.sarlm.Rd index 5c2f18070..7bc9ca7e7 100644 --- a/man/tidy.sarlm.Rd +++ b/man/tidy.sarlm.Rd @@ -36,7 +36,7 @@ These methods tidy the coefficients of spatial autoregression models generated by functions in the \code{spatialreg} package. } \examples{ -\dontshow{if ((rlang::is_installed("spdep") & rlang::is_installed("spatialreg"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if ((rlang::is_installed("spdep") & rlang::is_installed("spatialreg") && identical(Sys.getenv("NOT_CRAN"), "true"))) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} # load libraries for models and data