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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: textfeatures
> ### Title: textfeatures
> ### Aliases: textfeatures
> 
> ### ** Examples
> 
> 
> ## the text of five of Trump's most retweeted tweets
> trump_tweets <- c(
+   "#FraudNewsCNN #FNN https://t.co/WYUnHjjUjg",
+   "TODAY WE MAKE AMERICA GREAT AGAIN!",
+   paste("Why would Kim Jong-un insult me by calling me \"old,\" when I would",
+     "NEVER call him \"short and fat?\" Oh well, I try so hard to be his",
+     "friend - and maybe someday that will happen!"),
+   paste("Such a beautiful and important evening! The forgotten man and woman",
+     "will never be forgotten again. We will all come together as never before"),
+   paste("North Korean Leader Kim Jong Un just stated that the \"Nuclear",
+     "Button is on his desk at all times.\" Will someone from his depleted and",
+     "food starved regime please inform him that I too have a Nuclear Button,",
+     "but it is a much bigger &amp; more powerful one than his, and my Button",
+     "works!")
+ )
> 
> ## get the text features of a character vector
> textfeatures(trump_tweets)
Error in textfeatures.character(trump_tweets) : 
  is.atomic(word_dims) is not TRUE
Calls: textfeatures -> textfeatures.character -> stopifnot
Execution halted
Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(textfeatures)
  > 
  > test_check("textfeatures")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-main.R:18:3'): main textfeatures function ──────────────────────
  Error in `textfeatures.character(txt)`: is.atomic(word_dims) is not TRUE
  Backtrace:
      ▆
   1. ├─textfeatures::textfeatures(txt) at test-main.R:18:2
   2. └─textfeatures:::textfeatures.character(txt)
   3.   └─base::stopifnot(...)
  ── Error ('test-verbose.R:16:3'): printing output ──────────────────────────────
  Error in `textfeatures.character(txt)`: is.atomic(word_dims) is not TRUE
  Backtrace:
       ▆
    1. ├─testthat::expect_output(textfeatures(txt)) at test-verbose.R:16:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. ├─textfeatures::textfeatures(txt)
   11. └─textfeatures:::textfeatures.character(txt)
   12.   └─base::stopifnot(...)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘textfeatures-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: textfeatures
> ### Title: textfeatures
> ### Aliases: textfeatures
> 
> ### ** Examples
> 
> 
> ## the text of five of Trump's most retweeted tweets
> trump_tweets <- c(
+   "#FraudNewsCNN #FNN https://t.co/WYUnHjjUjg",
+   "TODAY WE MAKE AMERICA GREAT AGAIN!",
+   paste("Why would Kim Jong-un insult me by calling me \"old,\" when I would",
+     "NEVER call him \"short and fat?\" Oh well, I try so hard to be his",
+     "friend - and maybe someday that will happen!"),
+   paste("Such a beautiful and important evening! The forgotten man and woman",
+     "will never be forgotten again. We will all come together as never before"),
+   paste("North Korean Leader Kim Jong Un just stated that the \"Nuclear",
+     "Button is on his desk at all times.\" Will someone from his depleted and",
+     "food starved regime please inform him that I too have a Nuclear Button,",
+     "but it is a much bigger &amp; more powerful one than his, and my Button",
+     "works!")
+ )
> 
> ## get the text features of a character vector
> textfeatures(trump_tweets)
Error in textfeatures.character(trump_tweets) : 
  is.atomic(word_dims) is not TRUE
Calls: textfeatures -> textfeatures.character -> stopifnot
Execution halted
Running ‘testthat.R’ [1s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(textfeatures)
  > 
  > test_check("textfeatures")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-main.R:18:3'): main textfeatures function ──────────────────────
  Error in `textfeatures.character(txt)`: is.atomic(word_dims) is not TRUE
  Backtrace:
      ▆
   1. ├─textfeatures::textfeatures(txt) at test-main.R:18:2
   2. └─textfeatures:::textfeatures.character(txt)
   3.   └─base::stopifnot(...)
  ── Error ('test-verbose.R:16:3'): printing output ──────────────────────────────
  Error in `textfeatures.character(txt)`: is.atomic(word_dims) is not TRUE
  Backtrace:
       ▆
    1. ├─testthat::expect_output(textfeatures(txt)) at test-verbose.R:16:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. ├─textfeatures::textfeatures(txt)
   11. └─textfeatures:::textfeatures.character(txt)
   12.   └─base::stopifnot(...)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘textfeatures-Ex.R’ failed
The error most likely occurred in:

> ### Name: textfeatures
> ### Title: textfeatures
> ### Aliases: textfeatures
> 
> ### ** Examples
> 
> 
> ## the text of five of Trump's most retweeted tweets
> trump_tweets <- c(
+   "#FraudNewsCNN #FNN https://t.co/WYUnHjjUjg",
+   "TODAY WE MAKE AMERICA GREAT AGAIN!",
+   paste("Why would Kim Jong-un insult me by calling me \"old,\" when I would",
+     "NEVER call him \"short and fat?\" Oh well, I try so hard to be his",
+     "friend - and maybe someday that will happen!"),
+   paste("Such a beautiful and important evening! The forgotten man and woman",
+     "will never be forgotten again. We will all come together as never before"),
+   paste("North Korean Leader Kim Jong Un just stated that the \"Nuclear",
+     "Button is on his desk at all times.\" Will someone from his depleted and",
+     "food starved regime please inform him that I too have a Nuclear Button,",
+     "but it is a much bigger &amp; more powerful one than his, and my Button",
+     "works!")
+ )
> 
> ## get the text features of a character vector
> textfeatures(trump_tweets)
Error in textfeatures.character(trump_tweets) : 
  is.atomic(word_dims) is not TRUE
Calls: textfeatures -> textfeatures.character -> stopifnot
Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(textfeatures)
  > 
  > test_check("textfeatures")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-main.R:18:3'): main textfeatures function ──────────────────────
  Error in `textfeatures.character(txt)`: is.atomic(word_dims) is not TRUE
  Backtrace:
      ▆
   1. ├─textfeatures::textfeatures(txt) at test-main.R:18:2
   2. └─textfeatures:::textfeatures.character(txt)
   3.   └─base::stopifnot(...)
  ── Error ('test-verbose.R:16:3'): printing output ──────────────────────────────
  Error in `textfeatures.character(txt)`: is.atomic(word_dims) is not TRUE
  Backtrace:
       ▆
    1. ├─testthat::expect_output(textfeatures(txt)) at test-verbose.R:16:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. ├─textfeatures::textfeatures(txt)
   11. └─textfeatures:::textfeatures.character(txt)
   12.   └─base::stopifnot(...)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘textfeatures-Ex.R’ failed
The error most likely occurred in:

> ### Name: textfeatures
> ### Title: textfeatures
> ### Aliases: textfeatures
> 
> ### ** Examples
> 
> 
> ## the text of five of Trump's most retweeted tweets
> trump_tweets <- c(
+   "#FraudNewsCNN #FNN https://t.co/WYUnHjjUjg",
+   "TODAY WE MAKE AMERICA GREAT AGAIN!",
+   paste("Why would Kim Jong-un insult me by calling me \"old,\" when I would",
+     "NEVER call him \"short and fat?\" Oh well, I try so hard to be his",
+     "friend - and maybe someday that will happen!"),
+   paste("Such a beautiful and important evening! The forgotten man and woman",
+     "will never be forgotten again. We will all come together as never before"),
+   paste("North Korean Leader Kim Jong Un just stated that the \"Nuclear",
+     "Button is on his desk at all times.\" Will someone from his depleted and",
+     "food starved regime please inform him that I too have a Nuclear Button,",
+     "but it is a much bigger &amp; more powerful one than his, and my Button",
+     "works!")
+ )
> 
> ## get the text features of a character vector
> textfeatures(trump_tweets)
Error in textfeatures.character(trump_tweets) : 
  is.atomic(word_dims) is not TRUE
Calls: textfeatures -> textfeatures.character -> stopifnot
Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(textfeatures)
  > 
  > test_check("textfeatures")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-main.R:18:3'): main textfeatures function ──────────────────────
  Error in `textfeatures.character(txt)`: is.atomic(word_dims) is not TRUE
  Backtrace:
      ▆
   1. ├─textfeatures::textfeatures(txt) at test-main.R:18:2
   2. └─textfeatures:::textfeatures.character(txt)
   3.   └─base::stopifnot(...)
  ── Error ('test-verbose.R:16:3'): printing output ──────────────────────────────
  Error in `textfeatures.character(txt)`: is.atomic(word_dims) is not TRUE
  Backtrace:
       ▆
    1. ├─testthat::expect_output(textfeatures(txt)) at test-verbose.R:16:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. ├─textfeatures::textfeatures(txt)
   11. └─textfeatures:::textfeatures.character(txt)
   12.   └─base::stopifnot(...)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
Running examples in 'textfeatures-Ex.R' failed
The error most likely occurred in:

> ### Name: textfeatures
> ### Title: textfeatures
> ### Aliases: textfeatures
> 
> ### ** Examples
> 
> 
> ## the text of five of Trump's most retweeted tweets
> trump_tweets <- c(
+   "#FraudNewsCNN #FNN https://t.co/WYUnHjjUjg",
+   "TODAY WE MAKE AMERICA GREAT AGAIN!",
+   paste("Why would Kim Jong-un insult me by calling me \"old,\" when I would",
+     "NEVER call him \"short and fat?\" Oh well, I try so hard to be his",
+     "friend - and maybe someday that will happen!"),
+   paste("Such a beautiful and important evening! The forgotten man and woman",
+     "will never be forgotten again. We will all come together as never before"),
+   paste("North Korean Leader Kim Jong Un just stated that the \"Nuclear",
+     "Button is on his desk at all times.\" Will someone from his depleted and",
+     "food starved regime please inform him that I too have a Nuclear Button,",
+     "but it is a much bigger &amp; more powerful one than his, and my Button",
+     "works!")
+ )
> 
> ## get the text features of a character vector
> textfeatures(trump_tweets)
Error in textfeatures.character(trump_tweets) : 
  is.atomic(word_dims) is not TRUE
Calls: textfeatures -> textfeatures.character -> stopifnot
Execution halted
Running 'testthat.R' [1s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(textfeatures)
  > 
  > test_check("textfeatures")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-main.R:18:3'): main textfeatures function ──────────────────────
  Error in `textfeatures.character(txt)`: is.atomic(word_dims) is not TRUE
  Backtrace:
      ▆
   1. ├─textfeatures::textfeatures(txt) at test-main.R:18:2
   2. └─textfeatures:::textfeatures.character(txt)
   3.   └─base::stopifnot(...)
  ── Error ('test-verbose.R:16:3'): printing output ──────────────────────────────
  Error in `textfeatures.character(txt)`: is.atomic(word_dims) is not TRUE
  Backtrace:
       ▆
    1. ├─testthat::expect_output(textfeatures(txt)) at test-verbose.R:16:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. ├─textfeatures::textfeatures(txt)
   11. └─textfeatures:::textfeatures.character(txt)
   12.   └─base::stopifnot(...)
  
  [ FAIL 2 | 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
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory