CRAN Package Check Results for Package lingmatch

Last updated on 2021-06-16 09:53:27 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2 47.40 97.37 144.77 OK
r-devel-linux-x86_64-debian-gcc 1.0.2 33.51 73.12 106.63 OK
r-devel-linux-x86_64-fedora-clang 1.0.2 184.78 OK
r-devel-linux-x86_64-fedora-gcc 1.0.2 174.27 OK
r-devel-windows-x86_64 1.0.2 56.00 128.00 184.00 OK
r-devel-windows-x86_64-gcc10-UCRT 1.0.2 OK
r-patched-linux-x86_64 1.0.2 38.55 93.92 132.47 OK
r-patched-solaris-x86 1.0.2 206.30 OK
r-release-linux-x86_64 1.0.2 42.60 93.52 136.12 OK
r-release-macos-arm64 1.0.2 OK
r-release-macos-x86_64 1.0.2 OK
r-release-windows-ix86+x86_64 1.0.2 102.00 177.00 279.00 ERROR
r-oldrel-macos-x86_64 1.0.2 OK
r-oldrel-windows-ix86+x86_64 1.0.2 75.00 177.00 252.00 ERROR

Check Details

Version: 1.0.2
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'testthat.R' [14s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(lingmatch)
     Loading required package: Matrix
     >
     > test_check("lingmatch")
     == Skipped tests ===============================================================
     * embeddings files not downloaded (1)
     * not downloading dictionary or embeddings files (1)
     * raw embeddings test files not present in C:\Users\CRAN\Documents/Latent Semantic Spaces/ from d:/Rcompile/CRANpkg/local/4.1/lingmatch.Rcheck/tests_i386/testthat (1)
     * term map not present (1)
     * texts.txt not found in d:\RCompile\CRANpkg\local\4.1\ (1)
    
     == Failed tests ================================================================
     -- Failure (test-lma_termcat.R:19:3): term.weights work ------------------------
     s2[, 1] not equal to `score`.
     64/100 mismatches (average diff: 0.208)
     [2] -8.006 - -7.884 == -0.122
     [3] 1.775 - 1.897 == -0.122
     [4] -0.759 - -0.272 == -0.487
     [5] -2.500 - -2.379 == -0.122
     [6] -0.701 - -0.336 == -0.366
     [7] -2.302 - -1.815 == -0.487
     [8] -5.930 - -5.808 == -0.122
     [10] -5.854 - -5.610 == -0.244
     [13] -1.087 - -0.965 == -0.122
     ...
     -- Failure (test-lma_termcat.R:23:3): term.weights work ------------------------
     lma_termcat(dtm, rbind(sepcat, sepcat[1:4, ]))[, 2] not equal to score * 2.
     64/100 mismatches (average diff: 0.415)
     [2] -16.01 - -15.768 == -0.244
     [3] 3.55 - 3.794 == -0.244
     [4] -1.52 - -0.544 == -0.975
     [5] -5.00 - -4.757 == -0.244
     [6] -1.40 - -0.672 == -0.731
     [7] -4.60 - -3.629 == -0.975
     [8] -11.86 - -11.616 == -0.244
     [10] -11.71 - -11.221 == -0.487
     [13] -2.17 - -1.930 == -0.244
     ...
     -- Failure (test-lma_termcat.R:24:3): term.weights work ------------------------
     ...[] not equal to score * 2.
     64/100 mismatches (average diff: 0.415)
     [2] -16.01 - -15.768 == -0.244
     [3] 3.55 - 3.794 == -0.244
     [4] -1.52 - -0.544 == -0.975
     [5] -5.00 - -4.757 == -0.244
     [6] -1.40 - -0.672 == -0.731
     [7] -4.60 - -3.629 == -0.975
     [8] -11.86 - -11.616 == -0.244
     [10] -11.71 - -11.221 == -0.487
     [13] -2.17 - -1.930 == -0.244
     ...
    
     [ FAIL 3 | WARN 0 | SKIP 5 | PASS 340 ]
     Error: Test failures
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 1.0.2
Check: running tests for arch ‘x64’
Result: ERROR
     Running 'testthat.R' [15s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(lingmatch)
     Loading required package: Matrix
     >
     > test_check("lingmatch")
     == Skipped tests ===============================================================
     * embeddings files not downloaded (1)
     * not downloading dictionary or embeddings files (1)
     * raw embeddings test files not present in C:\Users\CRAN\Documents/Latent Semantic Spaces/ from d:/Rcompile/CRANpkg/local/4.0/lingmatch.Rcheck/tests_x64/testthat (1)
     * term map not present (1)
     * texts.txt not found in d:\RCompile\CRANpkg\local\4.0\ (1)
    
     == Failed tests ================================================================
     -- Failure (test-lma_dtm.R:56:3): tokens.only lines up -------------------------
     as.numeric(lma_dtm(tokens)) not equal to as.numeric(dtm).
     Lengths differ: 315 is not 350
    
     [ FAIL 1 | WARN 0 | SKIP 5 | PASS 342 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64