* using log directory 'd:/RCompile/CRANincoming/R-devel/latentSNA.Rcheck' * using R Under development (unstable) (2024-06-13 r86735 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'latentSNA/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'latentSNA' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Selena Wang ' New submission Possibly misspelled words in DESCRIPTION: LatentSNA (3:8) Neuroimaging (7:14) al (7:107) arXiv (7:120) et (7:104) The Title field is just the package name: provide a real title. The Description field contains brain-behavior linking (Wang et al. (2023) < arXiv:2309.11349>). Please refer to arXiv e-prints via their arXiv DOI . * 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 whether package 'latentSNA' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... WARNING Dependence on R version '4.3.2' not with patchlevel 0 * 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 ... 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 ... WARNING 'loadNamespace' or 'requireNamespace' call not declared from: 'coda' Package in Depends field not imported from: 'MASS' These packages need to be imported from (in the NAMESPACE file) for when this namespace is loaded but not attached. * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE latentSNA: no visible global function definition for 'zscores' latentSNA: no visible global function definition for 'cor' rFl_nrm: no visible global function definition for 'rnorm' rH_bin: no visible global function definition for 'rnorm' rSu: no visible global function definition for 'rwish' rTheta_b: no visible global function definition for 'rnorm' rU_each_b_updated_abcd_3: no visible global function definition for 'rnorm' rXi: no visible global function definition for 'rnorm' rbeta_a: no visible global function definition for 'rnorm' rs1_b: no visible global function definition for 'rgamma' rs2: no visible global function definition for 'rgamma' simH: no visible global function definition for 'rnorm' simZ: no visible global function definition for 'rnorm' Undefined global functions or variables: cor rgamma rnorm rwish zscores Consider adding importFrom("stats", "cor", "rgamma", "rnorm") to your NAMESPACE file. * checking Rd files ... 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 ... WARNING Functions or methods with usage in Rd file 'latentSNA.Rd' but not in code: 'latnetSNA' Functions or methods with usage in Rd file 'rTheta_b.Rd' but not in code: 'rTheta' Functions or methods with usage in Rd file 'rs1_b.Rd' but not in code: 'rs1' Codoc mismatches from Rd file 'rH_bin.Rd': rH_bin Code: function(H, EH, Y, s1 = 1) Docs: function(H, EH, Y) Argument names in code not in docs: s1 Codoc mismatches from Rd file 'rU.Rd': rU Code: function(Fl, EFl, U, Theta, Stheta, Sutheta, Su, s2) Docs: function(Fl, U, Theta, Stheta, Sutheta, Su, s2 = 1, offset = offset) Argument names in code not in docs: EFl Argument names in docs not in code: offset Mismatches in argument names (first 3): Position: 2 Code: EFl Docs: U Position: 3 Code: U Docs: Theta Position: 4 Code: Theta Docs: Stheta Mismatches in argument default values: Name: 's2' Code: Docs: 1 Codoc mismatches from Rd file 'rXi.Rd': rXi Code: function(H, beta, Alpha, Theta, mxi, Sigmaxi, s1) Docs: function(H, beta, Alpha, Theta, mxi, Sigmaxi, s1 = 1) Mismatches in argument default values: Name: 's1' Code: Docs: 1 Codoc mismatches from Rd file 'rs2.Rd': rs2 Code: function(Fl, offset = offset, nu2 = NULL, s20 = NULL) Docs: function(Fl, offset = 0, nu2 = NULL, s20 = NULL) Mismatches in argument default values: Name: 'offset' Code: offset Docs: 0 Codoc mismatches from Rd file 'simZ.Rd': simZ Code: function(EZ, s2 = 1) Docs: function(EZ, rho, s2 = 1) Argument names in docs not in code: rho Mismatches in argument names: Position: 2 Code: s2 Docs: rho * checking Rd \usage sections ... WARNING Objects in \usage without \alias in Rd file 'latentSNA.Rd': 'latnetSNA' Documented arguments not in \usage in Rd file 'rH_bin.Rd': 's1' Objects in \usage without \alias in Rd file 'rTheta_b.Rd': 'rTheta' Undocumented arguments in Rd file 'rU.Rd' 'offset' Documented arguments not in \usage in Rd file 'rU.Rd': 'EFl' Undocumented arguments in Rd file 'rs1_b.Rd' 'offset' Objects in \usage without \alias in Rd file 'rs1_b.Rd': 'rs1' Undocumented arguments in Rd file 'rs2.Rd' 'offset' Undocumented arguments in Rd file 'simZ.Rd' 'rho' Functions with \usage entries need to have the appropriate \alias entries, and all their arguments documented. The \usage entries must correspond to syntactically valid R code. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking files in 'vignettes' ... WARNING Files in the 'vignettes' directory but no files in 'inst/doc': 'introduction.Rmd' Package has no Sweave vignette sources and no VignetteBuilder field. * checking examples ... NONE * checking package vignettes ... NOTE Package has 'vignettes' subdirectory but apparently no vignettes. Perhaps the 'VignetteBuilder' information is missing from the DESCRIPTION file? * checking PDF version of manual ... [15s] OK * checking HTML version of manual ... OK * checking for code which exercises the package ... WARNING No examples, no tests, no vignettes * DONE Status: 6 WARNINGs, 3 NOTEs