===============================
R CMD BUILD
===============================
* checking for file ‘nnSVG/DESCRIPTION’ ... OK
* preparing ‘nnSVG’:
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... ERROR
--- re-building ‘nnSVG.Rmd’ using rmarkdown
Loading required package: SingleCellExperiment
Loading required package: SummarizedExperiment
Loading required package: MatrixGenerics
Loading required package: matrixStats
Attaching package: 'MatrixGenerics'
The following objects are masked from 'package:matrixStats':
colAlls, colAnyNAs, colAnys, colAvgsPerRowSet, colCollapse,
colCounts, colCummaxs, colCummins, colCumprods, colCumsums,
colDiffs, colIQRDiffs, colIQRs, colLogSumExps, colMadDiffs,
colMads, colMaxs, colMeans2, colMedians, colMins, colOrderStats,
colProds, colQuantiles, colRanges, colRanks, colSdDiffs, colSds,
colSums2, colTabulates, colVarDiffs, colVars, colWeightedMads,
colWeightedMeans, colWeightedMedians, colWeightedSds,
colWeightedVars, rowAlls, rowAnyNAs, rowAnys, rowAvgsPerColSet,
rowCollapse, rowCounts, rowCummaxs, rowCummins, rowCumprods,
rowCumsums, rowDiffs, rowIQRDiffs, rowIQRs, rowLogSumExps,
rowMadDiffs, rowMads, rowMaxs, rowMeans2, rowMedians, rowMins,
rowOrderStats, rowProds, rowQuantiles, rowRanges, rowRanks,
rowSdDiffs, rowSds, rowSums2, rowTabulates, rowVarDiffs, rowVars,
rowWeightedMads, rowWeightedMeans, rowWeightedMedians,
rowWeightedSds, rowWeightedVars
Loading required package: GenomicRanges
Loading required package: stats4
Loading required package: BiocGenerics
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colnames, dirname, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
tapply, union, unique, unsplit, which.max, which.min
Loading required package: S4Vectors
Attaching package: 'S4Vectors'
The following objects are masked from 'package:base':
I, expand.grid, unname
Loading required package: IRanges
Loading required package: GenomeInfoDb
Loading required package: Biobase
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Attaching package: 'Biobase'
The following object is masked from 'package:MatrixGenerics':
rowMedians
The following objects are masked from 'package:matrixStats':
anyMissing, rowMedians
Loading required package: ExperimentHub
Loading required package: AnnotationHub
Loading required package: BiocFileCache
Loading required package: dbplyr
Attaching package: 'AnnotationHub'
The following object is masked from 'package:Biobase':
cache
Loading required package: scuttle
Quitting from lines 55-59 (nnSVG.Rmd)
Error: processing vignette 'nnSVG.Rmd' failed with diagnostics:
cannot read from connection
--- failed re-building ‘nnSVG.Rmd’
SUMMARY: processing the following file failed:
‘nnSVG.Rmd’
Error: Vignette re-building failed.
Execution halted
===============================
BiocCheckGitClone('nnSVG')
===============================
This is BiocCheckGitClone version 1.31.36. BiocCheckGitClone is a work
in progress. Output and severity of issues may change.
* Checking valid files...
* Checking DESCRIPTION...
* Checking if DESCRIPTION is well formatted...
* Checking for valid maintainer...
* Checking CITATION...
Summary:
ERROR count: 0
WARNING count: 0
NOTE count: 0
For detailed information about these checks, see the BiocCheck
vignette, available at
https://bioconductor.org/packages/3.15/bioc/vignettes/BiocCheck/inst/doc/BiocCheck.html#interpreting-bioccheck-output
===============================
R CMD CHECK
===============================
* using log directory ‘/Users/pkgbuild/packagebuilder/workers/jobs/2543/12053c1b2d9897e0fc7057cef3ec2bdef1b891ef/nnSVG.Rcheck’
* using R Under development (unstable) (2022-03-17 r81925)
* using platform: x86_64-apple-darwin17.0 (64-bit)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘nnSVG/DESCRIPTION’ ... OK
* this is package ‘nnSVG’ version ‘0.99.20’
* 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 hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘nnSVG’ can be installed ... [51s/60s] 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 R 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 ... [53s/68s] 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 installed files from ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... [37s/56s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
nnSVG 9.899 0.233 14.126
filter_genes 6.820 0.316 16.068
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
Running ‘testthat.R’ [35s/46s]
[36s/46s] OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... OK
* DONE
Status: OK
===============================
BiocCheck('nnSVG_0.99.20.tar.gz')
===============================
This is BiocCheck version 1.31.36. BiocCheck is a work in progress.
Output and severity of issues may change. Installing package...
* Checking Package Dependencies...
Warning in system2(cmd, args, stdout = TRUE, stderr = FALSE, env = "R_DEFAULT_PACKAGES=NULL") :
running command 'R_DEFAULT_PACKAGES=NULL '/Library/Frameworks/R.framework/Resources/bin/R' -q --vanilla --slave -f /Library/Frameworks/R.framework/Versions/4.2/Resources/library/BiocCheck/script/checkBadDeps.R --args "/Users/pkgbuild/packagebuilder/workers/jobs/2543/12053c1b2d9897e0fc7057cef3ec2bdef1b891ef/nnSVG_0.99.20.tar.gz" "/var/folders/7y/c__3_48d5y18p1_rhfs_4x9c0000gt/T//RtmppIosUX/file163d262db077d/lib" 2>/dev/null' had status 1
* Checking if other packages can import this one...
* Checking to see if we understand object initialization...
* 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...
* 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...
* Checking build system compatibility...
* Checking for blank lines in DESCRIPTION...
* Checking if DESCRIPTION is well formatted...
* Checking for proper Description: field...
* Checking for whitespace in DESCRIPTION field names...
* Checking that Package field matches directory/tarball name...
* Checking for Version field...
* Checking for valid maintainer...
* Checking License: for restrictive use...
* Checking for pinned package versions...
* Checking DESCRIPTION/NAMESPACE consistency...
* Checking .Rbuildignore...
* Checking vignette directory...
* Checking whether vignette is built with 'R CMD build'...
* Checking package installation calls in R code...
* Checking for library/require of nnSVG...
* Checking coding practice...
* Checking parsed R code in R directory, examples, vignettes...
* Checking function lengths...
* NOTE: Recommended function length <= 50 lines.
There are 1 functions > 50 lines.
The longest 5 functions are:
nnSVG() (R/nnSVG.R, line 125): 136 lines
filter_genes() (R/filter_genes.R, line 62): 33 lines
_anonymous_.159() (R/nnSVG.R, line 159): 16 lines
_anonymous_.219() (R/nnSVG.R, line 219): 7 lines
_anonymous_.146() (R/nnSVG.R, line 146): 1 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...
* NOTE: Consider shorter lines; 11 lines (1%) are > 80 characters
long.
First 6 lines:
R/nnSVG.R:210 prop_sv = mat_brisc[, "sigma.sq"] / (mat_brisc[, "sig...
vignettes/nnSVG.Rmd:5 affiliation: &id1 "Johns Hopkins Bloomberg Sc...
vignettes/nnSVG.Rmd:20 `nnSVG` is a method for scalable identification ...
vignettes/nnSVG.Rmd:22 The method is based on nearest-neighbor Gaussian...
vignettes/nnSVG.Rmd:24 The `nnSVG` R package is integrated into the Bio...
vignettes/nnSVG.Rmd:33 Installation instructions for the stable release...
* NOTE: Consider multiples of 4 spaces for line indents, 137
lines(18%) are not.
First 6 lines:
R/filter_genes.R:63 filter_genes_pcspots = 0.5,
R/filter_genes.R:64 filter_mito = TRUE) {
R/filter_genes.R:65
R/filter_genes.R:66 # filter mitochondrial genes
R/filter_genes.R:67 if (filter_mito) {
R/filter_genes.R:75 }
See http://bioconductor.org/developers/how-to/coding-style/
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...
Maintainer is subscribed to bioc-devel.
* Checking for support site registration...
Maintainer is registered at support site.
Package name is in support site watched tags.
Summary:
ERROR count: 0
WARNING count: 0
NOTE count: 3
For detailed information about these checks, see the BiocCheck
vignette, available at
https://bioconductor.org/packages/3.15/bioc/vignettes/BiocCheck/inst/doc/BiocCheck.html#interpreting-bioccheck-output