CRAN Package Check Results for Package text2map

Last updated on 2021-10-23 01:49:17 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 19.03 155.44 174.47 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 13.47 116.57 130.04 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 202.17 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.1 206.35 NOTE
r-devel-windows-x86_64 0.1.0 27.00 262.00 289.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.1.0 ERROR
r-patched-linux-x86_64 0.1.0 16.55 146.90 163.45 OK
r-patched-solaris-x86 0.1.1 6.00 ERROR
r-release-linux-x86_64 0.1.0 16.31 147.38 163.69 OK
r-release-macos-arm64 0.1.0 NOTE
r-release-macos-x86_64 0.1.0 NOTE
r-release-windows-ix86+x86_64 0.1.0 27.00 221.00 248.00 OK
r-oldrel-macos-x86_64 0.1.0 ERROR
r-oldrel-windows-ix86+x86_64 0.1.0 40.00 172.00 212.00 ERROR

Check Details

Version: 0.1.0
Check: examples
Result: ERROR
    Running examples in 'text2map-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: dtm_builder
    > ### Title: A fast unigram DTM builder
    > ### Aliases: dtm_builder
    >
    > ### ** Examples
    >
    >
    > library(dplyr)
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    >
    > my.corpus <- data.frame(
    + text = c(
    + "I hear babies crying I watch them grow",
    + <ERROR: re-encoding failure from encoding 'UTF-8'>
     "They...
    + "And I think to myself",
    Error: unexpected symbol in:
    " "They...
     "And"
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.0
Check: data for non-ASCII characters
Result: NOTE
     Note: found 3 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.1.1
Check: data for non-ASCII characters
Result: NOTE
     Note: found 3 marked UTF-8 strings
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.1.0
Check: package dependencies
Result: ERROR
    Packages required but not available: 'qgraph', 'igraph'
    
    See section 'The DESCRIPTION file' in the 'Writing R Extensions'
    manual.
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 0.1.1
Check: package dependencies
Result: ERROR
    Package required but not available: ‘mlpack’
    
    See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
    manual.
Flavor: r-patched-solaris-x86

Version: 0.1.0
Check: for unstated dependencies in examples
Result: WARN
    Warning: parse error in file 'lines':
    20: unexpected '>'
    31: # create DTM
    32: dtm <- jfk_speech |>
     ^
Flavor: r-oldrel-macos-x86_64

Version: 0.1.0
Check: examples
Result: ERROR
    Running examples in ‘text2map-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: CMDist
    > ### Title: Concept Mover's Distance
    > ### Aliases: CMDist
    >
    > ### ** Examples
    >
    >
    > # load example word embeddings
    > data(ft_wv_sample)
    >
    > # load example text
    > data(jfk_speech)
    >
    > # minimal preprocessing
    > jfk_speech$sentence <- tolower(jfk_speech$sentence)
    > jfk_speech$sentence <- gsub("[[:punct:]]+", " ", jfk_speech$sentence)
    >
    > # create DTM
    > dtm <- jfk_speech |> dtm_builder(sentence, sentence_id)
    Error: unexpected '>' in "dtm <- jfk_speech |>"
    Execution halted
Flavors: r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [3s/3s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(text2map)
     >
     > test_check("text2map")
     Error in parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
     /Volumes/Builds/packages/high-sierra-x86_64/results/4.0/text2map.Rcheck/tests/testthat/helper-data.R:135:29: unexpected '>'
     134: tidytext_dtm <- function(df.text) {
     135: dtm <- df.text |>
     ^
     Calls: test_check ... source_test_helpers -> source_dir -> lapply -> FUN -> parse
     Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 0.1.0
Check: for unstated dependencies in examples
Result: WARN
    Warning: parse error in file 'lines':
    20: unexpected '>'
    32: # create DTM
    33: dtm <- jfk_speech |>
     ^
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.1.0
Check: for unstated dependencies in ‘tests’
Result: WARN
    Warning: parse error in file 'testthat/helper-data.R':
    135:29: unexpected '>'
    134: tidytext_dtm <- function(df.text) {
    135: dtm <- df.text |>
     ^
    Warning: parse error in file 'testthat/test-utils-dtm.R':
    87:25: unexpected '>'
    86: # example 1
    87: dtm.a <- my.corpus |>
     ^
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [7s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(text2map)
     >
     > test_check("text2map")
     Error in parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
     d:\RCompile\CRANpkg\local\4.0\text2map.Rcheck\tests\testthat\helper-data.R:135:29: unexpected '>'
     134: tidytext_dtm <- function(df.text) {
     135: dtm <- df.text |>
     ^
     Calls: test_check ... source_test_helpers -> source_dir -> lapply -> FUN -> parse
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64