Last updated on 2024-11-21 19:53:16 CET.
Package | ERROR | OK |
---|---|---|
handwriterRF | 3 | 10 |
Current CRAN status: ERROR: 3, OK: 10
Version: 1.0.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [31s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(handwriterRF)
>
> test_check("handwriterRF")
Copying samples to output directory > docs...
Processing samples...
Loading graphs for w0030_s01_pWOZ_r01_proclist.rds
Cluster assignments already exist for w0030_s01_pWOZ_r01
Loading graphs for w0030_s01_pWOZ_r02_proclist.rds
Cluster assignments already exist for w0030_s01_pWOZ_r02
Calculating distance between samples...
Calculating similarity score between samples...
Calculating SLR for samples...
Copying samples to output directory > docs...
Processing samples...
Loading graphs for w0030_s01_pWOZ_r01_proclist.rds
Cluster assignments already exist for w0030_s01_pWOZ_r01
Loading graphs for w0238_s01_pWOZ_r02_proclist.rds
Cluster assignments already exist for w0238_s01_pWOZ_r02
Calculating distance between samples...
Calculating similarity score between samples...
Calculating SLR for samples...
Copying samples to output directory > docs...
Processing samples...
Loading graphs for w0238_s01_pWOZ_r02_proclist.rds
Cluster assignments already exist for w0238_s01_pWOZ_r02
Loading graphs for w0238_s01_pWOZ_r03_proclist.rds
Cluster assignments already exist for w0238_s01_pWOZ_r03
Calculating distance between samples...
Calculating similarity score between samples...
Calculating SLR for samples...
Copying samples to output directory > docs...
Processing samples...
path in readPNGBinary: /var/folders/k4/0jwzxmln0nb8y6rkzprptb640000gq/T//Rtmp3YNjTX/comparison/docs/w0030_s01_pWOZ_r01.png
Starting Processing...
Getting Nodes...
Skeletonizing writing...
Splitting document into components...
Merging nodes...
Finding paths...
Split paths into graphs...
Organizing graphs...
Creating graph lists...
Adding character features...
Document processing complete
path in readPNGBinary: /var/folders/k4/0jwzxmln0nb8y6rkzprptb640000gq/T//Rtmp3YNjTX/comparison/docs/w0030_s01_pWOZ_r02.png
Starting Processing...
Getting Nodes...
Skeletonizing writing...
Splitting document into components...
Merging nodes...
Finding paths...
Split paths into graphs...
Organizing graphs...
Creating graph lists...
Adding character features...
Document processing complete
Loading graphs for w0030_s01_pWOZ_r01_proclist.rds
Getting cluster assignments for w0030_s01_pWOZ_r01
Saving cluster assignments for w0030_s01_pWOZ_r01
Loading graphs for w0030_s01_pWOZ_r02_proclist.rds
Getting cluster assignments for w0030_s01_pWOZ_r02
Saving cluster assignments for w0030_s01_pWOZ_r02
Calculating distance between samples...
Calculating similarity score between samples...
Calculating SLR for samples...
Copying samples to output directory > docs...
Processing samples...
Loading graphs for sample1_proclist.rds
Cluster assignments already exist for sample1
Loading graphs for sample2_proclist.rds
Cluster assignments already exist for sample2
Calculating distance between samples...
Calculating similarity score between samples...
Calculating SLR for samples...
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 24 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-train.R:30:3'): Make densities works with ranger package ─────
`actual` (`actual`) not equal to rforest$densities (`expected`).
`actual$same_writer` is length 7
`expected$same_writer` is length 8
names(actual$same_writer) | names(expected$same_writer)
[2] "y" | "y" [2]
[3] "bw" | "bw" [3]
[4] "n" | "n" [4]
[5] "call" - "old.coords" [5]
[6] "data.name" - "call" [6]
[7] "has.na" - "data.name" [7]
- "has.na" [8]
actual$same_writer$y | expected$same_writer$y
[1] 0.00068894 - 0.00068874 [1]
[2] 0.00069383 - 0.00069363 [2]
[3] 0.00069875 - 0.00069855 [3]
[4] 0.00070371 - 0.00070350 [4]
[5] 0.00070869 - 0.00070848 [5]
[6] 0.00071371 - 0.00071350 [6]
[7] 0.00071876 - 0.00071855 [7]
[8] 0.00072384 - 0.00072363 [8]
[9] 0.00072895 - 0.00072874 [9]
[10] 0.00073410 - 0.00073388 [10]
... ... ... and 9990 more ...
`actual$same_writer$old.coords` is absent
`expected$same_writer$old.coords` is a logical vector (FALSE)
`actual$diff_writer` is length 7
`expected$diff_writer` is length 8
names(actual$diff_writer) | names(expected$diff_writer)
[2] "y" | "y" [2]
[3] "bw" | "bw" [3]
[4] "n" | "n" [4]
[5] "call" - "old.coords" [5]
[6] "data.name" - "call" [6]
[7] "has.na" - "data.name" [7]
- "has.na" [8]
actual$diff_writer$y | expected$diff_writer$y
[1] 0.15227451 - 0.15223259 [1]
[2] 0.15337566 - 0.15333350 [2]
[3] 0.15448381 - 0.15444142 [3]
[4] 0.15559973 - 0.15555710 [4]
[5] 0.15672256 - 0.15667969 [5]
[6] 0.15785233 - 0.15780922 [6]
[7] 0.15898908 - 0.15894573 [7]
[8] 0.16013372 - 0.16009013 [8]
[9] 0.16128565 - 0.16124182 [9]
[10] 0.16244467 - 0.16240060 [10]
... ... ... and 9990 more ...
`actual$diff_writer$old.coords` is absent
`expected$diff_writer$old.coords` is a logical vector (FALSE)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 24 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-macos-arm64
Version: 1.0.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [60s/61s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(handwriterRF)
>
> test_check("handwriterRF")
Copying samples to output directory > docs...
Processing samples...
Loading graphs for w0030_s01_pWOZ_r01_proclist.rds
Cluster assignments already exist for w0030_s01_pWOZ_r01
Loading graphs for w0030_s01_pWOZ_r02_proclist.rds
Cluster assignments already exist for w0030_s01_pWOZ_r02
Calculating distance between samples...
Calculating similarity score between samples...
Calculating SLR for samples...
Copying samples to output directory > docs...
Processing samples...
Loading graphs for w0030_s01_pWOZ_r01_proclist.rds
Cluster assignments already exist for w0030_s01_pWOZ_r01
Loading graphs for w0238_s01_pWOZ_r02_proclist.rds
Cluster assignments already exist for w0238_s01_pWOZ_r02
Calculating distance between samples...
Calculating similarity score between samples...
Calculating SLR for samples...
Copying samples to output directory > docs...
Processing samples...
Loading graphs for w0238_s01_pWOZ_r02_proclist.rds
Cluster assignments already exist for w0238_s01_pWOZ_r02
Loading graphs for w0238_s01_pWOZ_r03_proclist.rds
Cluster assignments already exist for w0238_s01_pWOZ_r03
Calculating distance between samples...
Calculating similarity score between samples...
Calculating SLR for samples...
Copying samples to output directory > docs...
Processing samples...
path in readPNGBinary: /var/folders/2b/t0kwbtmn3p7brv2mvx39c9cr0000gn/T//RtmpwHvN6F/comparison/docs/w0030_s01_pWOZ_r01.png
Starting Processing...
Getting Nodes...
Skeletonizing writing...
Splitting document into components...
Merging nodes...
Finding paths...
Split paths into graphs...
Organizing graphs...
Creating graph lists...
Adding character features...
Document processing complete
path in readPNGBinary: /var/folders/2b/t0kwbtmn3p7brv2mvx39c9cr0000gn/T//RtmpwHvN6F/comparison/docs/w0030_s01_pWOZ_r02.png
Starting Processing...
Getting Nodes...
Skeletonizing writing...
Splitting document into components...
Merging nodes...
Finding paths...
Split paths into graphs...
Organizing graphs...
Creating graph lists...
Adding character features...
Document processing complete
Loading graphs for w0030_s01_pWOZ_r01_proclist.rds
Getting cluster assignments for w0030_s01_pWOZ_r01
Saving cluster assignments for w0030_s01_pWOZ_r01
Loading graphs for w0030_s01_pWOZ_r02_proclist.rds
Getting cluster assignments for w0030_s01_pWOZ_r02
Saving cluster assignments for w0030_s01_pWOZ_r02
Calculating distance between samples...
Calculating similarity score between samples...
Calculating SLR for samples...
Copying samples to output directory > docs...
Processing samples...
Loading graphs for sample1_proclist.rds
Cluster assignments already exist for sample1
Loading graphs for sample2_proclist.rds
Cluster assignments already exist for sample2
Calculating distance between samples...
Calculating similarity score between samples...
Calculating SLR for samples...
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 24 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-train.R:30:3'): Make densities works with ranger package ─────
`actual` (`actual`) not equal to rforest$densities (`expected`).
`actual$same_writer` is length 7
`expected$same_writer` is length 8
names(actual$same_writer) | names(expected$same_writer)
[2] "y" | "y" [2]
[3] "bw" | "bw" [3]
[4] "n" | "n" [4]
[5] "call" - "old.coords" [5]
[6] "data.name" - "call" [6]
[7] "has.na" - "data.name" [7]
- "has.na" [8]
actual$same_writer$y | expected$same_writer$y
[1] 0.00068894 - 0.00068874 [1]
[2] 0.00069383 - 0.00069363 [2]
[3] 0.00069875 - 0.00069855 [3]
[4] 0.00070371 - 0.00070350 [4]
[5] 0.00070869 - 0.00070848 [5]
[6] 0.00071371 - 0.00071350 [6]
[7] 0.00071876 - 0.00071855 [7]
[8] 0.00072384 - 0.00072363 [8]
[9] 0.00072895 - 0.00072874 [9]
[10] 0.00073410 - 0.00073388 [10]
... ... ... and 9990 more ...
`actual$same_writer$old.coords` is absent
`expected$same_writer$old.coords` is a logical vector (FALSE)
`actual$diff_writer` is length 7
`expected$diff_writer` is length 8
names(actual$diff_writer) | names(expected$diff_writer)
[2] "y" | "y" [2]
[3] "bw" | "bw" [3]
[4] "n" | "n" [4]
[5] "call" - "old.coords" [5]
[6] "data.name" - "call" [6]
[7] "has.na" - "data.name" [7]
- "has.na" [8]
actual$diff_writer$y | expected$diff_writer$y
[1] 0.15227451 - 0.15223259 [1]
[2] 0.15337566 - 0.15333350 [2]
[3] 0.15448381 - 0.15444142 [3]
[4] 0.15559973 - 0.15555710 [4]
[5] 0.15672256 - 0.15667969 [5]
[6] 0.15785233 - 0.15780922 [6]
[7] 0.15898908 - 0.15894573 [7]
[8] 0.16013372 - 0.16009013 [8]
[9] 0.16128565 - 0.16124182 [9]
[10] 0.16244467 - 0.16240060 [10]
... ... ... and 9990 more ...
`actual$diff_writer$old.coords` is absent
`expected$diff_writer$old.coords` is a logical vector (FALSE)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 24 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-macos-x86_64
Version: 1.0.2
Check: tests
Result: ERROR
Running 'testthat.R' [165s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(handwriterRF)
>
> test_check("handwriterRF")
Copying samples to output directory > docs...
Processing samples...
Loading graphs for w0030_s01_pWOZ_r01_proclist.rds
Cluster assignments already exist for w0030_s01_pWOZ_r01
Loading graphs for w0030_s01_pWOZ_r02_proclist.rds
Cluster assignments already exist for w0030_s01_pWOZ_r02
Calculating distance between samples...
Calculating similarity score between samples...
Calculating SLR for samples...
Copying samples to output directory > docs...
Processing samples...
Loading graphs for w0030_s01_pWOZ_r01_proclist.rds
Cluster assignments already exist for w0030_s01_pWOZ_r01
Loading graphs for w0238_s01_pWOZ_r02_proclist.rds
Cluster assignments already exist for w0238_s01_pWOZ_r02
Calculating distance between samples...
Calculating similarity score between samples...
Calculating SLR for samples...
Copying samples to output directory > docs...
Processing samples...
Loading graphs for w0238_s01_pWOZ_r02_proclist.rds
Cluster assignments already exist for w0238_s01_pWOZ_r02
Loading graphs for w0238_s01_pWOZ_r03_proclist.rds
Cluster assignments already exist for w0238_s01_pWOZ_r03
Calculating distance between samples...
Calculating similarity score between samples...
Calculating SLR for samples...
Copying samples to output directory > docs...
Processing samples...
path in readPNGBinary: D:\temp\2024_11_20_01_50_01_8813\RtmpGMJa40/comparison/docs/w0030_s01_pWOZ_r01.png
Starting Processing...
Getting Nodes...
Skeletonizing writing...
Splitting document into components...
Merging nodes...
Finding paths...
Split paths into graphs...
Organizing graphs...
Creating graph lists...
Adding character features...
Document processing complete
path in readPNGBinary: D:\temp\2024_11_20_01_50_01_8813\RtmpGMJa40/comparison/docs/w0030_s01_pWOZ_r02.png
Starting Processing...
Getting Nodes...
Skeletonizing writing...
Splitting document into components...
Merging nodes...
Finding paths...
Split paths into graphs...
Organizing graphs...
Creating graph lists...
Adding character features...
Document processing complete
Loading graphs for w0030_s01_pWOZ_r01_proclist.rds
Getting cluster assignments for w0030_s01_pWOZ_r01
Saving cluster assignments for w0030_s01_pWOZ_r01
Loading graphs for w0030_s01_pWOZ_r02_proclist.rds
Getting cluster assignments for w0030_s01_pWOZ_r02
Saving cluster assignments for w0030_s01_pWOZ_r02
Calculating distance between samples...
Calculating similarity score between samples...
Calculating SLR for samples...
Copying samples to output directory > docs...
Processing samples...
Loading graphs for sample1_proclist.rds
Cluster assignments already exist for sample1
Loading graphs for sample2_proclist.rds
Cluster assignments already exist for sample2
Calculating distance between samples...
Calculating similarity score between samples...
Calculating SLR for samples...
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 24 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-train.R:30:3'): Make densities works with ranger package ─────
`actual` (`actual`) not equal to rforest$densities (`expected`).
`actual$same_writer` is length 7
`expected$same_writer` is length 8
names(actual$same_writer) | names(expected$same_writer)
[2] "y" | "y" [2]
[3] "bw" | "bw" [3]
[4] "n" | "n" [4]
[5] "call" - "old.coords" [5]
[6] "data.name" - "call" [6]
[7] "has.na" - "data.name" [7]
- "has.na" [8]
actual$same_writer$y | expected$same_writer$y
[1] 0.00068894 - 0.00068874 [1]
[2] 0.00069383 - 0.00069363 [2]
[3] 0.00069875 - 0.00069855 [3]
[4] 0.00070371 - 0.00070350 [4]
[5] 0.00070869 - 0.00070848 [5]
[6] 0.00071371 - 0.00071350 [6]
[7] 0.00071876 - 0.00071855 [7]
[8] 0.00072384 - 0.00072363 [8]
[9] 0.00072895 - 0.00072874 [9]
[10] 0.00073410 - 0.00073388 [10]
... ... ... and 9990 more ...
`actual$same_writer$old.coords` is absent
`expected$same_writer$old.coords` is a logical vector (FALSE)
`actual$diff_writer` is length 7
`expected$diff_writer` is length 8
names(actual$diff_writer) | names(expected$diff_writer)
[2] "y" | "y" [2]
[3] "bw" | "bw" [3]
[4] "n" | "n" [4]
[5] "call" - "old.coords" [5]
[6] "data.name" - "call" [6]
[7] "has.na" - "data.name" [7]
- "has.na" [8]
actual$diff_writer$y | expected$diff_writer$y
[1] 0.15227451 - 0.15223259 [1]
[2] 0.15337566 - 0.15333350 [2]
[3] 0.15448381 - 0.15444142 [3]
[4] 0.15559973 - 0.15555710 [4]
[5] 0.15672256 - 0.15667969 [5]
[6] 0.15785233 - 0.15780922 [6]
[7] 0.15898908 - 0.15894573 [7]
[8] 0.16013372 - 0.16009013 [8]
[9] 0.16128565 - 0.16124182 [9]
[10] 0.16244467 - 0.16240060 [10]
... ... ... and 9990 more ...
`actual$diff_writer$old.coords` is absent
`expected$diff_writer$old.coords` is a logical vector (FALSE)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 24 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.