Running 'testthat.R' [86s]
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)
  > library(CDMConnector)
  > 
  > test_check("CDMConnector")
  trying URL 'https://raw.githubusercontent.com/darwin-eu/EunomiaDatasets/main/datasets/GiBleed/GiBleed_5.3.zip'
  Content type 'application/zip' length 6848518 bytes (6.5 MB)
  ==================================================
  downloaded 6.5 MB
  
  Dataset already exists (D:\temp\RtmpITvBqm\file252846f605832/GiBleed_5.3.zip). Specify overwrite=T to overwrite existing zip archive.attempting to extract and load D:\temp\RtmpITvBqm\file252846f605832/GiBleed_5.3.zip
  		#STDOFF	2:05:08.9
  		#STDOFF	8:05:43.2
  		#STDOFF	7:36:41.7
  		#STDOFF	-0:25:21.1
  		#STDOFF	1:39:49.2
  		#STDOFF	-0:36:44.68
  		#STDOFF	-4:56:01.6
  		#STDOFF	-3:58:29.2
  		#STDOFF	-4:19:18.3
  		#STDOFF	-5:36:13.3
  		#STDOFF	-4:56:16.4
  		#STDOFF	2:05:08.9
  		#STDOFF	8:05:43.2
  		#STDOFF	7:36:41.7
  		#STDOFF	-0:25:21.1
  		#STDOFF	1:39:49.2
  		#STDOFF	-0:36:44.68
  		#STDOFF	-4:56:01.6
  		#STDOFF	-3:58:29.2
  		#STDOFF	-4:19:18.3
  		#STDOFF	-5:36:13.3
  		#STDOFF	-4:56:16.4
  [ FAIL 5 | WARN 0 | SKIP 58 | PASS 235 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • "Databricks" %in% odbc::odbcListDataSources()$name is not TRUE (7)
  • "OracleODBC-19" %in% odbc::odbcListDataSources()$name is not TRUE (3)
  • "OracleODBC-19" %in% odbc::odbcListDrivers() is not TRUE (1)
  • "Snowflake" %in% odbc::odbcListDataSources()$name is not TRUE (3)
  • Capr cannot be loaded (1)
  • CirceR cannot be loaded (5)
  • On CRAN (4)
  • Sys.getenv("CDM5_POSTGRESQL_USER") == "" is TRUE (9)
  • Sys.getenv("CDM5_REDSHIFT_USER") == "" is TRUE (8)
  • Sys.getenv("CDM5_SQL_SERVER_USER") == "" is TRUE (9)
  • Sys.getenv("LOCAL_POSTGRESQL_USER") == "" is TRUE (3)
  • Sys.getenv("REDSHIFT_USER") == "" is TRUE (1)
  • Sys.getenv("SNOWFLAKE_USER") == "" is TRUE (1)
  • failing test (1)
  • manual test (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-dateadd.R:23:3'): Date functions work on duckdb ──────────────
  df$dif_years (`actual`) not equal to c(1, 1, 0, 0) (`expected`).
  
    `actual`: 1.0000 1.0001 0.9929 0.8900
  `expected`: 1.0000 1.0000 0.0000 0.0000
  ── Failure ('test-dateadd.R:406:3'): test year, month, day functionality ───────
  df$month1 == 359 is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-dateadd.R:407:3'): test year, month, day functionality ───────
  df$year1 == 29 is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-dateadd.R:409:3'): test year, month, day functionality ───────
  df$month2 == 360 is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-dateadd.R:410:3'): test year, month, day functionality ───────
  df$year2 == 30 is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 5 | WARN 0 | SKIP 58 | PASS 235 ]
  Error: Test failures
  Execution halted