Last updated on 2024-06-11 01:55:05 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
ADPclust | 1 | 9 | 3 |
Current CRAN status: ERROR: 1, NOTE: 9, OK: 3
Version: 0.7
Check: Rd files
Result: NOTE
checkRd: (-1) FindCentersAutoV.Rd:27: Lost braces; missing escapes or markup?
27 | Given f's and delta's, cluster centers are chosen to be the data points whose delta values are high and f values are larger than a fixed threshold. To be more specific, let F denote the set of all f(x). centers are selected as points with the largest m delta values in the set {x | f(x) > a'th percentile of F}. The number of centers m is given by the parameter nclust. The cutting percentile a is given by the parameter f.cut. When at least one of these two parameters are vectors, centers are selected based all combinations of them, and returned in a list.
| ^
checkRd: (-1) FindClustersAuto.Rd:26: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) FindClustersAuto.Rd:27: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) FindClustersAuto.Rd:28: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) FindClustersAuto.Rd:29: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) FindClustersManual.Rd:19: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) FindClustersManual.Rd:20: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) FindClustersManual.Rd:21: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) FindClustersManual.Rd:22: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) FindFD.Rd:16: Lost braces in \itemize; meant \describe ?
checkRd: (-1) FindFD.Rd:17: Lost braces in \itemize; meant \describe ?
checkRd: (-1) FindFD.Rd:18: Lost braces in \itemize; meant \describe ?
checkRd: (-1) adpclust.Rd:28: Lost braces in \itemize; meant \describe ?
checkRd: (-1) adpclust.Rd:29: Lost braces in \itemize; meant \describe ?
checkRd: (-1) adpclust.Rd:36: Lost braces in \itemize; meant \describe ?
checkRd: (-1) adpclust.Rd:37: Lost braces in \itemize; meant \describe ?
checkRd: (-1) adpclust.Rd:38: Lost braces in \itemize; meant \describe ?
checkRd: (-1) adpclust.Rd:48: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) adpclust.Rd:49: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) adpclust.Rd:50: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) adpclust.Rd:51: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) adpclust.Rd:52: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) adpclust.Rd:53: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) adpclust.Rd:54: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) adpclust.Rd:55: Lost braces in \itemize; \value handles \item{}{} directly
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
Version: 0.7
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘fields’ ‘knitr’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.7
Check: tests
Result: ERROR
Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(ADPclust)
>
> test_check("ADPclust")
-- ADPclust Result --
Number of obs.: 90
Centroids selection: auto
Number of clusters: 3
Avg. Silhouette: 0.7860849
Elements in result: $clusters $centers $silhouette $nclust $h $f $delta $selection.type $tested
f(x):
Min. 1st Qu. Median Mean 3rd Qu. Max.
1.032 3.196 4.877 5.094 7.105 9.540
delta(x):
Min. 1st Qu. Median Mean 3rd Qu. Max.
0.02995 0.07716 0.11986 0.21950 0.18324 2.63038
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 132 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_ADPclust.R:51:5'): ADPclust output ─────────────────────────────
Error: cannot allocate vector of size 0 Kb
Backtrace:
▆
1. └─ADPclust::adpclust(distm = clust3.distm, p = 2, h = 0.14, fdelta = "unorm") at test_ADPclust.R:51:5
2. └─base::lapply(...)
3. └─ADPclust (local) FUN(X[[i]], ...)
4. └─ADPclust::FindClustersAuto(...)
5. └─base::lapply(...)
6. └─ADPclust (local) FUN(X[[i]], ...)
7. └─ADPclust::FindClustersGivenCenters(distm, centers = x)
8. ├─base::as.matrix(distm)
9. └─stats:::as.matrix.dist(distm)
10. └─base::sequence.default(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 132 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64