Last updated on 2024-05-29 08:56:23 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.7 | 79.37 | 112.24 | 191.61 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.0.7 | 63.55 | 83.21 | 146.76 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.0.7 | 262.93 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.7 | 286.22 | OK | |||
r-devel-windows-x86_64 | 1.0.7 | 67.00 | 121.00 | 188.00 | OK | |
r-patched-linux-x86_64 | 1.0.7 | 77.64 | 107.04 | 184.68 | OK | |
r-release-linux-x86_64 | 1.0.7 | 80.05 | 109.14 | 189.19 | OK | |
r-release-macos-arm64 | 1.0.7 | 66.00 | NOTE | |||
r-release-macos-x86_64 | 1.0.7 | 155.00 | NOTE | |||
r-release-windows-x86_64 | 1.0.7 | 71.00 | 117.00 | 188.00 | OK | |
r-oldrel-macos-arm64 | 1.0.7 | 72.00 | NOTE | |||
r-oldrel-macos-x86_64 | 1.0.7 | 154.00 | NOTE | |||
r-oldrel-windows-x86_64 | 1.0.7 | 68.00 | 144.00 | 212.00 | ERROR |
Version: 1.0.7
Check: installed package size
Result: NOTE
installed size is 5.1Mb
sub-directories of 1Mb or more:
libs 4.7Mb
Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Version: 1.0.7
Check: tests
Result: ERROR
Running 'testthat.R' [12s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(lingmatch)
Loading required package: Matrix
>
> test_check("lingmatch")
preparing text (0)
preparing dict (0)
extracting matches (0)
preparing results (0)
done (0.02)
preparing text (0)
preparing dict (0)
extracting matches (0)
preparing results (0)
done (0.02)
preparing text (0)
preparing dict (0)
extracting matches (0)
preparing results (0)
done (0)
preparing dict (0)
extracting matches (0)
preparing results (0)
done (0)
preparing text (0)
preparing dict (0)
extracting matches (0.02)
preparing results (0.02)
writing results: D:\temp\RtmpSm4LaB\file30bacf46233d.csv (0.02)
done (0.03)
[ FAIL 2 | WARN 1 | SKIP 9 | PASS 348 ]
══ Skipped tests (9) ═══════════════════════════════════════════════════════════
• embeddings files not downloaded (3): 'test-dictionary_meta.R:4:1',
'test-lma_lspace.R:18:1', 'test-report_term_matches.R:48:1'
• not downloading dictionary or embeddings files (1): 'test-utils.R:313:1'
• raw embeddings test files not present in C:\Users\CRAN\Documents/Latent
Semantic Spaces/ from
d:/Rcompile/CRANpkg/local/4.3/lingmatch.Rcheck/tests/testthat (1):
'test-utils.R:288:3'
• term map not present (1): 'test-utils.R:281:3'
• test dictionary is not present (1): 'test-lma_patcat.R:109:1'
• texts.txt not found in D:\RCompile\CRANpkg\local\4.3 (1):
'test-lma_termcat.R:178:1'
• unable to read package files (1): 'test-utils.R:222:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-lingmatch.R:20:3'): different input formats have the same results ──
as.numeric(lingmatch(as.data.frame(as.matrix(dtm)))$sim) not equal to `manual`.
1048/2500 mismatches (average diff: 0.0754)
[2] 0 - 0.0519 == -0.0519
[3] 0 - 0.0712 == -0.0712
[4] 0 - 0.1539 == -0.1539
[5] 0 - 0.0868 == -0.0868
[6] 0 - 0.0903 == -0.0903
[7] 0 - 0.0208 == -0.0208
[8] 0 - 0.0703 == -0.0703
[9] 0 - 0.0667 == -0.0667
[10] 0 - 0.0664 == -0.0664
...
── Error ('test-lingmatch.R:22:3'): different input formats have the same results ──
Error: a must have more than 1 row when b is not provided
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test-lingmatch.R:22:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─lingmatch::lingmatch(cbind(as.data.frame(as.matrix(dtm)), id = "a"))
7. ├─base::do.call(lma_simets, c(list(input), sal))
8. └─lingmatch (local) `<fn>`(`<dbl[,50]>`, metric = "cosine", mean = FALSE)
[ FAIL 2 | WARN 1 | SKIP 9 | PASS 348 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64