Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preparing DESCRIPTION and NEWS for release #605

Merged
merged 21 commits into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
^LICENSE\.md$
LICENSE
^cran-comments\.md$
^revdep$

^logos$
^paper$
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ docs/*.Rmd
docs/examples
paper/paper.html
inst/doc

revdep/checks.noindex
revdep/library.noindex
6 changes: 4 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: greta
Title: Simple and Scalable Statistical Modelling in R
Version: 0.4.3.9000
Version: 0.4.4
Authors@R: c(
person("Nick", "Golding", , "[email protected]", role = "aut",
comment = c(ORCID = "0000-0001-8916-5570")),
Expand Down Expand Up @@ -51,6 +51,7 @@ Suggests:
covr,
cramer,
DiagrammeR,
DiagrammeRsvg,
extraDistr,
fields,
ggplot2,
Expand All @@ -62,6 +63,7 @@ Suggests:
mvtnorm,
rmarkdown,
rmutil,
rsvg,
spelling,
testthat (>= 3.1.0),
tidyverse,
Expand All @@ -73,7 +75,7 @@ Config/testthat/edition: 3
Encoding: UTF-8
Language: en-GB
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.0
RoxygenNote: 7.3.1
SystemRequirements: Python (>= 2.7.0) with header files and shared
library; TensorFlow (v1.14; https://www.tensorflow.org/); TensorFlow
Probability (v0.7.0; https://www.tensorflow.org/probability/)
Expand Down
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# greta (development version)
# greta 0.4.4

## Bug fixes

- Some small documentation bugs were fixed, namely the sentinel "_PACKAGE" documentation, and various small changes to correctly export S3 methods.

# greta 0.4.3

Expand Down
18 changes: 9 additions & 9 deletions R/inference.R
Original file line number Diff line number Diff line change
Expand Up @@ -847,16 +847,16 @@ print.initials <- function(x, ...) {

#' @return `opt` - a list containing the following named elements:
#' \itemize{
#' \item{`par`} {a named list of the optimal values for the greta arrays
#' specified in `model`}
#' \item{`value`} {the (unadjusted) negative log joint density of the
#' model at the parameters 'par'}
#' \item{`iterations`} {the number of iterations taken by the optimiser}
#' \item{`convergence`} {an integer code, 0 indicates successful
#' \item `par` a named list of the optimal values for the greta arrays
#' specified in `model`
#' \item `value` the (unadjusted) negative log joint density of the
#' model at the parameters 'par'
#' \item `iterations` the number of iterations taken by the optimiser
#' \item `convergence` an integer code, 0 indicates successful
#' completion, 1 indicates the iteration limit `max_iterations` had
#' been reached}
#' \item{`hessian`} {(if `hessian = TRUE`) a named list of hessian
#' matrices/arrays for the parameters (w.r.t. `value`)}
#' been reached
#' \item `hessian` (if `hessian = TRUE`) a named list of hessian
#' matrices/arrays for the parameters (w.r.t. `value`)
#' }
#'
opt <- function(model,
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CRAN:
install.packages("greta")
```

Or install the development version of `greta` from [r-universe](https://greta-dev.r-universe.dev/ui#builds):
Or install the development version of `greta` from [r-universe](http://greta-dev.r-universe.dev/ui/):

```r
# Enable this universe
Expand Down Expand Up @@ -51,7 +51,7 @@ If these python modules aren't yet installed, when `greta` is used, it provides
[![R-CMD-check](https://github.com/greta-dev/greta/workflows/R-CMD-check/badge.svg)](https://github.com/greta-dev/greta/actions)
[![cran
version](http://www.r-pkg.org/badges/version/greta)](https://CRAN.R-project.org/package=greta)
[![license](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![license](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/license/apache-2-0/)
[![doi](https://zenodo.org/badge/73758247.svg)](https://zenodo.org/badge/latestdoi/73758247)
[![joss](https://joss.theoj.org/papers/10.21105/joss.01601/status.svg)](https://joss.theoj.org/papers/10.21105/joss.01601)
![](logos/bottom_banner.png)
Expand Down
30 changes: 27 additions & 3 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"codeRepository": "https://github.com/njtierney/greta",
"issueTracker": "https://github.com/greta-dev/greta/issues",
"license": "https://spdx.org/licenses/Apache-2.0",
"version": "0.4.3",
"version": "0.4.4",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.2.1 (2022-06-23)",
"runtimePlatform": "R version 4.3.2 (2023-10-31)",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
Expand Down Expand Up @@ -156,6 +156,18 @@
},
"sameAs": "https://CRAN.R-project.org/package=DiagrammeR"
},
{
"@type": "SoftwareApplication",
"identifier": "DiagrammeRsvg",
"name": "DiagrammeRsvg",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=DiagrammeRsvg"
},
{
"@type": "SoftwareApplication",
"identifier": "extraDistr",
Expand Down Expand Up @@ -288,6 +300,18 @@
},
"sameAs": "https://CRAN.R-project.org/package=rmutil"
},
{
"@type": "SoftwareApplication",
"identifier": "rsvg",
"name": "rsvg",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=rsvg"
},
{
"@type": "SoftwareApplication",
"identifier": "spelling",
Expand Down Expand Up @@ -515,7 +539,7 @@
},
"SystemRequirements": "Python (>= 2.7.0) with header files and shared\n library; TensorFlow (v1.14; https://www.tensorflow.org/); TensorFlow\n Probability (v0.7.0; https://www.tensorflow.org/probability/)"
},
"fileSize": "1313.486KB",
"fileSize": "2098.014KB",
"citation": [
{
"@type": "ScholarlyArticle",
Expand Down
5 changes: 2 additions & 3 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
## Test environments
* local R installation, R 4.2.1
* ubuntu 18.04 (on github actions), R 4.2.1
* local R installation, R 4.3.2
* win-builder (devel)

## R CMD check results

0 errors | 0 warnings | 0 notes

* Days since last update: 170
* Days since last update: 510

## revdepcheck results

Expand Down
4 changes: 2 additions & 2 deletions inst/CITATION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
citHeader("To cite greta in publications use:")

citEntry(entry = "Article",
bibentry(bibtype = "Article",
title = "{greta}: simple and scalable statistical modelling in R",
author = personList(as.person("Nick Golding")),
author = c(person(given = "Nick", family = "Golding", email = "[email protected]")),
journal = "Journal of Open Source Software",
year = "2019",
volume = "4",
Expand Down
4 changes: 1 addition & 3 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ Inf
Jupyter
Lmax
Lmin
Maëlle
Miniconda
Nesterov
NumPy
ORCID
OpenBUGS
PSAT
Poisson
Expand All @@ -31,7 +31,6 @@ TensorFlow
TensorFlow's
Tensorflow
WinBUGS
Wujciak
XLA
bayesplot
cholesky
Expand Down Expand Up @@ -63,7 +62,6 @@ pkgdown
poisson
polygamma
schoolers
snapshotting
softmax
speedup
st
Expand Down
18 changes: 9 additions & 9 deletions man/inference.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Platform

|field |value |
|:--------|:------------------------------------------------------------------------------------------|
|version |R version 4.3.2 (2023-10-31) |
|os |macOS Sonoma 14.0 |
|system |aarch64, darwin20 |
|ui |RStudio |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |Australia/Hobart |
|date |2024-01-16 |
|rstudio |2023.12.0+369 Ocean Storm (desktop) |
|pandoc |3.1.1 @ /Applications/RStudio.app/Contents/Resources/app/quarto/bin/tools/ (via rmarkdown) |

# Dependencies

|package |old |new |Δ |
|:-------|:-----|:------|:--|
|greta |0.4.3 |0.4.4 |* |
|future |NA |1.33.1 |* |
|Rcpp |NA |1.0.12 |* |

# Revdeps

7 changes: 7 additions & 0 deletions revdep/cran.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## revdepcheck results

We checked 3 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages

Binary file added revdep/data.sqlite
Binary file not shown.
1 change: 1 addition & 0 deletions revdep/failures.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*Wow, no problems at all. :)*
1 change: 1 addition & 0 deletions revdep/problems.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*Wow, no problems at all. :)*
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/check-m1.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Code
check_tf_version("error")
Message <simpleMessage>
Message
greta does not currently work with Apple Silicon (M1)
We are working on getting this resolved ASAP, see <https://github.com/greta-dev/greta/issues/458> for current progress.FALSE

Loading
Loading