* using log directory ‘/srv/hornik/tmp/CRAN/linkage.Rcheck’ * using R Under development (unstable) (2024-05-30 r86652) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.5 (2) Debian flang-new version 18.1.5 (2) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘linkage/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘linkage’ version ‘1.2.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/38s] ERROR Maintainer: ‘Siwen Xu’ New submission Conflicting package names (submitted: linkage, existing: Linkage [file:///data/Repositories/CRAN]) Possibly misspelled words in DESCRIPTION: ATAC (3:45, 13:176) CREs (13:161, 13:292, 13:325, 13:477) omics (13:355) Unknown, possibly misspelled, fields in DESCRIPTION: ‘Remotes’ Package has a FOSS license but eventually depends on the following package which restricts use: CNEr Suggests or Enhances not in mainstream repositories: LinkageData The Title field should be in title case. Current version is: ‘An R shiny web server for linking of ATAC-seq to gene expression data’ In title case that is: ‘An R Shiny Web Server for Linking of ATAC-Seq to Gene Expression Data’ The Description field should not start with the package name, 'This package' or similar. Size of tarball: 14517370 bytes * checking package namespace information ... OK * checking package dependencies ... NOTE Package suggested but not available for checking: ‘LinkageData’ * 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 ‘linkage’ can be installed ... [40s/41s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... NOTE Maintainer field differs from that derived from Authors@R Maintainer: ‘Siwen Xu’ Authors@R: ‘Zenghui Liu <2470587020@qq.com>’ * 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 ... [12s/12s] OK * checking whether the package can be loaded with stated dependencies ... [12s/12s] OK * checking whether the package can be unloaded cleanly ... [12s/12s] OK * checking whether the namespace can be loaded with stated dependencies ... [12s/12s] OK * checking whether the namespace can be unloaded cleanly ... [12s/12s] OK * checking loading without being on the library search path ... [12s/12s] OK * checking whether startup messages can be suppressed ... [12s/12s] 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 ... [50s/50s] NOTE AnnoUpsetPlot: no visible binding for global variable 'annotation' AnnoUpsetPlot: no visible binding for global variable 'GenreMember' BuildGRNs: no visible global function definition for 'data' BuildGRNs: no visible binding for global variable 'Mus.PFMatrixList' BuildGRNs: no visible binding for global variable 'Mus.pwm_library_dt' BuildGRNs: no visible global function definition for 'cor.test' BuildGRNs: no visible global function definition for 'p.adjust' BuildGRNs: no visible global function definition for 'new' CombinePlots : : no visible global function definition for 'NoLegend' CorrPlot: no visible binding for global variable 'peak' CreateLinkageObject: no visible global function definition for 'data' CreateLinkageObject: no visible binding for global variable 'Homo.position' CreateLinkageObject: no visible binding for global variable 'Mus.position' CreateLinkageObject: no visible global function definition for 'everything' CreateLinkageObject: no visible global function definition for 'new' EnrichWordCloud: no visible global function definition for 'read.table' FilterGRNs: no visible global function definition for 'new' GOEnrichment: no visible global function definition for 'data' GOEnrichment: no visible binding for global variable 'Homo.position' GOEnrichment: no visible binding for global variable 'Mus.position' KEGGEnrichment: no visible global function definition for 'data' KEGGEnrichment: no visible binding for global variable 'Homo.position' KEGGEnrichment: no visible binding for global variable 'Mus.position' Linkage.UIO: no visible binding for global variable 'name' MotifEnrichment: no visible global function definition for 'data' MotifEnrichment: no visible binding for global variable 'Mus.PFMatrixList' MotifEnrichment: no visible binding for global variable 'Mus.pwm_library_dt' PeakAnnotation: no visible global function definition for 'new' RegulatoryPeak: no visible global function definition for 'cor.test' RegulatoryPeak: no visible global function definition for 'p.adjust' RegulatoryPeak: no visible global function definition for 'new' TrackPlot: no visible binding for global variable 'gene' TrackPlot: no visible binding for global variable 'group' VisualGRNs: no visible global function definition for 'na.omit' VisualGRNs: no visible binding for global variable 'gene' VisualGRNs: no visible binding for global variable 'TF' VisualGRNs: no visible binding for global variable 'id' VisualGRNs: no visible global function definition for 'everything' VisualGRNs: no visible binding for global variable 'a' show,LinkageObject: no visible binding for global variable 'LinkageObject' Undefined global functions or variables: GenreMember Homo.position LinkageObject Mus.PFMatrixList Mus.position Mus.pwm_library_dt NoLegend TF a annotation cor.test data everything gene group id na.omit name new p.adjust peak read.table Consider adding importFrom("methods", "new") importFrom("stats", "cor.test", "na.omit", "p.adjust") importFrom("utils", "data", "read.table") to your NAMESPACE file (and ensure that your DESCRIPTION Imports field contains 'methods'). Found the following calls to data() loading into the global environment: File ‘linkage/R/CreateLinkageObject.R’: data("Homo.position") data("Mus.position") File ‘linkage/R/GO.KEGG.Enrichment.R’: data("Homo.position") data("Mus.position") data("Homo.position") data("Mus.position") File ‘linkage/R/MotifAnalysis.R’: data("PFMatrixList") data("pwm_library_dt") data("Mus.PFMatrixList") data("Mus.pwm_library_dt") data("PFMatrixList") data("pwm_library_dt") data("Mus.PFMatrixList") data("Mus.pwm_library_dt") See section ‘Good practice’ in ‘?data’. Found if() conditions comparing class() to string: File ‘linkage/R/RegulatoryPeaks.R’: if (class(LinkageObject) != "LinkageObject") ... Use inherits() (or maybe is()) instead. * 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 ... [9s/9s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [55s/55s] ERROR Running examples in ‘linkage-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: BuildGRNs > ### Title: MotifAnalysis. > ### Aliases: BuildGRNs > > ### ** Examples > > library(linkage) > library(LinkageData) Error in library(LinkageData) : there is no package called 'LinkageData' Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed AnnoUpsetPlot 39.875 1.061 40.986 * checking for unstated dependencies in vignettes ... NOTE '::' or ':::' import not declared from: ‘devtools’ 'library' or 'require' call not declared from: ‘devtools’ * checking package vignettes ... OK * checking re-building of vignette outputs ... [282s/303s] OK * checking PDF version of manual ... [4s/4s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs, 4 NOTEs