- using R version 4.3.3 (2024-02-29)
- using platform: aarch64-apple-darwin20 (64-bit)
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.4
- using session charset: UTF-8
- checking for file ‘diseasystore/DESCRIPTION’ ... OK
- this is package ‘diseasystore’ version ‘0.3.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘diseasystore’ can be installed ... [6s/7s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking startup messages can be suppressed ... [1s/1s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [2s/2s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/2s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [31s/36s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [31s/35s]
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.
#####
Following backends will be tested:
####
This message is displayed once per session.
[ FAIL 12 | WARN 0 | SKIP 13 | PASS 411 ]
══ Skipped tests (13) ══════════════════════════════════════════════════════════
• "SQLiteConnection" %in% skip_backends is TRUE (3):
'test-DiseasystoreSimulist.R:2:1', 'test-DiseasystoreSimulist.R:2:1',
'test-DiseasystoreSimulist.R:2:1'
• empty test (7): 'test-DiseasystoreEcdcRespitoryViruses.R:7:1',
'test-DiseasystoreEcdcRespitoryViruses.R:7:1',
'test-DiseasystoreEcdcRespitoryViruses.R:7:1',
'test-DiseasystoreSimulist.R:2:1', 'test-DiseasystoreSimulist.R:2:1',
'test-DiseasystoreSimulist.R:2:1', 'test-DiseasystoreSimulist.R:2:1'
• is.null(skip_backends) is TRUE (2):
'test-DiseasystoreEcdcRespitoryViruses.R:7:1',
'test-DiseasystoreGoogleCovid19.R:5:1'
• remote_data_available is not TRUE (1):
'test-DiseasystoreEcdcRespitoryViruses.R:7:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-DiseasystoreGoogleCovid19.R:5:1'): DiseasystoreGoogleCovid19 can initialise with remote source_conn ──
Expected `ds$get_feature(feature)` to run without any errors.
i Actually got a <purrr_error_indexed> with text:
i In index: 1.
Caused by error:
! vector memory exhausted (limit reached?)
── Failure ('test-DiseasystoreGoogleCovid19.R:5:1'): DiseasystoreGoogleCovid19 can initialise with default source_conn ──
Expected `ds$get_feature(ds$available_features[[1]])` to run without any errors.
i Actually got a <purrr_error_indexed> with text:
i In index: 1.
Caused by error:
! vector memory exhausted (limit reached?)
── Error ('test-DiseasystoreGoogleCovid19.R:5:1'): DiseasystoreGoogleCovid19 can retrieve features from a fresh state ──
<purrr_error_indexed/rlang_error/error/condition>
Error in `map2(.x, .y, .f, ..., .progress = .progress)`: i In index: 1.
Caused by error in `pmap()`:
i In index: 1.
Caused by error:
! vector memory exhausted (limit reached?)
── Error ('test-DiseasystoreGoogleCovid19.R:5:1'): DiseasystoreGoogleCovid19 can extend existing features ──
<purrr_error_indexed/rlang_error/error/condition>
Error in `map2(.x, .y, .f, ..., .progress = .progress)`: i In index: 1.
Caused by error in `pmap()`:
i In index: 1.
Caused by error:
! vector memory exhausted (limit reached?)
── Failure ('test-DiseasystoreGoogleCovid19.R:5:1'): DiseasystoreGoogleCovid19 can key_join features ──
Expected `ds$key_join_features(...)` to run without any errors.
i Actually got a <purrr_error_indexed> with text:
i In index: 1.
Caused by error:
! vector memory exhausted (limit reached?)
── Failure ('test-DiseasystoreGoogleCovid19.R:5:1'): DiseasystoreGoogleCovid19 can key_join features ──
Expected `ds$key_join_features(...)` to run without any errors.
i Actually got a <purrr_error_indexed> with text:
i In index: 1.
Caused by error:
! vector memory exhausted (limit reached?)
── Failure ('test-DiseasystoreGoogleCovid19.R:5:1'): DiseasystoreGoogleCovid19 can key_join features ──
Expected `ds$key_join_features(...)` to run without any errors.
i Actually got a <purrr_error_indexed> with text:
i In index: 1.
Caused by error:
! vector memory exhausted (limit reached?)
── Failure ('test-DiseasystoreGoogleCovid19.R:5:1'): DiseasystoreGoogleCovid19 can key_join features ──
Expected `ds$key_join_features(...)` to run without any errors.
i Actually got a <purrr_error_indexed> with text:
i In index: 1.
Caused by error:
! vector memory exhausted (limit reached?)
── Failure ('test-DiseasystoreGoogleCovid19.R:5:1'): DiseasystoreGoogleCovid19 can key_join features ──
Expected `ds$key_join_features(...)` to run without any errors.
i Actually got a <purrr_error_indexed> with text:
i In index: 1.
Caused by error:
! vector memory exhausted (limit reached?)
── Failure ('test-DiseasystoreGoogleCovid19.R:5:1'): DiseasystoreGoogleCovid19 can key_join features ──
Expected `ds$key_join_features(...)` to run without any errors.
i Actually got a <purrr_error_indexed> with text:
i In index: 1.
Caused by error:
! vector memory exhausted (limit reached?)
── Error ('test-DiseasystoreGoogleCovid19.R:5:1'): DiseasystoreGoogleCovid19 can key_join features ──
<purrr_error_indexed/rlang_error/error/condition>
Error in `pmap(.l, .f, ..., .progress = .progress)`: i In index: 1.
Caused by error:
! e$message (`actual`) not identical to paste("(At least one) stratification feature does not match observable aggregator. Not implemented yet.") (`expected`).
`names(actual)` is a character vector ('i')
`names(expected)` is absent
actual vs expected
- i"In index: 1."
+ "(At least one) stratification feature does not match observable aggregator. Not implemented yet."
── Error ('test-DiseasystoreGoogleCovid19.R:5:1'): DiseasystoreGoogleCovid19 key_join fails gracefully ──
<purrr_error_indexed/rlang_error/error/condition>
Error in `pmap(.l, .f, ..., .progress = .progress)`: i In index: 1.
Caused by error:
! Check on 'e$message' failed: Must comply to pattern 'Stratification variable not found. Available stratification variables are: age_group, country_id, country, region_id, region, subregion_id, subregion'
[ FAIL 12 | WARN 0 | SKIP 13 | PASS 411 ]
Error: Test failures
In addition: Warning message:
call dbDisconnect() when finished working with a connection
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [46s/53s] OK
- checking PDF version of manual ... [4s/4s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '