From d1e064dbbf1e89183faef027d3ee28fdbb43914a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 24 Dec 2024 11:12:30 +0100 Subject: [PATCH] Automated release blog post `epiparameterDB` - `v0.1.0` (#353) * Automated release blog post `epiparameterDB` - `v0.1.0` * Pre-knit release post To render r chunks * Add package link to release blog post * Handle the case of a first release automated blog post * Deduplicate blog post tags * Update posts/s3-generic/index.qmd * Add alt text * Fix linting error for missing alt text (#350) * Fix linting error for missing alt text By replacing the screenshot by text * Fix linting --------- Co-authored-by: Chris Hartgerink * Create index.qmd * Update index.qmd * Fix linting * Fix lint errors * Tweak title * Add conclusion * Update index.qmd * Add ready reckoners suggestion * Update posts/covid-analysis/index.qmd Co-authored-by: James Azam * Update posts/covid-analysis/index.qmd Co-authored-by: Hugo Gruson <10783929+Bisaloo@users.noreply.github.com> * Update posts/covid-analysis/index.qmd Co-authored-by: Sebastian Funk * Update posts/covid-analysis/index.qmd Co-authored-by: Sebastian Funk * Update posts/covid-analysis/index.qmd Co-authored-by: James Azam * Update posts/covid-analysis/index.qmd Co-authored-by: James Azam * Update posts/covid-analysis/index.qmd Co-authored-by: Sebastian Funk * Update posts/covid-analysis/index.qmd Co-authored-by: James Azam * Add changes in response to reviews by Seb and James * Fix linting * Update posts/covid-analysis/index.qmd Co-authored-by: Sebastian Funk * Update posts/covid-analysis/index.qmd Co-authored-by: Chris Hartgerink * Update for first release --------- Co-authored-by: epiverse-trace-bot Co-authored-by: Hugo Gruson <10783929+Bisaloo@users.noreply.github.com> Co-authored-by: Chris Hartgerink Co-authored-by: adamkucharski Co-authored-by: James Azam Co-authored-by: Sebastian Funk --- .../index/execute-results/html.json | 15 ++++++ posts/epiparameterDB_v0.1.0/index.qmd | 47 +++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 _freeze/posts/epiparameterDB_v0.1.0/index/execute-results/html.json create mode 100644 posts/epiparameterDB_v0.1.0/index.qmd diff --git a/_freeze/posts/epiparameterDB_v0.1.0/index/execute-results/html.json b/_freeze/posts/epiparameterDB_v0.1.0/index/execute-results/html.json new file mode 100644 index 00000000..43660893 --- /dev/null +++ b/_freeze/posts/epiparameterDB_v0.1.0/index/execute-results/html.json @@ -0,0 +1,15 @@ +{ + "hash": "83b094a7c3367acea1a987bd6136cd46", + "result": { + "engine": "knitr", + "markdown": "---\ntitle: \"epiparameterDB v0.1.0\"\nauthor:\n - name: \"The Epiverse-TRACE development team\"\ndate: \"2024-12-18\"\ncategories: [new-release]\n---\n\n\n\nWe are very excited to announce the release of a new epiparameterDB version v0.1.0.\nHere is an automatically generated summary of the changes in this version.\n\nThis is the first minor release of the `{epiparameterDB}` R package. It contains the epidemiological parameter database originally part of the `{epiparameter}` R package.\n\n## New features\n\n* The first release contains the parameter database (`parameters.json`) from the `{epiparameter}` package v0.3.0.\n* Functionality to read the JSON file (`parameters.json`), render the database as a vignette (`database.Rmd`), and validate the JSON database with a data dictionary (`data_dictionary.json`) using a GitHub actions workflow (`validate-json.yaml`) have been copied from the original `{epiparameter}` implementation.\n\n## Bug fixes\n\n* None\n\n## Deprecated and defunct\n\n* None\n\n## Acknowledgements\n\n\n\n[@dependabot[bot]](https://github.com/dependabot[bot]) [@joshwlambert](https://github.com/joshwlambert)\n", + "supporting": [], + "filters": [ + "rmarkdown/pagebreak.lua" + ], + "includes": {}, + "engineDependencies": {}, + "preserve": {}, + "postProcess": true + } +} \ No newline at end of file diff --git a/posts/epiparameterDB_v0.1.0/index.qmd b/posts/epiparameterDB_v0.1.0/index.qmd new file mode 100644 index 00000000..b4767528 --- /dev/null +++ b/posts/epiparameterDB_v0.1.0/index.qmd @@ -0,0 +1,47 @@ +--- +title: "epiparameterDB v0.1.0" +author: + - name: "The Epiverse-TRACE development team" +date: "2024-12-18" +categories: [new-release] +--- + +We are very excited to announce the release of a new epiparameterDB version v0.1.0. +Here is an automatically generated summary of the changes in this version. + +This is the first minor release of the `{epiparameterDB}` R package. It contains the epidemiological parameter database originally part of the `{epiparameter}` R package. + +## New features + +* The first release contains the parameter database (`parameters.json`) from the `{epiparameter}` package v0.3.0. +* Functionality to read the JSON file (`parameters.json`), render the database as a vignette (`database.Rmd`), and validate the JSON database with a data dictionary (`data_dictionary.json`) using a GitHub actions workflow (`validate-json.yaml`) have been copied from the original `{epiparameter}` implementation. + +## Bug fixes + +* None + +## Deprecated and defunct + +* None + +## Acknowledgements + +```{r ctbs, results='asis', echo=FALSE, message = FALSE} +releases <- gh::gh("GET /repos/{owner}/{repo}/releases", + owner = "epiverse-trace", + repo = "epiparameterDB") |> + purrr::discard(~ grepl("\\d+\\.\\d+\\.[1-9]\\d*$", .x$tag_name)) + +if (length(releases) >= 2) { + previous_release <- releases[[2]][["tag_name"]] + } else { + previous_release <- NULL + } + +ctbs <- usethis::use_tidy_thanks( + "epiverse-trace/epiparameterDB", + from = previous_release, + to = "v0.1.0") +ctbs <- ctbs[grep("github-actions\\[bot\\]", ctbs, invert = TRUE)] +cat(glue::glue("[@{ctbs}](https://github.com/{ctbs})")) +```