'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
Running ‘testthat.R’ [1s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(randNames)
  > 
  > test_check("randNames")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_rand_names.R:4:5): Random names work ────────────────────────────
  Error: lexical error: invalid char in json text.
                                         <!DOCTYPE html> <!--[if lt IE 7
                       (right here) ------^
  
  Backtrace:
      ▆
   1. ├─testthat::expect_is(rand_names(1), "data.frame") at test_rand_names.R:4:4
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─randNames::rand_names(1)
   5.   └─jsonlite::fromJSON(...)
   6.     └─jsonlite:::parse_and_simplify(...)
   7.       └─jsonlite:::parseJSON(txt, bigint_as_char)
   8.         └─jsonlite:::parse_string(txt, bigint_as_char)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(randNames)
  > 
  > test_check("randNames")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_rand_names.R:4:5): Random names work ────────────────────────────
  Error: lexical error: invalid char in json text.
                                         <!DOCTYPE html> <!--[if lt IE 7
                       (right here) ------^
  
  Backtrace:
      ▆
   1. ├─testthat::expect_is(rand_names(1), "data.frame") at test_rand_names.R:4:4
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─randNames::rand_names(1)
   5.   └─jsonlite::fromJSON(...)
   6.     └─jsonlite:::parse_and_simplify(...)
   7.       └─jsonlite:::parseJSON(txt, bigint_as_char)
   8.         └─jsonlite:::parse_string(txt, bigint_as_char)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(randNames)
  > 
  > test_check("randNames")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_rand_names.R:4:5): Random names work ────────────────────────────
  Error: lexical error: invalid char in json text.
                                         <!DOCTYPE html> <!--[if lt IE 7
                       (right here) ------^
  
  Backtrace:
      ▆
   1. ├─testthat::expect_is(rand_names(1), "data.frame") at test_rand_names.R:4:4
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─randNames::rand_names(1)
   5.   └─jsonlite::fromJSON(...)
   6.     └─jsonlite:::parse_and_simplify(...)
   7.       └─jsonlite:::parseJSON(txt, bigint_as_char)
   8.         └─jsonlite:::parse_string(txt, bigint_as_char)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘randNames-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: rand_names
> ### Title: Random name generator
> ### Aliases: rand_names
> 
> ### ** Examples
> 
> data <- rand_names(5)
Error: lexical error: invalid char in json text.
                                       <!DOCTYPE html> <!--[if lt IE 7
                     (right here) ------^
Execution halted
Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(randNames)
  > 
  > test_check("randNames")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_rand_names.R:4:5): Random names work ────────────────────────────
  Error: lexical error: invalid char in json text.
                                         <!DOCTYPE html> <!--[if lt IE 7
                       (right here) ------^
  
  Backtrace:
      ▆
   1. ├─testthat::expect_is(rand_names(1), "data.frame") at test_rand_names.R:4:4
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─randNames::rand_names(1)
   5.   └─jsonlite::fromJSON(...)
   6.     └─jsonlite:::parse_and_simplify(...)
   7.       └─jsonlite:::parseJSON(txt, bigint_as_char)
   8.         └─jsonlite:::parse_string(txt, bigint_as_char)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory