'LazyData' is specified without a 'data' directory
Running examples in 'danstat-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_subjects
> ### Title: Get a list of subjects covered in the data bank
> ### Aliases: get_subjects
> 
> ### ** Examples
> 
> # Get all subjects
> all_subjects <- get_subjects()
> 
> # Or get (sub)subjects for specific subjects
> some_subjects <- get_subjects(subjects = c("02", "2419"))
Error: API did not return text/json
Execution halted
Running 'testthat.R' [3s/12s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(danstat)
  > 
  > test_check("danstat")
  == Failed tests ================================================================
  -- Error (test-get_tables.R:2:3): subject 'as is' I() works --------------------
  Error: API did not return text/json
  Backtrace:
      x
   1. +-testthat::expect_identical(get_tables(subjects = "2419"), get_tables(subjects = c("2419"))) test-get_tables.R:2:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-danstat::get_tables(subjects = "2419")
   5.   \-danstat:::check_http_type(result)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 18 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building 'Introduction_to_danstat.Rmd' using rmarkdown
Quitting from lines 40-43 (Introduction_to_danstat.Rmd) 
Error: processing vignette 'Introduction_to_danstat.Rmd' failed with diagnostics:
API did not return text/json
--- failed re-building 'Introduction_to_danstat.Rmd'

SUMMARY: processing the following file failed:
  'Introduction_to_danstat.Rmd'

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘danstat-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_subjects
> ### Title: Get a list of subjects covered in the data bank
> ### Aliases: get_subjects
> 
> ### ** Examples
> 
> # Get all subjects
> all_subjects <- get_subjects()
> 
> # Or get (sub)subjects for specific subjects
> some_subjects <- get_subjects(subjects = c("02", "2419"))
Error: API did not return text/json
Execution halted
Running ‘testthat.R’ [2s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(danstat)
  > 
  > test_check("danstat")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get_tables.R:2:3): subject 'as is' I() works ────────────────────
  Error: API did not return text/json
  Backtrace:
      █
   1. ├─testthat::expect_identical(get_tables(subjects = "2419"), get_tables(subjects = c("2419"))) test-get_tables.R:2:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─danstat::get_tables(subjects = "2419")
   5.   └─danstat:::check_http_type(result)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 18 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘Introduction_to_danstat.Rmd’ using rmarkdown
Quitting from lines 40-43 (Introduction_to_danstat.Rmd) 
Error: processing vignette ‘Introduction_to_danstat.Rmd’ failed with diagnostics:
API did not return text/json
--- failed re-building ‘Introduction_to_danstat.Rmd’

SUMMARY: processing the following file failed:
  ‘Introduction_to_danstat.Rmd’

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘danstat-Ex.R’ failed
The error most likely occurred in:

> ### Name: get_subjects
> ### Title: Get a list of subjects covered in the data bank
> ### Aliases: get_subjects
> 
> ### ** Examples
> 
> # Get all subjects
> all_subjects <- get_subjects()
> 
> # Or get (sub)subjects for specific subjects
> some_subjects <- get_subjects(subjects = c("02", "2419"))
Error: API did not return text/json
Execution halted
Running ‘testthat.R’ [4s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(danstat)
  > 
  > test_check("danstat")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get_tables.R:2:3): subject 'as is' I() works ────────────────────
  Error: API did not return text/json
  Backtrace:
      █
   1. ├─testthat::expect_identical(get_tables(subjects = "2419"), get_tables(subjects = c("2419"))) test-get_tables.R:2:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─danstat::get_tables(subjects = "2419")
   5.   └─danstat:::check_http_type(result)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 18 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building ‘Introduction_to_danstat.Rmd’ using rmarkdown
Quitting from lines 40-43 (Introduction_to_danstat.Rmd) 
Error: processing vignette 'Introduction_to_danstat.Rmd' failed with diagnostics:
API did not return text/json
--- failed re-building ‘Introduction_to_danstat.Rmd’

SUMMARY: processing the following file failed:
  ‘Introduction_to_danstat.Rmd’

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘danstat-Ex.R’ failed
The error most likely occurred in:

> ### Name: get_subjects
> ### Title: Get a list of subjects covered in the data bank
> ### Aliases: get_subjects
> 
> ### ** Examples
> 
> # Get all subjects
> all_subjects <- get_subjects()
> 
> # Or get (sub)subjects for specific subjects
> some_subjects <- get_subjects(subjects = c("02", "2419"))
Error: API did not return text/json
Execution halted
Running ‘testthat.R’ [4s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(danstat)
  > 
  > test_check("danstat")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get_tables.R:2:3): subject 'as is' I() works ────────────────────
  Error: API did not return text/json
  Backtrace:
      █
   1. ├─testthat::expect_identical(get_tables(subjects = "2419"), get_tables(subjects = c("2419"))) test-get_tables.R:2:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─danstat::get_tables(subjects = "2419")
   5.   └─danstat:::check_http_type(result)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 18 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building ‘Introduction_to_danstat.Rmd’ using rmarkdown
Quitting from lines 40-43 (Introduction_to_danstat.Rmd) 
Error: processing vignette 'Introduction_to_danstat.Rmd' failed with diagnostics:
API did not return text/json
--- failed re-building ‘Introduction_to_danstat.Rmd’

SUMMARY: processing the following file failed:
  ‘Introduction_to_danstat.Rmd’

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in 'danstat-Ex.R' failed
The error most likely occurred in:

> ### Name: get_subjects
> ### Title: Get a list of subjects covered in the data bank
> ### Aliases: get_subjects
> 
> ### ** Examples
> 
> # Get all subjects
> all_subjects <- get_subjects()
> 
> # Or get (sub)subjects for specific subjects
> some_subjects <- get_subjects(subjects = c("02", "2419"))
Error: API did not return text/json
Execution halted
Running 'testthat.R' [10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(danstat)
  > 
  > test_check("danstat")
  == Failed tests ================================================================
  -- Error (test-get_tables.R:2:3): subject 'as is' I() works --------------------
  Error: API did not return text/json
  Backtrace:
      x
   1. +-testthat::expect_identical(get_tables(subjects = "2419"), get_tables(subjects = c("2419"))) test-get_tables.R:2:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-danstat::get_tables(subjects = "2419")
   5.   \-danstat:::check_http_type(result)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 18 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building 'Introduction_to_danstat.Rmd' using rmarkdown
Quitting from lines 40-43 (Introduction_to_danstat.Rmd) 
Error: processing vignette 'Introduction_to_danstat.Rmd' failed with diagnostics:
API did not return text/json
--- failed re-building 'Introduction_to_danstat.Rmd'

SUMMARY: processing the following file failed:
  'Introduction_to_danstat.Rmd'

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in 'danstat-Ex.R' failed
The error most likely occurred in:

> ### Name: get_subjects
> ### Title: Get a list of subjects covered in the data bank
> ### Aliases: get_subjects
> 
> ### ** Examples
> 
> # Get all subjects
> all_subjects <- get_subjects()
> 
> # Or get (sub)subjects for specific subjects
> some_subjects <- get_subjects(subjects = c("02", "2419"))
Error: API did not return text/json
Execution halted
Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(danstat)
  > 
  > test_check("danstat")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get_tables.R:2:3): subject 'as is' I() works ────────────────────
  Error: API did not return text/json
  Backtrace:
      █
   1. ├─testthat::expect_identical(get_tables(subjects = "2419"), get_tables(subjects = c("2419"))) test-get_tables.R:2:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─danstat::get_tables(subjects = "2419")
   5.   └─danstat:::check_http_type(result)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 18 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building 'Introduction_to_danstat.Rmd' using rmarkdown
Quitting from lines 40-43 (Introduction_to_danstat.Rmd) 
Error: processing vignette 'Introduction_to_danstat.Rmd' failed with diagnostics:
API did not return text/json
--- failed re-building 'Introduction_to_danstat.Rmd'

SUMMARY: processing the following file failed:
  'Introduction_to_danstat.Rmd'

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘danstat-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_subjects
> ### Title: Get a list of subjects covered in the data bank
> ### Aliases: get_subjects
> 
> ### ** Examples
> 
> # Get all subjects
> all_subjects <- get_subjects()
> 
> # Or get (sub)subjects for specific subjects
> some_subjects <- get_subjects(subjects = c("02", "2419"))
Error: API did not return text/json
Execution halted
Running ‘testthat.R’ [3s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(danstat)
  > 
  > test_check("danstat")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get_tables.R:2:3): subject 'as is' I() works ────────────────────
  Error: API did not return text/json
  Backtrace:
      █
   1. ├─testthat::expect_identical(get_tables(subjects = "2419"), get_tables(subjects = c("2419"))) test-get_tables.R:2:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─danstat::get_tables(subjects = "2419")
   5.   └─danstat:::check_http_type(result)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 18 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘Introduction_to_danstat.Rmd’ using rmarkdown
Quitting from lines 40-43 (Introduction_to_danstat.Rmd) 
Error: processing vignette 'Introduction_to_danstat.Rmd' failed with diagnostics:
API did not return text/json
--- failed re-building ‘Introduction_to_danstat.Rmd’

SUMMARY: processing the following file failed:
  ‘Introduction_to_danstat.Rmd’

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘danstat-Ex.R’ failed
The error most likely occurred in:

> ### Name: get_subjects
> ### Title: Get a list of subjects covered in the data bank
> ### Aliases: get_subjects
> 
> ### ** Examples
> 
> # Get all subjects
> all_subjects <- get_subjects()
> 
> # Or get (sub)subjects for specific subjects
> some_subjects <- get_subjects(subjects = c("02", "2419"))
Error: API did not return text/json
Execution halted
Running ‘testthat.R’ [4s/31s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(danstat)
  > 
  > test_check("danstat")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get_tables.R:2:3): subject 'as is' I() works ────────────────────
  Error: API did not return text/json
  Backtrace:
      █
   1. ├─testthat::expect_identical(get_tables(subjects = "2419"), get_tables(subjects = c("2419"))) test-get_tables.R:2:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─danstat::get_tables(subjects = "2419")
   5.   └─danstat:::check_http_type(result)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 18 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘danstat-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_subjects
> ### Title: Get a list of subjects covered in the data bank
> ### Aliases: get_subjects
> 
> ### ** Examples
> 
> # Get all subjects
> all_subjects <- get_subjects()
> 
> # Or get (sub)subjects for specific subjects
> some_subjects <- get_subjects(subjects = c("02", "2419"))
Error: API did not return text/json
Execution halted
Running ‘testthat.R’ [3s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(danstat)
  > 
  > test_check("danstat")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get_tables.R:2:3): subject 'as is' I() works ────────────────────
  Error: API did not return text/json
  Backtrace:
      █
   1. ├─testthat::expect_identical(get_tables(subjects = "2419"), get_tables(subjects = c("2419"))) test-get_tables.R:2:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─danstat::get_tables(subjects = "2419")
   5.   └─danstat:::check_http_type(result)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 18 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘Introduction_to_danstat.Rmd’ using rmarkdown
Quitting from lines 40-43 (Introduction_to_danstat.Rmd) 
Error: processing vignette 'Introduction_to_danstat.Rmd' failed with diagnostics:
API did not return text/json
--- failed re-building ‘Introduction_to_danstat.Rmd’

SUMMARY: processing the following file failed:
  ‘Introduction_to_danstat.Rmd’

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
Running examples in 'danstat-Ex.R' failed
The error most likely occurred in:

> ### Name: get_subjects
> ### Title: Get a list of subjects covered in the data bank
> ### Aliases: get_subjects
> 
> ### ** Examples
> 
> # Get all subjects
> all_subjects <- get_subjects()
> 
> # Or get (sub)subjects for specific subjects
> some_subjects <- get_subjects(subjects = c("02", "2419"))
Error: API did not return text/json
Execution halted
Running 'testthat.R' [11s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(danstat)
  > 
  > test_check("danstat")
  == Failed tests ================================================================
  -- Error (test-get_tables.R:2:3): subject 'as is' I() works --------------------
  Error: API did not return text/json
  Backtrace:
      x
   1. +-testthat::expect_identical(get_tables(subjects = "2419"), get_tables(subjects = c("2419"))) test-get_tables.R:2:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-danstat::get_tables(subjects = "2419")
   5.   \-danstat:::check_http_type(result)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 18 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building 'Introduction_to_danstat.Rmd' using rmarkdown
Quitting from lines 40-43 (Introduction_to_danstat.Rmd) 
Error: processing vignette 'Introduction_to_danstat.Rmd' failed with diagnostics:
API did not return text/json
--- failed re-building 'Introduction_to_danstat.Rmd'

SUMMARY: processing the following file failed:
  'Introduction_to_danstat.Rmd'

Error: Vignette re-building failed.
Execution halted
Running examples in 'danstat-Ex.R' failed
The error most likely occurred in:

> ### Name: get_subjects
> ### Title: Get a list of subjects covered in the data bank
> ### Aliases: get_subjects
> 
> ### ** Examples
> 
> # Get all subjects
> all_subjects <- get_subjects()
> 
> # Or get (sub)subjects for specific subjects
> some_subjects <- get_subjects(subjects = c("02", "2419"))
Error: API did not return text/json
Execution halted
Running 'testthat.R' [12s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(danstat)
  > 
  > test_check("danstat")
  == Failed tests ================================================================
  -- Error (test-get_tables.R:2:3): subject 'as is' I() works --------------------
  Error: API did not return text/json
  Backtrace:
      x
   1. +-testthat::expect_identical(get_tables(subjects = "2419"), get_tables(subjects = c("2419"))) test-get_tables.R:2:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-danstat::get_tables(subjects = "2419")
   5.   \-danstat:::check_http_type(result)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 18 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building 'Introduction_to_danstat.Rmd' using rmarkdown
Quitting from lines 40-43 (Introduction_to_danstat.Rmd) 
Error: processing vignette 'Introduction_to_danstat.Rmd' failed with diagnostics:
API did not return text/json
--- failed re-building 'Introduction_to_danstat.Rmd'

SUMMARY: processing the following file failed:
  'Introduction_to_danstat.Rmd'

Error: Vignette re-building failed.
Execution halted