Skip to content

Commit

Permalink
Final preps for CRAN release
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-long committed Aug 14, 2024
1 parent bac1990 commit 467392d
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 25 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: jtools
Type: Package
Title: Analysis and Presentation of Social Scientific Data
Version: 2.2.3.9999
Version: 2.3.0
Authors@R: person(c("Jacob","A."), "Long", email = "[email protected]",
role = c("aut", "cre"), comment = c(ORCID = "0000-0002-1582-6214"))
Description: This is a collection of tools for more efficiently understanding
Expand Down Expand Up @@ -47,7 +47,7 @@ Enhances:
brms,
quantreg,
rstanarm
RoxygenNote: 7.3.2.9000
RoxygenNote: 7.3.2
VignetteBuilder: knitr
Roxygen: list(markdown = TRUE)
Depends:
Expand Down
3 changes: 0 additions & 3 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ S3method(summ,rq)
S3method(summ,svyglm)
S3method(tidy,summ)
S3method(tidy,summ.merMod)
S3method(tidy,summary.glht)
export("%just%")
export("%just%<-")
export("%nin%")
Expand Down Expand Up @@ -169,7 +168,6 @@ importFrom(stats,binomial)
importFrom(stats,coef)
importFrom(stats,coefficients)
importFrom(stats,complete.cases)
importFrom(stats,confint)
importFrom(stats,contr.treatment)
importFrom(stats,cooks.distance)
importFrom(stats,cor)
Expand Down Expand Up @@ -217,7 +215,6 @@ importFrom(stats,vcov)
importFrom(stats,weighted.mean)
importFrom(stats,weights)
importFrom(tibble,as_tibble)
importFrom(tibble,tibble)
importFrom(utils,.S3methods)
importFrom(utils,getFromNamespace)
importFrom(utils,getS3method)
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# jtools 2.2.3.9999
# jtools 2.3.0

Bug fixes:
* `predict_merMod()` was miscalculating predictions under a specific set of
Expand Down
18 changes: 0 additions & 18 deletions R/internal.R
Original file line number Diff line number Diff line change
Expand Up @@ -418,24 +418,6 @@ predict_rob <- function(model, .vcov = vcov(model), newdata = NULL,

}

#' @importFrom tibble tibble as_tibble
#' @importFrom stats confint
#' @export
tidy.summary.glht <- function(x, conf.int = FALSE, conf.level = 0.95, ...) {
lhs_rhs <- tibble(lhs = rownames(x$linfct), rhs = x$rhs)
coef <- as_tibble(x$test[c("coefficients", "sigma",
"tstat", "pvalues")])
names(coef) <- c("estimate", "std.error", "statistic",
"p.value")
out <- as_tibble(cbind(lhs_rhs, coef))
if (conf.int) {
confs <- as.data.frame(confint(x, level = conf.level)$confint)
out$conf.low <- confs$lwr
out$conf.high <- confs$upr
}
out
}

#' @import broom
NULL

Expand Down
2 changes: 1 addition & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Test environments
* Local macOS install, R 4.1.3
* Local macOS install, R 4.4.1
* ubuntu-latest (via Github Actions), R-release, R-devel, oldrel-1
* macOS-latest (via Github Actions), R-release
* windows-latest (via Github Actions), R-release
Expand Down

0 comments on commit 467392d

Please sign in to comment.