Skip to content

Commit

Permalink
Merge pull request #83 from poissonconsulting/cran-prep
Browse files Browse the repository at this point in the history
Prep for cran submission
  • Loading branch information
nehill197 authored Jan 7, 2025
2 parents a529131 + ba12eea commit b7b7866
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 22 deletions.
6 changes: 1 addition & 5 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
## R CMD check results

0 errors | 0 warnings | 0 notes

## CRAN Issues

After feedback, corrected the noSuggests issue to have all tests, examples, and vignettes run conditionally for packages listed under Suggests.

## revdepcheck results

We checked 4 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
We checked 9 reverse dependencies (0 from CRAN + 9 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages
4 changes: 4 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@ funder
hms
ie
lik
memoization
memoize
modelling
numericise
poissontemplate
skewnorm
summarise
surprisal
testthat
th
vectorized
33 changes: 17 additions & 16 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
# Platform

|field |value |
|:--------|:----------------------------------------|
|version |R version 4.4.1 (2024-06-14) |
|os |macOS Sonoma 14.5 |
|system |aarch64, darwin20 |
|ui |RStudio |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |America/Vancouver |
|date |2024-08-01 |
|rstudio |2024.04.2+764 Chocolate Cosmos (desktop) |
|pandoc |NA |
|field |value |
|:--------|:------------------------------------------------------------------------------------------------|
|version |R version 4.4.2 (2024-10-31) |
|os |macOS Sequoia 15.1 |
|system |aarch64, darwin20 |
|ui |RStudio |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |America/Vancouver |
|date |2025-01-07 |
|rstudio |2024.12.0+467 Kousa Dogwood (desktop) |
|pandoc |3.2 @ /Applications/RStudio.app/Contents/Resources/app/quarto/bin/tools/aarch64/ (via rmarkdown) |

# Dependencies

|package |old |new |Δ |
|:-------|:-----|:-----|:--|
|extras |0.6.1 |0.7.1 |* |
|package |old |new |Δ |
|:-------|:----------|:----------|:--|
|extras |0.7.3.9002 |0.8.0 |* |
|chk |NA |0.9.2.9004 |* |

# Revdeps

2 changes: 1 addition & 1 deletion revdep/cran.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## revdepcheck results

We checked 4 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
We checked 9 reverse dependencies (0 from CRAN + 9 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-log-lik.R
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ test_that("beta_binom known values", {
})

test_that("beta binomial deviance function is memoized", {
skip_if_not_installed("memoise")
expect_true(memoise::is.memoized(lgamma_size_x))
})

Expand All @@ -197,6 +198,7 @@ test_that("lgamma_size_x produces expected outputs", {
})

test_that("beta_binom memoized function gives same outputs as non-memoized function", {
skip_if_not_installed("memoise")
expect_equal(
log_lik_beta_binom(1:100, 200, 0.5, 0.1, memoize = FALSE),
log_lik_beta_binom(1:100, 200, 0.5, 0.1, memoize = TRUE)
Expand Down

0 comments on commit b7b7866

Please sign in to comment.