* using log directory 'd:/RCompile/CRANincoming/R-devel/coco.Rcheck' * using R Under development (unstable) (2024-07-20 r86909 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 'coco/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'coco' version '0.1' * package encoding: UTF-8 * checking CRAN incoming feasibility ... ERROR Maintainer: 'Federico Blasi ' New submission Conflicting package names (submitted: coco, existing: CoCo [CRAN archive]) Non-FOSS package license (`use_gpl3_license()`) Possibly misspelled words in DESCRIPTION: Covariate (3:8) Nonstationary (3:49) covariate (13:87) nonstationary (13:43) The Title field should be in title case. Current version is: 'Covariate-based Covariance Functions For Nonstationary Gaussian Processes' In title case that is: 'Covariate-Based Covariance Functions for Nonstationary Gaussian Processes' Size of tarball: 9261278 bytes * 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 'coco' can be installed ... WARNING Found the following significant warnings: Warning: D:/temp/RtmpKwTQgv/R.INSTALL3009c38ece6a/coco/man/coco-package.Rd:13: unexpected UNKNOWN '\license' Warning: coco-package.Rd:13: All text must be in a section See 'd:/RCompile/CRANincoming/R-devel/coco.Rcheck/00install.out' for details. * used C++ compiler: 'g++.exe (GCC) 13.2.0' * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... WARNING Non-standard license specification: `use_gpl3_license()` Standardizable: FALSE Author field differs from that derived from Authors@R Author: 'Federico Blasi' Authors@R: 'Federico Blasi [aut, cre], Reinhard Furrer [ctb]' * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... WARNING Vignettes with missing or empty \VignetteIndexEntry: coco.Rnw See sections 'The INDEX file' and 'Package subdirectories' in the 'Writing R Extensions' manual. * 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 whether startup messages can be suppressed ... 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 ... NOTE getBoundariesV3: no visible global function definition for 'dist' getCondNumber: no visible global function definition for 'cov2cor' plotOptimInfo: no visible global function definition for 'par' plot,coco: no visible global function definition for 'par' print,coco: no visible binding for global variable 'number_mean' print,coco: no visible binding for global variable 'number_std.dev' print,coco: no visible binding for global variable 'number_scale' print,coco: no visible binding for global variable 'Inv.Hess' Undefined global functions or variables: Inv.Hess cov2cor dist number_mean number_scale number_std.dev par Consider adding importFrom("graphics", "par") importFrom("stats", "cov2cor", "dist") to your NAMESPACE file. Found if() conditions comparing class() to string: File 'coco/R/getFunctions.R': if (class(x) == "coco") ... File 'coco/R/getFunctions.R': if (class(coco.object) == "coco") ... File 'coco/R/getFunctions.R': if (class(coco.object) == "coco") ... Use inherits() (or maybe is()) instead. * checking Rd files ... WARNING prepare_Rd: ./man/coco-package.Rd:13: unexpected UNKNOWN '\license' prepare_Rd: coco-package.Rd:13: All text must be in a section * checking Rd metadata ... WARNING Rd files with duplicated alias 'coco': 'coco-package.Rd' 'coco.Rd' * checking Rd line widths ... NOTE Rd file 'GetNeg2loglikelihoodProfile.Rd': \usage lines wider than 90 characters: GetNeg2loglikelihoodProfile(theta, par.pos, locs, x_covariates, smooth.limits, z, n, x_betas,lambda) Rd file 'GetNeg2loglikelihoodTaper.Rd': \usage lines wider than 90 characters: GetNeg2loglikelihoodTaper(theta, par.pos, ref_taper, locs, x_covariates, smooth.limits, cholS, z, n, lambda) Rd file 'GetNeg2loglikelihoodTaperProfile.Rd': \usage lines wider than 90 characters: GetNeg2loglikelihoodTaperProfile(theta, par.pos, ref_taper, locs, x_covariates, smooth.limits, cholS, z, n, lambda) Rd file 'cocoOptim.Rd': \usage lines wider than 90 characters: cocoOptim(coco.object, boundaries = list(), ncores = parallel::detectCores(), optim.control, optim.type,...) Rd file 'cocoSim.Rd': \usage lines wider than 90 characters: cocoSim(coco.object, pars, n, seed, standardize, type = 'classic', sim.type = NULL, cond.info = NULL) These lines will be truncated in the PDF manual. * checking Rd cross-references ... WARNING Missing link or links in Rd file 'GetNeg2loglikelihood.Rd': '1' Missing link or links in Rd file 'GetNeg2loglikelihoodProfile.Rd': '1' Missing link or links in Rd file 'GetNeg2loglikelihoodTaper.Rd': '1' Missing link or links in Rd file 'GetNeg2loglikelihoodTaperProfile.Rd': '1' See section 'Cross-references' in the 'Writing R Extensions' manual. Found the following Rd file(s) with Rd \link{} targets missing package anchors: GetNeg2loglikelihood.Rd: 1 GetNeg2loglikelihoodProfile.Rd: 1 GetNeg2loglikelihoodTaper.Rd: 1 GetNeg2loglikelihoodTaperProfile.Rd: 1 Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. * checking for missing documentation entries ... WARNING Undocumented code objects: 'cov_rns' 'cov_rns_classic' 'cov_rns_classic_prod_smooth' 'cov_rns_pred' 'cov_rns_taper_optimized_predict_range' 'cov_rns_taper_optimized_range' 'holes' 'stripes' 'x' Undocumented data sets: 'holes' 'stripes' Undocumented S4 methods: generic 'plot' and siglist 'coco' generic 'print' and siglist 'coco' 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 'getBoundariesV2.Rd': getBoundariesV2 Code: function(coco.object, mean.limits, std.dev.limits, scale.limits, aniso.limits, tilt.limits, smooth.limits, nugget.limits) Docs: function(coco.object, lower.value, upper.value) Argument names in code not in docs: mean.limits std.dev.limits scale.limits aniso.limits tilt.limits smooth.limits nugget.limits Argument names in docs not in code: lower.value upper.value Mismatches in argument names: Position: 2 Code: mean.limits Docs: lower.value Position: 3 Code: std.dev.limits Docs: upper.value Codoc mismatches from Rd file 'getBoundariesV3.Rd': getBoundariesV3 Code: function(coco.object, mean.limits, global.lower, std.dev.max.effects, scale.max.effects, aniso.max.effects, tilt.max.effects, smooth.max.effects, nugget.max.effects) Docs: function(coco.object, ...) Argument names in code not in docs: mean.limits global.lower std.dev.max.effects scale.max.effects aniso.max.effects tilt.max.effects smooth.max.effects nugget.max.effects Argument names in docs not in code: ... Mismatches in argument names: Position: 2 Code: mean.limits Docs: ... Codoc mismatches from Rd file 'getHessian.Rd': getHessian Code: function(coco.object, ncores = parallel::detectCores() - 1, eps = .Machine$double.eps^(1/4)) Docs: function(coco.object, ncores = 2, eps = .Machine$double.eps^(1/4)) Mismatches in argument default values: Name: 'ncores' Code: parallel::detectCores() - 1 Docs: 2 * checking Rd \usage sections ... WARNING Undocumented arguments in Rd file 'getBoundariesV2.Rd' 'lower.value' 'upper.value' Documented arguments not in \usage in Rd file 'getBoundariesV2.Rd': 'param.limits' 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 ... NOTE Argument items with no description in Rd file 'getBoundariesV3.Rd': '...' * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... WARNING Note: significantly better compression could be obtained by using R CMD build --resave-data old_size new_size compress holes.rda 213Kb 183Kb xz stripes.rda 853Kb 751Kb xz * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking sizes of PDF files under 'inst/doc' ... WARNING 'gs+qpdf' made some significant size reductions: compacted 'coco.pdf' from 8622Kb to 636Kb consider running tools::compactPDF(gs_quality = "ebook") on these files, or build the source package with --compact-vignettes=both * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [14s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 11 WARNINGs, 3 NOTEs