Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
18 changes: 10 additions & 8 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: greta.gp
Title: Gaussian Process Modelling in 'greta'
Version: 0.2.2.9000
Version: 0.2.3
Authors@R: c(
person(
given = "Nick",
Expand All @@ -23,16 +23,18 @@ Authors@R: c(
comment = c(ORCID = "https://orcid.org/0000-0003-1460-8722")
)
)
Description: Provides a syntax to create and combine Gaussian process kernels
in 'greta'. You can then them to define either full rank or sparse Gaussian
processes. This is an extension to the 'greta' software, Golding (2019)
<doi:10.21105/joss.01601>.
Description: Provides a syntax to create and combine Gaussian process kernels
in 'greta'. You can then use these kernels to define either full rank or
sparse Gaussian processes, and project a fitted process to new coordinates.
This lets you include Gaussian process components in the statistical models
you write with 'greta'. This is an extension to the 'greta' software, Golding
(2019) <doi:10.21105/joss.01601>.
License: Apache License (>= 2)
URL: https://github.com/greta-dev/greta.gp,
https://greta-dev.github.io/greta.gp/
BugReports: https://github.com/greta-dev/greta.gp/issues
Depends:
greta (>= 0.5.0),
greta (>= 0.6.0),
R (>= 4.1.0)
Imports:
cli,
Expand All @@ -48,11 +50,11 @@ Suggests:
VignetteBuilder:
knitr
Config/testthat/edition: 3
Config/Needs/website: greta-dev/greta.pkgdown
Encoding: UTF-8
Language: en-GB
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
SystemRequirements: Python (>= 3.7.0) with header files and shared
library; TensorFlow (>= v2.0.0; https://www.tensorflow.org/); TensorFlow
Probability (v0.8.0; https://www.tensorflow.org/probability/)
Config/roxygen2/version: 8.0.0
10 changes: 10 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# greta.gp (development version)

# greta.gp 0.2.3

* Resubmission to CRAN. `greta.gp` was archived in September 2025 as a
consequence of its dependency, `greta`, being archived. `greta` returned to
CRAN as version 0.6.0, and this release restores `greta.gp`.
* Now depends on `greta` version 0.6.0 or above.
* Fixed a grammatical error in the package `Description`.
* Fixed the r-universe installation instructions in the README, which referred
to the wrong package.

# greta.gp 0.2.2

* Add "rlang" to package imports.
Expand Down
6 changes: 3 additions & 3 deletions R/gp.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
#' one or more Gaussian processes
#'
#' @details `gp()` returns a greta array representing the values of the
#' Gaussian process(es) evaluated at `x`. This Gaussian process can be
#' made sparse (via a reduced-rank representation of the covariance) by
#' providing an additional set of inducing point coordinates `inducing`.
#' Gaussian process (or processes) evaluated at `x`. This Gaussian process
#' can be made sparse (via a reduced-rank representation of the covariance)
#' by providing an additional set of inducing point coordinates `inducing`.
#' `project()` evaluates the values of an existing Gaussian process
#' (created with `gp()`) to new data.
#'
Expand Down
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set.seed(1)
<!-- badges: start -->
[![R-CMD-check](https://github.com/greta-dev/greta.gp/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/greta-dev/greta.gp/actions/workflows/R-CMD-check.yaml)
[![CRAN status](https://www.r-pkg.org/badges/version/greta.gp)](https://CRAN.R-project.org/package=greta.gp)
[![codecov](https://codecov.io/gh/greta-dev/greta.gp/graph/badge.svg?token=sDr01k2p2r)](https://codecov.io/gh/greta-dev/greta.gp)
[![Codecov test coverage](https://codecov.io/gh/greta-dev/greta.gp/graph/badge.svg?token=sDr01k2p2r)](https://app.codecov.io/gh/greta-dev/greta.gp)
<!-- badges: end -->

`greta.gp` extends greta to let you define Gaussian processes as part of your model. It provides a syntax to create and combine GP kernels, and use them to define either full rank or sparse Gaussian processes.
Expand All @@ -33,7 +33,7 @@ You can install the current release version of `greta.gp` from CRAN:
install.packages("greta.gp")
```

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

```r
install.packages("greta.gp", repos = "https://greta-dev.r-universe.dev")
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
[![R-CMD-check](https://github.com/greta-dev/greta.gp/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/greta-dev/greta.gp/actions/workflows/R-CMD-check.yaml)
[![CRAN
status](https://www.r-pkg.org/badges/version/greta.gp)](https://CRAN.R-project.org/package=greta.gp)
[![codecov](https://codecov.io/gh/greta-dev/greta.gp/graph/badge.svg?token=sDr01k2p2r)](https://codecov.io/gh/greta-dev/greta.gp)
[![Codecov test
coverage](https://codecov.io/gh/greta-dev/greta.gp/graph/badge.svg?token=sDr01k2p2r)](https://app.codecov.io/gh/greta-dev/greta.gp)
<!-- badges: end -->

`greta.gp` extends greta to let you define Gaussian processes as part of
Expand All @@ -23,8 +24,8 @@ You can install the current release version of `greta.gp` from CRAN:
install.packages("greta.gp")
```

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

``` r
install.packages("greta.gp", repos = "https://greta-dev.r-universe.dev")
Expand Down Expand Up @@ -91,7 +92,7 @@ for (i in 1:200) {
}
```

<img src="man/figures/README-plotting-1.png" width="100%" />
<img src="man/figures/README-plotting-1.png" alt="" width="100%" />

## Code of Conduct

Expand Down
54 changes: 54 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,58 @@
url: https://greta-dev.github.io/greta.gp/

development:
mode: auto

template:
package: greta.pkgdown
bootstrap: 5
# The shared template defaults to `man/figures/name_icon_on_purple.png`,
# which greta.gp does not ship. The image is served from pkgdown/assets/
# instead, so it is not added to the package tarball.
opengraph:
image:
src: name_icon_on_purple.png
alt: "greta.gp"

home:
sidebar: false
title: greta.gp — Gaussian process modelling in greta
description: >
greta.gp extends greta to let you define Gaussian processes as part of
your model, with a syntax to create and combine GP kernels.

navbar:
structure:
left: [get-started, reference, news]
components:
get-started:
text: get started
href: articles/getting-started.html
reference:
text: docs
href: reference/index.html

reference:
- title: Gaussian process kernels
desc: >
Create and combine covariance functions (kernels) to describe the
structure of a Gaussian process.
contents:
- kernels

- title: Gaussian processes
desc: >
Define full rank or sparse Gaussian processes from kernels, and project
a fitted process to new coordinates.
contents:
- gp
- project

- title: Package
contents:
- greta.gp-package

articles:
- title: Get started
contents:
- getting-started
41 changes: 38 additions & 3 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,47 @@
## Test environments

* local R installation, R 4.4.2
* local macOS install, R 4.6.1
* win-builder (devel)

## R CMD check results

0 errors | 0 warnings | 0 notes
0 errors | 0 warnings | 1 note

The one NOTE is the expected archival notice:

```
* checking CRAN incoming feasibility ... NOTE
Maintainer: 'Nicholas Tierney <nicholas.tierney@gmail.com>'
New submission
Package was archived on CRAN
CRAN repository db overrides:
X-CRAN-Comment: Archived on 2025-09-20 as requires archived package
'greta'.
```

## Submission notes

* Submitted this release to address rlang import issue
This is a resubmission of a previously archived package.

`greta.gp` was archived from CRAN on 2025-09-20 as a consequence of its
dependency, `greta`, being archived. `greta` has since been fixed and returned
to CRAN as version 0.6.0. This release of `greta.gp` depends on
`greta` (>= 0.6.0) and has been checked against it, so the reason for the
archival no longer applies.

The tests and examples require Python, TensorFlow and TensorFlow Probability,
which are not available on CRAN's check machines. As with the `greta` package
itself, examples are wrapped in `\dontrun{}` and the tests skip themselves when
those dependencies are absent, so the checks remain fast and self-contained on
CRAN. The full test suite and all examples have been run locally against
`greta` 0.6.0 and pass.

## revdepcheck results

As the package was archived, there are no reverse dependencies to check.

## Method references

The methods implemented in this package are described in the reference already
given in the `Description` field, Golding (2019) <doi:10.21105/joss.01601>,
which describes the `greta` software that this package extends.
Binary file modified man/figures/README-plotting-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions man/gp.Rd

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

1 change: 1 addition & 0 deletions man/greta.gp.Rd

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

Binary file added pkgdown/assets/name_icon_on_purple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/favicon-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions pkgdown/favicon/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions pkgdown/favicon/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
Binary file added pkgdown/favicon/web-app-manifest-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/web-app-manifest-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading