Skip to content

Commit 46d9b90

Browse files
authored
Merge pull request #15 from epiforecasts/rename
rename to qrensemble
2 parents b4ae200 + 5f63389 commit 46d9b90

File tree

4 files changed

+16
-17
lines changed

4 files changed

+16
-17
lines changed

DESCRIPTION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Package: qra
2-
Title: Quantile Regression Average
3-
Version: 0.1.1.9000
1+
Package: qrensemble
2+
Title: Forecast ensembles using Quantile Regression Average (QRA)
3+
Version: 0.1.2
44
Authors@R:
55
c(person(given = "Sebastian",
66
family = "Funk",

NEWS.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
# qra (development version)
1+
# qrensemble 0.1.2
2+
3+
- The package was renamed to qrensemble to avoid a conflict with the existing qra package on CRAN
24

35
# qra 0.1.1
46

57
- Fixed missing purrr import
68

79
# qra 0.1.0
810

9-
This is the initial release of qra.
11+
This is the initial release of qrensemble.
1012

README.Rmd

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,23 @@ output: github_document
77
NB: This is a transient package that will probably be merged into the
88
[stackr package](https://github.com/nikosbosse/stackr).
99

10-
## Prerequisites
11-
12-
This depends on the [scoringutils](https://github.com/epiforecasts/scoringutils)
13-
package, which can be installed with
10+
## Installation
1411

12+
The stable version of the package can be installed using
1513
```{r eval=FALSE}
16-
remotes::install_github("epiforecasts/scoringutils")
14+
install.packages("qrensemble", repos = "https://epiforecasts.r-universe.dev/")
1715
```
1816

19-
The code itself can be tested by installing the corresponding package:
17+
The development version can be installed using `pak`
2018
```{r eval=FALSE}
21-
remotes::install_github("epiforecasts/qra")
19+
pak::pak("epiforecasts/qrensemble")
2220
```
2321

2422
### calculate QRA
2523

2624
Create an ensemble for each location, and separately for cases and deaths, for the 24th of July 2021
2725
```{r}
28-
library("scoringutils")
29-
example_quantile |>
26+
scoringutils::example_quantile |>
3027
as_forecast_quantile() |>
3128
qra(
3229
group = c("target_type", "location", "location_name"),
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
2-
title: "Getting started with `qra`"
2+
title: "Getting started with `qrensemble`"
33
output:
44
rmarkdown::html_vignette:
55
toc: false
66
number_sections: false
77
bibliography: library.bib
88
csl: https://raw.githubusercontent.com/citation-style-language/styles/master/apa-numeric-superscript-brackets.csl
99
vignette: >
10-
%\VignetteIndexEntry{Getting started with qra}
10+
%\VignetteIndexEntry{Getting started with qrensemble}
1111
%\VignetteEngine{knitr::rmarkdown}
1212
%\VignetteEncoding{UTF-8}
1313
---
1414

15-
The `qra` package can be used to train ensemble models from forecasts given in quantile format. It uses the [quantgen](ryantibs) package for the underlying optimisation.
15+
The `qrensemble` package can be used to train ensemble models from forecasts given in quantile format. It uses the [quantgen](ryantibs) package for the underlying optimisation.
1616

1717
It works with data frames of forecasts and data, similar to the ones used in the [scoringutils](https://epiforecasts.io/scoringutils) package. The outputs it produces are in the same format.
1818

0 commit comments

Comments
 (0)