Skip to content

Commit

Permalink
Prepare CRAN release (#655)
Browse files Browse the repository at this point in the history
* Prepare CRAN release

* sundry

* bump see version

* news

---------

Co-authored-by: Indrajeet Patil <patilindrajeet.science@gmail.com>
  • Loading branch information
strengejacke and IndrajeetPatil authored Jul 24, 2024
1 parent 0c71434 commit 77a9766
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 19 deletions.
12 changes: 5 additions & 7 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: bayestestR
Title: Understand and Describe Bayesian Models and Posterior Distributions
Version: 0.13.2.5
Version: 0.14.0
Authors@R:
c(person(given = "Dominique",
family = "Makowski",
Expand Down Expand Up @@ -109,7 +109,7 @@ Suggests:
rmarkdown,
rstan,
rstanarm,
see (>= 0.7.5),
see (>= 0.8.5),
testthat,
tweedie
License: GPL-3
Expand All @@ -119,12 +119,10 @@ VignetteBuilder:
knitr
Encoding: UTF-8
Language: en-US
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
Roxygen: list(markdown = TRUE)
Config/testthat/edition: 3
Config/testthat/parallel: true
Config/rcmdcheck/ignore-inconsequential-notes: true
Config/Needs/website:
rstudio/bslib,
r-lib/pkgdown,
easystats/easystatstemplate
Config/Needs/website: easystats/easystatstemplate
Config/Needs/check: stan-dev/cmdstanr
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
* `bayesian_as_frequentist()` now supports more model families from Bayesian
models that can be successfully converted to their frequentists counterparts.

* `bayesfactor_models()` now throws an informative error when Bayes factors for
comparisons could not be calculated.

## Bug fixes

* Fixed issue in `bayesian_as_frequentist()` for *brms* models with `0 + Intercept`
Expand Down
3 changes: 1 addition & 2 deletions R/convert_bayesian_to_frequentist.R
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ convert_bayesian_as_frequentist <- function(model, data = NULL, REML = TRUE) {
} else {
# not all families return proper objects from "get", so we capture
# some families via switch here...
model_family <- .safe(switch(
model_family$family,
model_family <- .safe(switch(model_family$family,
beta = glmmTMB::beta_family(link = model_family$link),
beta_binomial = glmmTMB::betabinomial(link = model_family$link),
negbinomial = glmmTMB::nbinom1(link = model_family$link),
Expand Down
11 changes: 1 addition & 10 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
ADE
Altough
ArXiv
BCI
BCa
BFs
BGGM
Expand Down Expand Up @@ -41,8 +40,8 @@ HDInterval
Haaf
Hinne
Hirose
Imai
IRR
Imai
Iverson
JASP
JASP's
Expand All @@ -60,7 +59,6 @@ Littman
Liu
Lodewyckx
Ly
Makowski
MCMCglmm
MCSE
MPE
Expand Down Expand Up @@ -109,15 +107,13 @@ Ying
Zheng
al
altough
analsyes
arXiv
autocorrelated
avaible
bayesQR
bayesian
bcplm
behavioural
blogpost
bmj
bmwiernik
bootsrapped
Expand All @@ -127,7 +123,6 @@ centred
characterisation
characterises
ci
columbia
compte
containe
cplm
Expand All @@ -136,7 +131,6 @@ doi
driiiing
eXistence
easystats
edu
effectsize
egydq
emmeans
Expand All @@ -151,15 +145,13 @@ fullrank
generalised
ggdist
ggdistribute
github
grano
higer
https
infty
ing
interpretability
interpretable
io
iteratively
jmp
joss
Expand Down Expand Up @@ -200,7 +192,6 @@ splinefun
ss
stanfit
stanreg
statmodeling
strengejacke
summarise
summarised
Expand Down

0 comments on commit 77a9766

Please sign in to comment.