Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RAthena)
  > 
  > test_check("RAthena")
  ── Skip (test-append-data.R:9:3): Testing if data is appended correctly ────────
  Reason: Environment variables are not set for testing
  
  ── Skip (test-arn.R:9:3): Check connection to Athena using ARN ─────────────────
  Reason: boto3 not available for testing
  
  ── Skip (test-athena-ddl.R:12:3): Check if Athena DDL's are created correctly ──
  Reason: boto3 not available for testing
  
  ── Skip (test-athena-request.R:9:3): Check if Athena Request created correctly ─
  Reason: boto3 not available for testing
  
  ── Skip (test-cache.R:9:3): Testing if caching returns the same query id ───────
  Reason: Environment variables are not set for testing
  
  ── Skip (test-classes.R:9:3): Testing class formation ──────────────────────────
  Reason: boto3 not available for testing
  
  ── Skip (test-datatransfer-datatable.R:12:3): Testing data transfer between R an
  Reason: boto3 not available for testing
  
  ── Skip (test-datatransfer-vroom.R:12:3): Testing data transfer between R and at
  Reason: boto3 not available for testing
  
  ── Skip (test-dbConvertTable.R:9:3): Check if table is converted correctly ─────
  Reason: boto3 not available for testing
  
  ── Skip (test-dbDisconnect.R:11:3): Check if dbDisconnect working as intended ──
  Reason: boto3 not available for testing
  
  ── Skip (test-dplyr-compute.R:10:3): Check RAthena s3 dplyr compute method ─────
  Reason: boto3 not available for testing
  
  ── Skip (test-dplyr-copy_to.R:10:3): Check RAthena s3 dplyr copy_to method ─────
  Reason: boto3 not available for testing
  
  ── Skip (test-dplyr-sql-trans-env.R:39:3): Check RAthena s3 dplyr sql_translate_
  Reason: boto3 not available for testing
  
  ── Skip (test-exist-remove.R:11:3): Check a table exist and remove table ───────
  Reason: boto3 not available for testing
  
  ── Skip (test-metadata.R:15:3): Returning meta data ────────────────────────────
  Reason: boto3 not available for testing
  
  ── Skip (test-retry.R:4:3): Check if retry_api is working as intended ──────────
  Reason: boto3 not available for testing
  
  ── Skip (test-s3-upload-location.R:4:3): Check if the S3 upload location is corr
  Reason: boto3 not available for testing
  
  ── ERROR (test-upload-file-parameter.R:8:3): test file parser parameter setup ──
  Error: write_parquet requires the arrow package, please install it first and try again
  Backtrace:
      █
   1. └─RAthena:::update_args(file.type = "parquet", init_args) test-upload-file-parameter.R:8:2
   2.   └─RAthena:::pkg_method("write_parquet", "arrow")
  
  ── Skip (test-work-groups.R:9:3): Create and Delete Athena Work Groups ─────────
  Reason: boto3 not available for testing
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● Environment variables are not set for testing (2)
  ● boto3 not available for testing (16)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  ERROR (test-upload-file-parameter.R:8:3): test file parser parameter setup
  
  [ FAIL 1 | WARN 0 | SKIP 18 | PASS 12 ]
  Error: Test failures
  Execution halted