===============================
BiocCheckGitClone('XAItest')
===============================
sourceDir: /home/pkgbuild/packagebuilder/workers/jobs/3519/71f86283e3114e723574d3d0c646fdfaa9942c91/XAItest
BiocVersion: 3.21
Package: XAItest
PackageVersion: 0.99.8
BiocCheckDir: /home/pkgbuild/packagebuilder/workers/jobs/3519/71f86283e3114e723574d3d0c646fdfaa9942c91/XAItest.BiocCheck
BiocCheckVersion: 1.43.2
sourceDir: /home/pkgbuild/packagebuilder/workers/jobs/3519/71f86283e3114e723574d3d0c646fdfaa9942c91/XAItest
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/3519/71f86283e3114e723574d3d0c646fdfaa9942c91/XAItest.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 XAItest/DESCRIPTION ... OK
* this is package XAItest version 0.99.8
* 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 ... NOTE
Found the following hidden files and directories:
.lintr
These were most likely included in error. See section Package
structure in the Writing R Extensions manual.
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package XAItest 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 ... WARNING
Subdirectory 'inst/doc' contains invalid file names:
01_XAItest.Rmd 02_customFunction.Rmd 01_XAItest.html
02_customFunction.html
Please remove or rename the files.
See section Package subdirectories in the Writing R Extensions
manual.
* checking code files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... [0s/0s] OK
* checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
* checking whether the package can be unloaded cleanly ... [0s/0s] OK
* checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
* checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
* checking loading without being on the library search path ... [0s/0s] OK
* checking use of S3 registration ... OK
* checking dependencies in R code ... NOTE
Namespaces in Imports field not imported from:
BiocGenerics RUnit S4Vectors SummarizedExperiment ggplot2
All declared Imports should be used.
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... [4s/4s] NOTE
.findGM: no visible global function definition for t.test
.findNoiseSD: no visible global function definition for cor.test
.objXAI: no visible global function definition for new
.regRNorm: no visible global function definition for qnorm
XAI.test: no visible global function definition for is
XAI.test: no visible global function definition for assay
XAI.test: no visible global function definition for colData
XAI.test: no visible global function definition for new
featureImportanceRF: no visible global function definition for
as.formula
featureImportanceShap: no visible global function definition for
as.formula
featureImportanceShap: no visible global function definition for
predict
genSimulatedFeatures: no visible global function definition for rnorm
genSimulatedFeaturesRegr: no visible global function definition for
rnorm
mapPvalImportance: no visible global function definition for is
modelsOverview: no visible global function definition for is
modelsOverview : <anonymous>: no visible global function definition for
predict
pValCor : <anonymous>: no visible global function definition for
cor.test
pValCor: no visible global function definition for p.adjust
pValEBayes: no visible global function definition for as.formula
pValEBayes: no visible global function definition for model.matrix
pValLM: no visible global function definition for is
pValLM: no visible global function definition for as.formula
pValLM: no visible global function definition for lm
pValLM: no visible global function definition for p.adjust
pValTTest : <anonymous>: no visible global function definition for
t.test
pValTTest: no visible global function definition for p.adjust
plotModel: no visible global function definition for is
plotModel: no visible global function definition for predict
plotModel: no visible global function definition for ggplot
plotModel: no visible global function definition for aes
plotModel: no visible binding for global variable Predictions
plotModel: no visible global function definition for geom_point
plotModel: no visible global function definition for theme_bw
plotModel: no visible global function definition for xlab
plotModel: no visible global function definition for ylab
plotModel: no visible global function definition for ggtitle
setMetricsTable,ObjXAI: no visible global function definition for
validObject
Undefined global functions or variables:
Predictions aes as.formula assay colData cor.test geom_point ggplot
ggtitle is lm model.matrix new p.adjust predict qnorm rnorm t.test
theme_bw validObject xlab ylab
Consider adding
importFrom("methods", "is", "new", "validObject")
importFrom("stats", "as.formula", "cor.test", "lm", "model.matrix",
"p.adjust", "predict", "qnorm", "rnorm", "t.test")
to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
contains 'methods').
* checking Rd files ... [0s/0s] OK
* checking Rd metadata ... OK
* checking Rd line widths ... NOTE
Rd file 'getFeatImpThresholds.Rd':
\examples lines wider than 100 characters:
# Assuming `df` is a dataframe with columns `feature1_pval`, `feature2_pval`, `feature1_imp`, `feature2_imp`
These lines will be truncated in the PDF manual.
* checking Rd cross-references ... OK
* checking for missing documentation entries ... WARNING
Undocumented code objects:
getMetricsTable setMetricsTable
Undocumented S4 methods:
generic 'getMetricsTable' and siglist 'ObjXAI'
generic 'setMetricsTable' and siglist 'ObjXAI'
All user-level objects in a package (including S4 classes and methods)
should have documentation entries.
See chapter Writing R documentation files in the Writing R
Extensions manual.
* checking for code/documentation mismatches ... WARNING
Codoc mismatches from Rd file 'XAI.test.Rd':
XAI.test
Code: function(data, y = "y", featImpAgr = "mean", simData = FALSE,
simMethod = "regrnorm", simPvalTarget = 0.045,
adjMethod = "bonferroni", customPVals = NULL,
customFeatImps = NULL, modelType = "default",
corMethod = "pearson", defaultMethods = c("ttest",
"ebayes", "cor", "lm", "rf", "shap", "lime"),
caretMethod = "rf", caretTrainArgs = NULL, verbose =
FALSE)
Docs: function(df, y = "y", featImpAgr = "mean", simData = FALSE,
simMethod = "regrnorm", simPvalTarget = 0.045,
adjMethod = "bonferroni", customPVals = NULL,
customFeatImps = NULL, modelType = "default",
corMethod = "pearson", defaultMethods = c("ttest",
"ebayes", "cor", "lm", "rf", "shap", "lime"),
caretMethod = "rf", caretTrainArgs = NULL, verbose =
FALSE)
Argument names in code not in docs:
data
Argument names in docs not in code:
df
Mismatches in argument names:
Position: 1 Code: data Docs: df
Codoc mismatches from Rd file 'getFeatImpThresholds.Rd':
getFeatImpThresholds
Code: function(df, refPvalColumn = "adjpval", featImpColumns =
"feat", refPval = 0.05)
Docs: function(df, refPvalColumn = NULL, featImpColumns = NULL,
refPval = 0.05)
Mismatches in argument default values:
Name: 'refPvalColumn' Code: "adjpval" Docs: NULL
Name: 'featImpColumns' Code: "feat" Docs: NULL
Codoc mismatches from Rd file 'mapPvalImportance.Rd':
mapPvalImportance
Code: function(objXAI, refPvalColumn = "adjpval", featImpColumns =
"feat", pvalColumns = NULL, refPval = 0.05)
Docs: function(objXAI, refPvalColumn = NULL, featImpColumns = NULL,
pvalColumns = NULL, refPval = 0.05)
Mismatches in argument default values:
Name: 'refPvalColumn' Code: "adjpval" Docs: NULL
Name: 'featImpColumns' Code: "feat" Docs: NULL
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking files in vignettes ... OK
* checking examples ... [88s/84s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
XAI.test 35.853 1.131 35.463
modelsOverview 34.448 0.331 33.328
plotModel 10.379 0.109 9.749
* checking for unstated dependencies in tests ... OK
* checking tests ...
Running runTests.R [7s/6s]
[7s/7s] OK
* 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: 3 WARNINGs, 4 NOTEs
See
/home/pkgbuild/packagebuilder/workers/jobs/3519/71f86283e3114e723574d3d0c646fdfaa9942c91/XAItest.Rcheck/00check.log
for details.
===============================
BiocCheck('XAItest_0.99.8.tar.gz')
===============================
Installing XAItest
Package installed successfully
XAItest session metadata
sourceDir: /tmp/RtmpMtyNNx/file3de3214fcc09f8/XAItest
BiocVersion: 3.21
Package: XAItest
PackageVersion: 0.99.8
BiocCheckDir: /home/pkgbuild/packagebuilder/workers/jobs/3519/71f86283e3114e723574d3d0c646fdfaa9942c91/XAItest.BiocCheck
BiocCheckVersion: 1.43.2
sourceDir: /tmp/RtmpMtyNNx/file3de3214fcc09f8/XAItest
installDir: /tmp/RtmpMtyNNx/file3de321f671ebd
isTarBall: TRUE
platform: unix
Running BiocCheck on XAItest
* 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 3.5.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...
* 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 (33%).
* 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 XAItest...
* Checking coding practice...
i NOTE: Avoid 1:...; use seq_len() or seq_along()
Found in files:
allClasses.R (line 63, column 35)
...
XAI.test.R (line 685, column 21)
i NOTE: Avoid using '=' for assignment and use '<-' instead
Found in files:
R/XAI.test.R (line 420, column 22)
...
R/XAI.test.R (line 712, column 22)
i NOTE: Avoid the use of 'paste' in condition signals
Found in files:
R/modelsOverview.R (line 55, column 17)
* Checking parsed R code in R directory, examples, vignettes...
i Found @ in vignettes/01_XAItest.Rmd
i NOTE: Use accessors; don't access S4 class slots via '@' in
examples/vignettes.
* Checking function lengths...
i NOTE: The recommended function length is 50 lines or less. There are 6
functions greater than 50 lines.
The longest 5 functions are:
XAI.test() (R/XAI.test.R): 124 lines
...
.XAIregress() (R/XAI.test.R): 81 lines
* Checking man page documentation...
! WARNING: Empty or missing \value sections found in man page(s).
Found in files:
man/modelsOverview.Rd
* 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; 3 lines (0%) are > 80 characters long.
First few lines:
R/allClasses.R#L32 map = "ANY", # 'ANY' is very generi ...
R/allClasses.R#L40 setGeneric("getMetricsTable", function(o ...
R/allClasses.R#L46 setGeneric("setMetricsTable", function(o ...
i NOTE: Consider multiples of 4 spaces for line indents; 40 lines (2%) are not.
First few lines:
R/allClasses.R#L27 "ObjXAI", ...
...
vignettes/02_customFunction.Rmd#L119 ) ...
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 | 1 WARNINGS | i 8 NOTES
i See the XAItest.BiocCheck folder and run
browseVignettes(package = 'BiocCheck')
for details.