Last updated on 2022-09-11 12:56:53 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
ngramr | 5 | 4 | 4 |
Current CRAN status: ERROR: 5, NOTE: 4, OK: 4
Version: 1.7.5
Check: examples
Result: ERROR
Running examples in 'ngramr-Ex.R' failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: print.ngram
> ### Title: Print n-gram contents
> ### Aliases: print.ngram
>
> ### ** Examples
>
> x <- ngram(c("hacker", "programmer"), year_start = 1950)
Warning in ngram_fetch_data(html) : NAs introduced by coercion
Error in stringr::str_split(grep("drawD3Chart", json, value = TRUE), ",")[[1]] :
subscript out of bounds
Calls: ngram -> lapply -> FUN -> ngram_single -> ngram_fetch_data
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 1.7.5
Check: tests
Result: ERROR
Running 'testthat.R' [3s/4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(ngramr)
>
> test_check("ngramr")
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 6 ]
== Failed tests ================================================================
-- Error (test-ngramr.R:19:1): (code run outside of `test_that()`) -------------
<subscriptOutOfBoundsError/error/condition>
Error in `stringr::str_split(grep("drawD3Chart", json, value = TRUE), ",")[[1]]`: subscript out of bounds
Backtrace:
x
1. \-ngramr::ngram(...) at test-ngramr.R:19:0
2. \-base::lapply(...)
3. \-ngramr (local) FUN(X[[i]], ...)
4. \-ngramr:::ngram_single(...)
5. \-ngramr:::ngram_fetch_data(html)
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 6 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.7.5
Check: dependencies in R code
Result: NOTE
Namespace in Imports field not imported from: ‘lifecycle’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Version: 1.7.5
Check: examples
Result: ERROR
Running examples in ‘ngramr-Ex.R’ failed
The error most likely occurred in:
> ### Name: print.ngram
> ### Title: Print n-gram contents
> ### Aliases: print.ngram
>
> ### ** Examples
>
> x <- ngram(c("hacker", "programmer"), year_start = 1950)
Warning in ngram_fetch_data(html) : NAs introduced by coercion
Error in stringr::str_split(grep("drawD3Chart", json, value = TRUE), ",")[[1]] :
subscript out of bounds
Calls: ngram -> lapply -> FUN -> ngram_single -> ngram_fetch_data
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64
Version: 1.7.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(ngramr)
>
> test_check("ngramr")
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 6 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-ngramr.R:19:1): (code run outside of `test_that()`) ─────────────
<subscriptOutOfBoundsError/error/condition>
Error in `stringr::str_split(grep("drawD3Chart", json, value = TRUE), ",")[[1]]`: subscript out of bounds
Backtrace:
▆
1. └─ngramr::ngram(...) at test-ngramr.R:19:0
2. └─base::lapply(...)
3. └─ngramr (local) FUN(X[[i]], ...)
4. └─ngramr:::ngram_single(...)
5. └─ngramr:::ngram_fetch_data(html)
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 6 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.7.5
Check: tests
Result: ERROR
Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(ngramr)
>
> test_check("ngramr")
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 6 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-ngramr.R:19:1): (code run outside of `test_that()`) ─────────────
<subscriptOutOfBoundsError/error/condition>
Error in `stringr::str_split(grep("drawD3Chart", json, value = TRUE), ",")[[1]]`: subscript out of bounds
Backtrace:
▆
1. └─ngramr::ngram(...) at test-ngramr.R:19:0
2. └─base::lapply(...)
3. └─ngramr (local) FUN(X[[i]], ...)
4. └─ngramr:::ngram_single(...)
5. └─ngramr:::ngram_fetch_data(html)
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 6 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 1.7.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(ngramr)
>
> test_check("ngramr")
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 6 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-ngramr.R:19:1): (code run outside of `test_that()`) ─────────────
<subscriptOutOfBoundsError/error/condition>
Error in `stringr::str_split(grep("drawD3Chart", json, value = TRUE), ",")[[1]]`: subscript out of bounds
Backtrace:
▆
1. └─ngramr::ngram(...) at test-ngramr.R:19:0
2. └─base::lapply(...)
3. └─ngramr (local) FUN(X[[i]], ...)
4. └─ngramr:::ngram_single(...)
5. └─ngramr:::ngram_fetch_data(html)
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 6 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 1.7.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(ngramr)
>
> test_check("ngramr")
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 6 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-ngramr.R:19:1): (code run outside of `test_that()`) ─────────────
<subscriptOutOfBoundsError/error/condition>
Error in `stringr::str_split(grep("drawD3Chart", json, value = TRUE), ",")[[1]]`: subscript out of bounds
Backtrace:
▆
1. └─ngramr::ngram(...) at test-ngramr.R:19:0
2. └─base::lapply(...)
3. └─ngramr (local) FUN(X[[i]], ...)
4. └─ngramr:::ngram_single(...)
5. └─ngramr:::ngram_fetch_data(html)
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 6 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64