- using R Under development (unstable) (2025-11-14 r89021)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 21.1.5
flang version 21.1.5
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘adproclus/DESCRIPTION’ ... OK
- this is package ‘adproclus’ version ‘2.0.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘adproclus’ can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [11s/14s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [25s/31s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [29s/39s] ERROR
Running ‘testthat.R’ [29s/39s]
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(adproclus)
>
> test_check("adproclus")
ADPROCLUS solution
Setup:
number of clusters: 2
data format: 21 x 4
total time: 0.154 s
number of total starts: 6
Results Best Run:
explained variance: 0.976
time: 0.017 s
iterations to convergence: 2
A (cluster membership matrix):
Cl1 Cl2
[1,] 1 1
[2,] 1 1
[3,] 1 1
[4,] 1 0
[5,] 1 0
[6,] 1 0
[7,] 1 0
[8,] 1 0
[9,] 1 0
[10,] 1 0
[ 11 rows were omitted ]
P (profiles):
Air.Flow Water.Temp Acid.Conc. stack.loss
Cl1 57.444 20.222 85.833 14.000
Cl2 20.889 6.111 3.167 24.667
Low Dimensional ADPROCLUS solution
number of clusters: 3
number of components: 2
data format: 21 x 4
total time: 0.267 s
number of total starts: 6
Results Best Run:
explained variance: 0.988
time: 0.024 s
iterations to convergence: 7
A (cluster membership matrix):
Cl1 Cl2 Cl3
[1,] 1 1 0
[2,] 1 1 0
[3,] 1 1 0
[4,] 1 0 1
[5,] 1 0 1
[6,] 1 0 1
[7,] 1 0 1
[8,] 1 0 1
[9,] 1 0 1
[10,] 0 1 0
[ 11 rows were omitted ]
C (profiles in terms of components - cluster by component):
Comp1 Comp2
Cl1 21.445 33.674
Cl2 98.800 8.596
Cl3 89.240 -17.609
B' (components by variables):
Air.Flow Water.Temp Acid.Conc. stack.loss
Comp1 0.491 0.178 0.852 0.033
Comp2 0.452 0.114 -0.315 0.827
ADPROCLUS solution
Setup:
number of clusters: 2
data format: 21 x 4
total time: 0.15 s
number of total starts: 6
Results Best Run:
explained variance: 0.98
time: 0.02 s
iterations to convergence: 2
A (cluster membership matrix):
Cl1 Cl2
[1,] 1 1
[ 20 rows were omitted ]
P (profiles):
Air.Flow Water.Temp Acid.Conc. stack.loss
Cl1 57.44 20.22 85.83 14
[ 1 rows were omitted ]
ADPROCLUS solution
Setup:
number of clusters: 2
data format: 21 x 4
total time: 0.15 s
number of total starts: 6
Results Best Run:
explained variance: 0.98
time: 0.02 s
iterations to convergence: 2
A (cluster membership matrix):
Cl1 Cl2
[1,] 1 1
[ 20 rows were omitted ]
P (profiles):
Air.Flow Water.Temp Acid.Conc. stack.loss
Cl1 57.44 20.22 85.83 14
[ 1 rows were omitted ]
Low Dimensional ADPROCLUS solution
number of clusters: 3
number of components: 2
data format: 21 x 4
total time: 0.27 s
number of total starts: 6
Results Best Run:
explained variance: 0.99
time: 0.02 s
iterations to convergence: 7
A (cluster membership matrix):
Cl1 Cl2 Cl3
[1,] 1 1 0
[ 20 rows were omitted ]
C (profiles in terms of components - cluster by component):
Comp1 Comp2
Cl1 21.44 33.67
[ 2 rows were omitted ]
B' (components by variables):
Air.Flow Water.Temp Acid.Conc. stack.loss
Comp1 0.49 0.18 0.85 0.03
Comp2 0.45 0.11 -0.32 0.83
Low Dimensional ADPROCLUS solution
number of clusters: 3
number of components: 2
data format: 21 x 4
total time: 0.27 s
number of total starts: 6
Results Best Run:
explained variance: 0.99
time: 0.02 s
iterations to convergence: 7
A (cluster membership matrix):
Cl1 Cl2 Cl3
[1,] 1 1 0
[ 20 rows were omitted ]
C (profiles in terms of components - cluster by component):
Comp1 Comp2
Cl1 21.44 33.67
[ 2 rows were omitted ]
B' (components by variables):
Air.Flow Water.Temp Acid.Conc. stack.loss
Comp1 0.49 0.18 0.85 0.03
Comp2 0.45 0.11 -0.32 0.83
ADPROCLUS solution
Setup:
number of clusters: 2
data format: 21 x 4
total time: 0.16 s
number of total starts: 6
Results Best Run:
explained variance: 0.98
time: 0.02 s
iterations to convergence: 2
A (cluster membership matrix):
Cl1 Cl2
[1,] 1 1
[ 20 rows were omitted ]
P (profiles):
Air.Flow Water.Temp Acid.Conc. stack.loss
Cl1 57.44 20.22 85.83 14
[ 1 rows were omitted ]
Cluster sizes and overlaps:
[,1] [,2] [,3]
[1,] 21 3 0
[2,] 3 3 0
[3,] 0 0 0
(diagonal entries: number of observations in a cluster)
(off-diagonal entry [i,j]: number of observations both in cluster i and j)
(last row/column represents additional baseline cluster)
Summary statistics of approximated model variables per cluster:
Cl1
Air.Flow Water.Temp Acid.Conc. stack.loss
Min 57.44 20.22 85.83 14.00
Mean 60.43 21.10 86.29 17.52
Max 78.33 26.33 89.00 38.67
Cl2
Air.Flow Water.Temp Acid.Conc. stack.loss
Min 78.33 26.33 89 38.67
Mean 78.33 26.33 89 38.67
Max 78.33 26.33 89 38.67
Low Dimensional ADPROCLUS solution
number of clusters: 3
number of components: 2
data format: 21 x 4
total time: 0.2 s
number of total starts: 6
Results Best Run:
explained variance: 0.99
time: 0.03 s
iterations to convergence: 7
A (cluster membership matrix):
Cl1 Cl2 Cl3
[1,] 1 1 0
[ 20 rows were omitted ]
C (profiles in terms of components - cluster by component):
Comp1 Comp2
Cl1 21.44 33.67
[ 2 rows were omitted ]
B' (components by variables):
Air.Flow Water.Temp Acid.Conc. stack.loss
Comp1 0.49 0.18 0.85 0.03
Comp2 0.45 0.11 -0.32 0.83
Cluster sizes and overlaps:
[,1] [,2] [,3] [,4]
[1,] 13 3 10 0
[2,] 3 11 0 0
[3,] 10 0 10 0
[4,] 0 0 0 0
(diagonal entries: number of observations in a cluster)
(off-diagonal entry [i,j]: number of observations both in cluster i and j)
(last row/column represents additional baseline cluster)
Summary statistics of approximated low dimensional components per cluster:
Cl1
Comp1 Comp2
Min 110.68 16.06
Mean 112.89 22.11
Max 120.24 42.27
Cl2
Comp1 Comp2
Min 98.80 8.60
Mean 104.65 17.78
Max 120.24 42.27
Cl3
Comp1 Comp2
Min 110.68 16.06
Mean 110.68 16.06
Max 110.68 16.06
ADPROCLUS solution
Setup:
number of clusters: 2
data format: 21 x 4
total time: 0.16 s
number of total starts: 6
Results Best Run:
explained variance: 0.98
time: 0.02 s
iterations to convergence: 2
A (cluster membership matrix):
Cl1 Cl2
[1,] 1 1
[ 20 rows were omitted ]
P (profiles):
Air.Flow Water.Temp Acid.Conc. stack.loss
Cl1 57.44 20.22 85.83 14
[ 1 rows were omitted ]
Cluster sizes and overlaps:
[,1] [,2] [,3]
[1,] 21 3 0
[2,] 3 3 0
[3,] 0 0 0
(diagonal entries: number of observations in a cluster)
(off-diagonal entry [i,j]: number of observations both in cluster i and j)
(last row/column represents additional baseline cluster)
Summary statistics of approximated model variables per cluster:
Cl1
Air.Flow Water.Temp Acid.Conc. stack.loss
Min 57.44 20.22 85.83 14.00
Mean 60.43 21.10 86.29 17.52
Max 78.33 26.33 89.00 38.67
Cl2
Air.Flow Water.Temp Acid.Conc. stack.loss
Min 78.33 26.33 89 38.67
Mean 78.33 26.33 89 38.67
Max 78.33 26.33 89 38.67
ADPROCLUS solution
Setup:
number of clusters: 2
data format: 21 x 4
total time: 0.16 s
number of total starts: 6
Results Best Run:
explained variance: 0.98
time: 0.02 s
iterations to convergence: 2
A (cluster membership matrix):
Cl1 Cl2
[1,] 1 1
[ 20 rows were omitted ]
P (profiles):
Air.Flow Water.Temp Acid.Conc. stack.loss
Cl1 57.44 20.22 85.83 14
[ 1 rows were omitted ]
Cluster sizes and overlaps:
[,1] [,2] [,3]
[1,] 21 3 0
[2,] 3 3 0
[3,] 0 0 0
(diagonal entries: number of observations in a cluster)
(off-diagonal entry [i,j]: number of observations both in cluster i and j)
(last row/column represents additional baseline cluster)
Summary statistics of approximated model variables per cluster:
Cl1
Air.Flow Water.Temp Acid.Conc. stack.loss
Min 57.44 20.22 85.83 14.00
Mean 60.43 21.10 86.29 17.52
Max 78.33 26.33 89.00 38.67
Cl2
Air.Flow Water.Temp Acid.Conc. stack.loss
Min 78.33 26.33 89 38.67
Mean 78.33 26.33 89 38.67
Max 78.33 26.33 89 38.67
Low Dimensional ADPROCLUS solution
number of clusters: 3
number of components: 2
data format: 21 x 4
total time: 0.2 s
number of total starts: 6
Results Best Run:
explained variance: 0.99
time: 0.03 s
iterations to convergence: 7
A (cluster membership matrix):
Cl1 Cl2 Cl3
[1,] 1 1 0
[ 20 rows were omitted ]
C (profiles in terms of components - cluster by component):
Comp1 Comp2
Cl1 21.44 33.67
[ 2 rows were omitted ]
B' (components by variables):
Air.Flow Water.Temp Acid.Conc. stack.loss
Comp1 0.49 0.18 0.85 0.03
Comp2 0.45 0.11 -0.32 0.83
Cluster sizes and overlaps:
[,1] [,2] [,3] [,4]
[1,] 13 3 10 0
[2,] 3 11 0 0
[3,] 10 0 10 0
[4,] 0 0 0 0
(diagonal entries: number of observations in a cluster)
(off-diagonal entry [i,j]: number of observations both in cluster i and j)
(last row/column represents additional baseline cluster)
Summary statistics of approximated low dimensional components per cluster:
Cl1
Comp1 Comp2
Min 110.68 16.06
Mean 112.89 22.11
Max 120.24 42.27
Cl2
Comp1 Comp2
Min 98.80 8.60
Mean 104.65 17.78
Max 120.24 42.27
Cl3
Comp1 Comp2
Min 110.68 16.06
Mean 110.68 16.06
Max 110.68 16.06
Low Dimensional ADPROCLUS solution
number of clusters: 3
number of components: 2
data format: 21 x 4
total time: 0.2 s
number of total starts: 6
Results Best Run:
explained variance: 0.99
time: 0.03 s
iterations to convergence: 7
A (cluster membership matrix):
Cl1 Cl2 Cl3
[1,] 1 1 0
[ 20 rows were omitted ]
C (profiles in terms of components - cluster by component):
Comp1 Comp2
Cl1 21.44 33.67
[ 2 rows were omitted ]
B' (components by variables):
Air.Flow Water.Temp Acid.Conc. stack.loss
Comp1 0.49 0.18 0.85 0.03
Comp2 0.45 0.11 -0.32 0.83
Cluster sizes and overlaps:
[,1] [,2] [,3] [,4]
[1,] 13 3 10 0
[2,] 3 11 0 0
[3,] 10 0 10 0
[4,] 0 0 0 0
(diagonal entries: number of observations in a cluster)
(off-diagonal entry [i,j]: number of observations both in cluster i and j)
(last row/column represents additional baseline cluster)
Summary statistics of approximated low dimensional components per cluster:
Cl1
Comp1 Comp2
Min 110.68 16.06
Mean 112.89 22.11
Max 120.24 42.27
Cl2
Comp1 Comp2
Min 98.80 8.60
Mean 104.65 17.78
Max 120.24 42.27
Cl3
Comp1 Comp2
Min 110.68 16.06
Mean 110.68 16.06
Max 110.68 16.06
Saving _problems/test-visualize-52.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 74 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-visualize.R:52:9'): Scree plots low dimensional ──────────────
Expected `plot_scree_adpc(model_selection, grid = TRUE)` not to throw any conditions.
Actually got a <rlang_message> with message:
`geom_line()`: Each group consists of only one observation.
i Do you need to adjust the group aesthetic?
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 74 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [8s/11s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR