CRAN Package Check Results for Package handwriterRF

Last updated on 2024-12-26 03:49:53 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2 3.33 140.00 143.33 OK
r-devel-linux-x86_64-debian-gcc 1.0.2 2.56 89.50 92.06 OK
r-devel-linux-x86_64-fedora-clang 1.0.2 253.21 OK
r-devel-linux-x86_64-fedora-gcc 1.0.2 242.82 OK
r-devel-windows-x86_64 1.0.2 4.00 194.00 198.00 OK
r-patched-linux-x86_64 1.0.2 3.25 133.84 137.09 OK
r-release-linux-x86_64 1.0.2 3.08 130.87 133.95 OK
r-release-macos-arm64 1.0.2 64.00 OK
r-release-macos-x86_64 1.0.2 82.00 OK
r-release-windows-x86_64 1.0.2 4.00 190.00 194.00 OK
r-oldrel-macos-arm64 1.0.2 65.00 ERROR
r-oldrel-macos-x86_64 1.0.2 112.00 ERROR
r-oldrel-windows-x86_64 1.0.2 4.00 244.00 248.00 ERROR

Check Details

Version: 1.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [27s/28s] 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//Rtmps5H9X4/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//Rtmps5H9X4/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’ [51s/51s] 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//Rtmpixsg19/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//Rtmpixsg19/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' [175s] 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_12_25_01_50_00_20757\RtmpMNTigj/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_12_25_01_50_00_20757\RtmpMNTigj/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