===============================
R CMD BUILD
===============================
* checking for file ‘clustSIGNAL/DESCRIPTION’ ... OK
* preparing ‘clustSIGNAL’:
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* looking to see if a ‘data/datalist’ file should be added
* building ‘clustSIGNAL_0.99.4.tar.gz’
===============================
BiocCheckGitClone('clustSIGNAL')
===============================
→ sourceDir: /home/pkgbuild/packagebuilder/workers/jobs/3571/e8ac62495775737aa5cada88c72a23b7b226c9d3/clustSIGNAL
→ BiocVersion: 3.21
→ Package: clustSIGNAL
→ PackageVersion: 0.99.4
→ BiocCheckDir: /home/pkgbuild/packagebuilder/workers/jobs/3571/e8ac62495775737aa5cada88c72a23b7b226c9d3/clustSIGNAL.BiocCheck
→ BiocCheckVersion: 1.43.2
→ sourceDir: /home/pkgbuild/packagebuilder/workers/jobs/3571/e8ac62495775737aa5cada88c72a23b7b226c9d3/clustSIGNAL
→ installDir: NULL
→ isTarBall: FALSE
→ platform: unix
* Checking valid files...
* Checking for stray BiocCheck output folders...
* Checking for inst/doc folders...
* Checking if DESCRIPTION is well formatted...
* Checking for valid maintainer...
* Checking CITATION...
i NOTE: (Optional) CITATION file not found. Only include a CITATION file if
there is a preprint or publication for this Bioconductor package. Note that
Bioconductor packages are not required to have a CITATION file but it is useful
both for users and for tracking Bioconductor project-wide metrics. When
including a CITATION file, add the publication using the 'doi' argument of
'bibentry()'.
── BiocCheck v1.43.2 results ───────────────────────────────────────────────────
✖ 0 ERRORS | ⚠ 0 WARNINGS | i 1 NOTES
i For more details, run
browseVignettes(package = 'BiocCheck')
===============================
R CMD CHECK
===============================
* using log directory ‘/home/pkgbuild/packagebuilder/workers/jobs/3571/e8ac62495775737aa5cada88c72a23b7b226c9d3/clustSIGNAL.Rcheck’
* using R Under development (unstable) (2024-10-21 r87258)
* using platform: x86_64-pc-linux-gnu
* R was compiled by
gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
GNU Fortran (Ubuntu 13.2.0-23ubuntu4) 13.2.0
* running under: Ubuntu 24.04.1 LTS
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘clustSIGNAL/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘clustSIGNAL’ version ‘0.99.4’
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ...Warning: unable to access index for repository https://CRAN.R-project.org/src/contrib:
cannot open URL 'https://CRAN.R-project.org/src/contrib/PACKAGES'
OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘clustSIGNAL’ can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking for future file timestamps ... OK
* checking ‘build’ 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 ... [8s/8s] OK
* checking whether the package can be loaded with stated dependencies ... [9s/9s] OK
* checking whether the package can be unloaded cleanly ... [8s/8s] OK
* checking whether the namespace can be loaded with stated dependencies ... [8s/8s] OK
* checking whether the namespace can be unloaded cleanly ... [8s/8s] OK
* checking loading without being on the library search path ... [9s/9s] 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 ... [26s/26s] OK
* checking Rd files ... [0s/0s] 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 ... [7s/7s] OK
* checking data for ASCII and uncompressed saves ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... [52s/52s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
adaptiveSmoothing 21.68 0.214 21.893
clustSIGNAL 14.22 0.152 14.379
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
Running ‘testthat.R’ [14s/14s]
[14s/14s] ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 20 lines of output:
>
> test_check("clustSIGNAL")
[1] "Calculating PCA. Time 19:21:54"
[1] "clustSIGNAL run started. Time 19:21:54"
[1] "Initial nonspatial clustering performed. Clusters = 7 Time 19:21:54"
[1] "Nonspatial subclustering performed. Subclusters = 19 Time 19:21:56"
[1] "Regions defined. Time 19:21:57"
[1] "Region domainness calculated. Time 19:21:57"
[1] "Smoothing performed. NN = 30 Kernel = G Spread = 0.05 Time 19:21:58"
[1] "Nonspatial clustering performed on smoothed data. Clusters = 7 Time 19:21:58"
[1] "clustSIGNAL run completed. 19:21:58"
Time difference of 4.440023 secs
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 2 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_conditions.R:61:9'): Expecting error when spatial coordinates missing ──
`suppressWarnings(clustSIGNAL(spe, samples, cells))` did not throw an error.
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 2 ]
Error: Test failures
Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... OK
* checking running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... [3s/3s] OK
* DONE
Status: 1 ERROR
See
‘/home/pkgbuild/packagebuilder/workers/jobs/3571/e8ac62495775737aa5cada88c72a23b7b226c9d3/clustSIGNAL.Rcheck/00check.log’
for details.
===============================
BiocCheck('clustSIGNAL_0.99.4.tar.gz')
===============================
── Installing clustSIGNAL ──────────────────────────────────────────────────────
✔ Package installed successfully
── clustSIGNAL session metadata ────────────────────────────────────────────────
→ sourceDir: /tmp/Rtmpj6sp10/file15ee83143f3e5f/clustSIGNAL
→ BiocVersion: 3.21
→ Package: clustSIGNAL
→ PackageVersion: 0.99.4
→ BiocCheckDir: /home/pkgbuild/packagebuilder/workers/jobs/3571/e8ac62495775737aa5cada88c72a23b7b226c9d3/clustSIGNAL.BiocCheck
→ BiocCheckVersion: 1.43.2
→ sourceDir: /tmp/Rtmpj6sp10/file15ee83143f3e5f/clustSIGNAL
→ installDir: /tmp/Rtmpj6sp10/file15ee8376e637ae
→ isTarBall: TRUE
→ platform: unix
── Running BiocCheck on clustSIGNAL ────────────────────────────────────────────
* Checking for deprecated package usage...
* Checking for remote package usage...
* Checking for 'LazyData: true' usage...
* Checking version number...
* Checking for version number mismatch...
* Checking new package version number...
* Checking R version dependency...
i NOTE: Update R version dependency from 4.4.0 to 4.5.0.
* Checking package size...
* Checking individual file sizes...
* Checking biocViews...
* Checking that biocViews are present...
* Checking package type based on biocViews...
→ Software
* Checking for non-trivial biocViews...
* Checking that biocViews come from the same category...
* Checking biocViews validity...
* Checking for recommended biocViews...
i NOTE: Consider adding these automatically suggested biocViews:
ImmunoOncology, DataImport
i Search 'biocViews' at https://contributions.bioconductor.org
* Checking build system compatibility...
* Checking for proper Description: field...
* Checking if DESCRIPTION is well formatted...
* Checking for whitespace in DESCRIPTION field names...
* Checking that Package field matches directory/tarball name...
* Checking for Version: field...
* Checking License: for restrictive use...
* Checking for recommended DESCRIPTION fields...
* Checking for Bioconductor software dependencies...
i Bioconductor dependencies found in Imports & Depends (70%).
* Checking for pinned package versions in DESCRIPTION...
* Checking .Rbuildignore...
* Checking for stray BiocCheck output folders...
* Checking vignette directory...
* Checking whether vignette is built with 'R CMD build'...
* Checking package installation calls in R code...
* Checking for library/require of clustSIGNAL...
* Checking coding practice...
i NOTE: Avoid sapply(); use vapply()
Found in files:
• R/entropyMeasure.R (line 46, column 30)
• R/expKernel.R (line 18, column 21)
• R/gaussKernel.R (line 19, column 22)
* Checking parsed R code in R directory, examples, vignettes...
* Checking function lengths...
i NOTE: The recommended function length is 50 lines or less. There are 4
functions greater than 50 lines.
The longest 5 functions are:
• p1_clustering() (R/initClustering.R): 67 lines
• ...
• clustSIGNAL() (R/clustSIGNAL.R): 54 lines
* Checking man page documentation...
* Checking package NEWS...
* Checking unit tests...
* Checking skip_on_bioc() in tests...
* Checking formatting of DESCRIPTION, NAMESPACE, man pages, R source, and
vignette source...
i NOTE: Consider shorter lines; 41 lines (3%) are > 80 characters long.
First few lines:
• R/adaptiveSmoothing.R#L6 #' are smoothed less with higher weights ...
• ...
• vignettes/clustSIGNAL.Rmd#L349 Clustering and entropy results can be ca ...
i NOTE: Consider multiples of 4 spaces for line indents; 153 lines (11%) are
not.
First few lines:
• R/adaptiveSmoothing.R#L60 f ...
• ...
• vignettes/clustSIGNAL.Rmd#L481 title = "Entropy spread (top) and ...
i See https://contributions.bioconductor.org/r-code.html
i See styler package: https://cran.r-project.org/package=styler as described in
the BiocCheck vignette.
* Checking if package already exists in CRAN...
* Checking if new package already exists in Bioconductor...
* Checking for bioc-devel mailing list subscription...
i Maintainer is subscribed to bioc-devel.
* Checking for support site registration...
i Maintainer is registered at support site.
i Package is in the Support Site Watched Tags.
── BiocCheck v1.43.2 results ───────────────────────────────────────────────────
✖ 0 ERRORS | ⚠ 0 WARNINGS | i 6 NOTES
i See the clustSIGNAL.BiocCheck folder and run
browseVignettes(package = 'BiocCheck')
for details.