Skip to content

diseasystore

Feature Stores for the 'diseasy' Framework

v0.3.3 · Mar 20, 2026 · GPL (>= 3)

Description

Simple feature stores and tools for creating personalised feature stores. 'diseasystore' powers feature stores which can automatically link and aggregate features to a given stratification level. These feature stores are automatically time-versioned (powered by the 'SCDB' package) and allows you to easily and dynamically compute features as part of your continuous integration.

Downloads

382

Last 30 days

9922nd

901

Last 90 days

3K

Last year

Trend: +45.8% (30d vs prior 30d)

CRAN Check Status

2 ERROR
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 ERROR
r-oldrel-macos-x86_64 ERROR
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (3 non-OK)
ERROR r-oldrel-macos-arm64

tests

Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [31s/37s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > 
  > test_check("diseasystore")
  Loading required package: diseasystore
  #####
  Following backends will be tested:
     SQLite
  ####
  This message is displayed once per session.
  Saving _problems/test-DiseasystoreGoogleCovid19-11.R
  Saving _problems/test-DiseasystoreGoogleCovid19-11.R
  Saving _problems/test-DiseasystoreGoogleCovid19-11.R
  Saving _problems/test-DiseasystoreGoogleCovid19-11.R
  Saving _problems/test-DiseasystoreGoogleCovid19-11.R
  Saving _problems/test-DiseasystoreGoogl
...[truncated]...
ly to pattern 'Stratification could not be computed'
  ── Failure ('test-zzz.R:12:3'): data is not written locally ────────────────────
  Expected `dir(recursive = TRUE)` to have the same values as `current_files`.
  Actual: "_problems/test-DiseasystoreGoogleCovid19-11.R", "helper-setup.R", "setup.R", "test-0_R6_utils.R", "test-0_documentation.R", "test-0_linters.R", "test-0_rd_files.R", "test-DiseasystoreBase.R", "test-DiseasystoreEcdcRespitoryViruses.R", ...
  Expected: "helper-setup.R", "setup.R", "test-0_R6_utils.R", "test-0_documentation.R", "test-0_linters.R", "test-0_rd_files.R", "test-DiseasystoreBase.R", "test-DiseasystoreEcdcRespitoryViruses.R", "test-DiseasystoreGoogleCovid19.R", ...
  Needs: "_problems/test-DiseasystoreGoogleCovid19-11.R"
  
  [ FAIL 14 | WARN 0 | SKIP 12 | PASS 530 ]
  Error:
  ! Test failures.
  Warning messages:
  1: In connection_release(conn@ptr) : Already disconnected
  2: call dbDisconnect() when finished working with a connection 
  Execution halted
ERROR r-oldrel-macos-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘benchmarks.Rmd’ using rmarkdown
fatal: not a git repository (or any parent up to mount point /Volumes)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
--- finished re-building ‘benchmarks.Rmd’

--- re-building ‘diseasystore-ecdc-respiratory-viruses.Rmd’ using rmarkdown
--- finished re-building ‘diseasystore-ecdc-respiratory-viruses.Rmd’

--- re-building ‘diseasystore-google-covid-19.Rmd’ using rmarkdown
--- finished re-building ‘diseasystore-google-covid-19.Rmd’

--- re-building ‘diseasystore.Rmd’ using rmarkdown
--- finished re-building ‘diseasystore.Rmd’

--- re-building ‘extending-diseasystore-example.Rmd’ using rmarkdown

Quitting from extending-diseasystore-example.Rmd:554-558 [stratifications_positive_sex_age_plot]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `combine_vars()`:
! Faceting variables must have at least one value.
---
Backtra
...[truncated]...
plot_build(x)
  8.       └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x)
  9.         └─layout$setup(data, plot@data, plot@plot_env)
 10.           └─ggplot2 (local) setup(..., self = self)
 11.             └─self$facet$compute_layout(data, self$facet_params)
 12.               └─ggplot2 (local) compute_layout(..., self = self)
 13.                 └─ggplot2::combine_vars(data, params$plot_env, vars, drop = params$drop)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'extending-diseasystore-example.Rmd' failed with diagnostics:
Faceting variables must have at least one value.
--- failed re-building ‘extending-diseasystore-example.Rmd’

Warning: Connection already closed.
--- re-building ‘extending-diseasystore.Rmd’ using rmarkdown
--- finished re-building ‘extending-diseasystore.Rmd’

SUMMARY: processing the following file failed:
  ‘extending-diseasystore-example.Rmd’

Error: Vignette re-building failed.
Execution halted
ERROR r-oldrel-macos-x86_64

tests

Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [99s/116s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > 
  > test_check("diseasystore")
  Loading required package: diseasystore
  #####
  Following backends will be tested:
     SQLite
  ####
  This message is displayed once per session.
  Saving _problems/test-DiseasystoreGoogleCovid19-11.R
  Saving _problems/test-DiseasystoreGoogleCovid19-11.R
  Saving _problems/test-DiseasystoreGoogleCovid19-11.R
  Saving _problems/test-DiseasystoreGoogleCovid19-11.R
  Saving _problems/test-DiseasystoreGoogleCovid19-11.R
  Saving _problems/test-DiseasystoreGoog
...[truncated]...
ly to pattern 'Stratification could not be computed'
  ── Failure ('test-zzz.R:12:3'): data is not written locally ────────────────────
  Expected `dir(recursive = TRUE)` to have the same values as `current_files`.
  Actual: "_problems/test-DiseasystoreGoogleCovid19-11.R", "helper-setup.R", "setup.R", "test-0_R6_utils.R", "test-0_documentation.R", "test-0_linters.R", "test-0_rd_files.R", "test-DiseasystoreBase.R", "test-DiseasystoreEcdcRespitoryViruses.R", ...
  Expected: "helper-setup.R", "setup.R", "test-0_R6_utils.R", "test-0_documentation.R", "test-0_linters.R", "test-0_rd_files.R", "test-DiseasystoreBase.R", "test-DiseasystoreEcdcRespitoryViruses.R", "test-DiseasystoreGoogleCovid19.R", ...
  Needs: "_problems/test-DiseasystoreGoogleCovid19-11.R"
  
  [ FAIL 14 | WARN 0 | SKIP 12 | PASS 530 ]
  Error:
  ! Test failures.
  Warning messages:
  1: In connection_release(conn@ptr) : Already disconnected
  2: call dbDisconnect() when finished working with a connection 
  Execution halted

Check History

ERROR 11 OK · 0 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE Mar 20, 2026
ERROR r-release-macos-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘benchmarks.Rmd’ using rmarkdown
fatal: not a git repository (or any parent up to mount point /Volumes)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
--- finished re-buil
...[truncated]...
e-building ‘extending-diseasystore.Rmd’ using rmarkdown
--- finished re-building ‘extending-diseasystore.Rmd’

SUMMARY: processing the following file failed:
  ‘extending-diseasystore-example.Rmd’

Error: Vignette re-building failed.
Execution halted
ERROR r-oldrel-macos-arm64

tests

Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [30s/37s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # 
...[truncated]...
id19-11.R"
  
  [ FAIL 14 | WARN 0 | SKIP 12 | PASS 530 ]
  Error:
  ! Test failures.
  Warning messages:
  1: In connection_release(conn@ptr) : Already disconnected
  2: call dbDisconnect() when finished working with a connection 
  Execution halted
ERROR r-oldrel-macos-x86_64

tests

Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [97s/103s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > #
...[truncated]...
id19-11.R"
  
  [ FAIL 14 | WARN 0 | SKIP 12 | PASS 530 ]
  Error:
  ! Test failures.
  Warning messages:
  1: In connection_release(conn@ptr) : Already disconnected
  2: call dbDisconnect() when finished working with a connection 
  Execution halted
NOTE 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘duckdb’

Dependency Network

Dependencies Reverse dependencies checkmate curl DBI dbplyr dplyr glue ISOweek jsonlite lubridate pkgcond purrr readr rlang R6 SCDB +3 more dependencies diseasystore

Version History

updated 0.3.3 ← 0.3.2 diff Mar 20, 2026
new 0.3.2 Mar 10, 2026
updated 0.3.2 ← 0.3.1 diff Oct 16, 2025
updated 0.3.1 ← 0.3.0 diff Feb 27, 2025
updated 0.3.0 ← 0.2.2 diff Dec 10, 2024
updated 0.2.2 ← 0.2.1 diff Jul 14, 2024
updated 0.2.1 ← 0.2.0 diff Apr 21, 2024
updated 0.2.0 ← 0.1.1 diff Mar 19, 2024
updated 0.1.1 ← 0.1 diff Jan 17, 2024
new 0.1 Dec 19, 2023