CRAN Package Check Results for Package ngramr

Last updated on 2022-09-11 12:56:23 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.7.5 6.81 62.04 68.85 ERROR
r-devel-linux-x86_64-debian-gcc 1.7.7 5.10 47.05 52.15 OK
r-devel-linux-x86_64-fedora-clang 1.7.5 95.34 ERROR
r-devel-linux-x86_64-fedora-gcc 1.7.7 93.41 OK
r-devel-windows-x86_64 1.7.5 19.00 84.00 103.00 ERROR
r-patched-linux-x86_64 1.7.5 5.93 56.27 62.20 ERROR
r-release-linux-x86_64 1.7.5 5.99 55.87 61.86 ERROR
r-release-macos-arm64 1.7.5 33.00 NOTE
r-release-macos-x86_64 1.7.5 52.00 NOTE
r-release-windows-x86_64 1.7.7 20.00 87.00 107.00 OK
r-oldrel-macos-arm64 1.7.5 31.00 NOTE
r-oldrel-macos-x86_64 1.7.5 49.00 NOTE
r-oldrel-windows-ix86+x86_64 1.7.5 16.00 89.00 105.00 OK

Check Details

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