* using log directory 'd:/RCompile/CRANincoming/R-devel/MicrobiomeSurv.Rcheck' * using R Under development (unstable) (2023-09-26 r85226 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 12.2.0 GNU Fortran (GCC) 12.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'MicrobiomeSurv/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'MicrobiomeSurv' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Thi Huyen Nguyen ' New submission Possibly misspelled words in DESCRIPTION: Microbiome (4:35) SPLS (14:113) microbiome (11:38, 11:97, 12:113, 13:76, 16:128) quantile (15:33, 16:18) * 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 serialization versions ... OK * checking whether package 'MicrobiomeSurv' can be installed ... WARNING Found the following significant warnings: Note: possible error in 'try(Temp = Lasoelascox(Survival = Survival[ind.s[i, ': unused argument (Temp = Lasoelascox(Survival = Survival[ind.s[i, ]], Censor = Censor[ind.s[i, ]], Micro.mat[, ind.mi[i, ]], Prognostic = data.frame(perPrognostic), Plots = FALSE, Mean = TRUE, Quantile = Quantile, Standardize = TRUE, Alpha = 1, Fold = 4, nlambda = 100)) Warning: D:/temp/RtmpMvUWX0/R.INSTALL5044b555fe6/MicrobiomeSurv/man/CVLasoelascox.Rd:45: unexpected '}', expecting '{' See 'd:/RCompile/CRANincoming/R-devel/MicrobiomeSurv.Rcheck/00install.out' for details. Information on the location(s) of code generating the 'Note's can be obtained by re-running with environment variable R_KEEP_PKG_SOURCE set to 'yes'. * 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 ... WARNING '::' or ':::' import not declared from: 'pls' * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [13s] NOTE CVLasoelascox: no visible global function definition for 'coef' CVMSpecificCoxPh: no visible global function definition for 'p.adjust' CVMSpecificCoxPh: no visible global function definition for 'new' CVMajorityvotes: no visible global function definition for 'p.adjust' CVMajorityvotes: no visible binding for global variable 'quantile' CVMajorityvotes: no visible global function definition for 'new' CVPcaPls: no visible global function definition for 'p.adjust' CVPcaPls: no visible global function definition for 'median' CVPcaPls: no visible global function definition for 'new' CVSITaxa: no visible global function definition for 'new' CoxPHUni: no visible global function definition for 'p.adjust' DistHR: no visible global function definition for 'p.adjust' DistHR: no visible binding for global variable 'Method' DistHR: possible error in try(Temp = Lasoelascox(Survival = Survival[ind.s[i, ]], Censor = Censor[ind.s[i, ]], Micro.mat[, ind.mi[i, ]], Prognostic = data.frame(perPrognostic), Plots = FALSE, Mean = TRUE, Quantile = Quantile, Standardize = TRUE, Alpha = 1, Fold = 4, nlambda = 100), silent = TRUE): unused argument (Temp = Lasoelascox(Survival = Survival[ind.s[i, ]], Censor = Censor[ind.s[i, ]], Micro.mat[, ind.mi[i, ]], Prognostic = data.frame(perPrognostic), Plots = FALSE, Mean = TRUE, Quantile = Quantile, Standardize = TRUE, Alpha = 1, Fold = 4, nlambda = 100)) DistHR: no visible global function definition for 'new' Lasoelascox: no visible global function definition for 'quantile' Lasoelascox: no visible global function definition for 'coef' Lasoelascox: no visible global function definition for 'par' Lasoelascox: no visible global function definition for 'lines' Lasoelascox: no visible global function definition for 'abline' MSpecificCoxPh: no visible global function definition for 'p.adjust' MSpecificCoxPh: no visible global function definition for 'new' Majorityvotes: no visible global function definition for 'par' Majorityvotes: no visible global function definition for 'points' Majorityvotes: no visible global function definition for 'axis' Majorityvotes: no visible global function definition for 'box' Majorityvotes: no visible global function definition for 'legend' MiFreq: no visible global function definition for 'barplot' MiFreq: no visible global function definition for 'rainbow' QuantileAnalysis: no visible global function definition for 'p.adjust' QuantileAnalysis: no visible global function definition for 'axis' SITaxa: no visible global function definition for 'p.adjust' SummaryData: no visible global function definition for 'across' SurvPcaClass: no visible global function definition for 'p.adjust' SurvPlsClass: no visible global function definition for 'p.adjust' ZerosPerGroup: no visible binding for global variable 'n' ZerosPerGroup: no visible binding for global variable 'pp' ZerosPerGroup: no visible binding for global variable 'Treatment' f.pca: no visible global function definition for 'princomp' plot,cvle-missing: no visible global function definition for 'hasArg' plot,cvle-missing: no visible binding for global variable 'boxplot' plot,cvmm-ANY: no visible global function definition for 'hasArg' plot,cvmm-ANY: no visible binding for global variable 'boxplot' plot,cvmv-ANY: no visible global function definition for 'hasArg' plot,cvmv-ANY: no visible global function definition for 'par' plot,cvmv-ANY: no visible global function definition for 'lines' plot,cvmv-ANY: no visible global function definition for 'abline' plot,cvmv-ANY: no visible binding for global variable 'boxplot' plot,cvpp-missing: no visible global function definition for 'hasArg' plot,cvpp-missing: no visible binding for global variable 'boxplot' plot,cvsit-missing: no visible global function definition for 'hasArg' plot,cvsit-missing: no visible binding for global variable 'boxplot' plot,ms-ANY: no visible global function definition for 'qnorm' plot,ms-ANY: no visible global function definition for 'par' plot,ms-ANY: no visible global function definition for 'barplot' plot,ms-ANY: no visible global function definition for 'rainbow' plot,ms-ANY: no visible global function definition for 'arrows' plot,ms-ANY: no visible global function definition for 'abline' plot,perm-ANY: no visible global function definition for 'na.exclude' plot,perm-ANY: no visible global function definition for 'hasArg' plot,perm-ANY: no visible global function definition for 'density' plot,perm-ANY: no visible global function definition for 'abline' plot,perm-ANY: no visible global function definition for 'quantile' plot,perm-ANY: no visible global function definition for 'median' summary,cvle: no visible global function definition for 'quantile' summary,cvmm: no visible global function definition for 'median' summary,cvmm: no visible global function definition for 'quantile' summary,cvmv: no visible global function definition for 'quantile' summary,cvpp: no visible global function definition for 'quantile' summary,cvsit : : no visible global function definition for 'median' summary,cvsit : : no visible global function definition for 'quantile' summary,ms: no visible global function definition for 'qnorm' summary,perm: no visible global function definition for 'quantile' Undefined global functions or variables: Method Treatment abline across arrows axis barplot box boxplot coef density hasArg legend lines median n na.exclude new p.adjust par points pp princomp qnorm quantile rainbow Consider adding importFrom("grDevices", "rainbow") importFrom("graphics", "abline", "arrows", "axis", "barplot", "box", "boxplot", "legend", "lines", "par", "points") importFrom("methods", "hasArg", "new") importFrom("stats", "coef", "density", "median", "na.exclude", "p.adjust", "princomp", "qnorm", "quantile") to your NAMESPACE file (and ensure that your DESCRIPTION Imports field contains 'methods'). Found if() conditions comparing class() to string: File 'MicrobiomeSurv/R/CVSITaxa.R': if (class(Object) != "cvmm") ... File 'MicrobiomeSurv/R/Majorityvotes.R': if (class(Result) != "ms") ... File 'MicrobiomeSurv/R/MiFreq.R': if (class(Object) != "cvle") ... File 'MicrobiomeSurv/R/cvle-class.R': if (class(x) != "cvle") ... File 'MicrobiomeSurv/R/cvmv-class.R': if (class(x) != "cvmv") ... File 'MicrobiomeSurv/R/cvsit-class.R': if (class(x) != "cvsit") ... File 'MicrobiomeSurv/R/perm-class.R': if (class(x) != "perm") ... Use inherits() (or maybe is()) instead. * checking Rd files ... WARNING prepare_Rd: ./man/CVLasoelascox.Rd:45: unexpected '}', expecting '{' * checking Rd metadata ... OK * checking Rd line widths ... NOTE Rd file 'CVLasoelascox.Rd': \examples lines wider than 100 characters: names_fam_shan_trim_w3 = c("Unknown", "Lachnospiraceae", "S24.7", "Lactobacillaceae", "Enterobacteriaceae", "Rikenellaceae") Rd file 'CVMSpecificCoxPh.Rd': \examples lines wider than 100 characters: names_fam_shan_trim_w3 = c("Unknown", "Lachnospiraceae", "S24.7", "Lactobacillaceae", "Enterobacteriaceae", "Rikenellaceae") Rd file 'CVMajorityvotes.Rd': \examples lines wider than 100 characters: names_fam_shan_trim_w3 = c("Unknown", "Lachnospiraceae", "S24.7", "Lactobacillaceae", "Enterobacteriaceae", "Rikenellaceae") Rd file 'CVPcaPls.Rd': \examples lines wider than 100 characters: names_fam_shan_trim_w3 = c("Unknown", "Lachnospiraceae", "S24.7", "Lactobacillaceae", "Enterobacteriaceae", "Rikenellaceae") Rd file 'CVSITaxa.Rd': \examples lines wider than 100 characters: names_fam_shan_trim_w3 = c("Unknown", "Lachnospiraceae", "S24.7", "Lactobacillaceae", "Enterobacteriaceae", "Rikenellaceae") Rd file 'CoxPHUni.Rd': \examples lines wider than 100 characters: names_fam_shan_trim_w3 = c("Unknown", "Lachnospiraceae", "S24.7", "Lactobacillaceae", "Enterobacteriaceae", "Rikenellaceae") Rd file 'DistHR.Rd': \examples lines wider than 100 characters: names_fam_shan_trim_w3 = c("Unknown", "Lachnospiraceae", "S24.7", "Lactobacillaceae", "Enterobacteriaceae", "Rikenellaceae") Rd file 'EstimateHR.Rd': \examples lines wider than 100 characters: names_fam_shan_trim_w3 = c("Unknown", "Lachnospiraceae", "S24.7", "Lactobacillaceae", "Enterobacteriaceae", "Rikenellaceae") Rd file 'Lasoelascox.Rd': \examples lines wider than 100 characters: names_fam_shan_trim_w3 = c("Unknown", "Lachnospiraceae", "S24.7", "Lactobacillaceae", "Enterobacteriaceae", "Rikenellaceae") Rd file 'MSpecificCoxPh.Rd': \examples lines wider than 100 characters: surv_fam_shan_w3 = data.frame(cbind(as.numeric(Week3_response$T1Dweek), as.numeric(Week3_response$T1D))) names_fam_shan_trim_w3 = c("Unknown", "Lachnospiraceae", "S24.7", "Lactobacillaceae", "Enterobacteriaceae", "Rikenellaceae") Rd file 'Majorityvotes.Rd': \examples lines wider than 100 characters: names_fam_shan_trim_w3 = c("Unknown", "Lachnospiraceae", "S24.7", "Lactobacillaceae", "Enterobacteriaceae", "Rikenellaceae") Rd file 'MiFreq.Rd': \examples lines wider than 100 characters: names_fam_shan_trim_w3 = c("Unknown", "Lachnospiraceae", "S24.7", "Lactobacillaceae", "Enterobacteriaceae", "Rikenellaceae") Rd file 'QuantileAnalysis.Rd': \examples lines wider than 100 characters: names_fam_shan_trim_w3 = c("Unknown", "Lachnospiraceae", "S24.7", "Lactobacillaceae", "Enterobacteriaceae", "Rikenellaceae") Rd file 'SITaxa.Rd': \examples lines wider than 100 characters: names_fam_shan_trim_w3 = c("Unknown", "Lachnospiraceae", "S24.7", "Lactobacillaceae", "Enterobacteriaceae", "Rikenellaceae") Rd file 'SurvPcaClass.Rd': \examples lines wider than 100 characters: names_fam_shan_trim_w3 = c("Unknown", "Lachnospiraceae", "S24.7", "Lactobacillaceae", "Enterobacteriaceae", "Rikenellaceae") Rd file 'SurvPlsClass.Rd': \examples lines wider than 100 characters: names_fam_shan_trim_w3 = c("Unknown", "Lachnospiraceae", "S24.7", "Lactobacillaceae", "Enterobacteriaceae", "Rikenellaceae") Rd file 'Top1Uni.Rd': \examples lines wider than 100 characters: names_fam_shan_trim_w3 = c("Unknown", "Lachnospiraceae", "S24.7", "Lactobacillaceae", "Enterobacteriaceae", "Rikenellaceae") summary_fam_shan_w3 = CoxPHUni(Survival = surv_fam_shan_w3$Survival, Censor = surv_fam_shan_w3$Censor, These lines will be truncated in the PDF manual. * checking Rd cross-references ... WARNING Unknown packages 'Microbiome', 'microbiomeSurv' in Rd xrefs Missing link or links in documentation object 'EstimateHR.Rd': '[MicrobiomeSurv]{Lasoelacox}' Missing link or links in documentation object 'MiFreq.Rd': '[MicrobiomeSurv]{CVLasoelacox}' Missing link or links in documentation object 'cvle-class.Rd': '[MicrobiomeSurv]{CVLasoelacox}' '[MicrobiomeSurv]{Lasoelacox}' Missing link or links in documentation object 'cvmm-class.Rd': '[MicrobiomeSurv]{CVMspecificCoxPh}' Missing link or links in documentation object 'perm-class.Rd': '[MicrobiomeSurv]{Lasoelacox}' See section 'Cross-references' in the 'Writing R Extensions' manual. * checking for missing documentation entries ... WARNING Undocumented code objects: 'IntermediatePCA' 'IntermediatePLS' 'Week3_otu' 'Week3_response' 'data_zero_per_group_otu_w3' 'f.pca' 'fam_info_w3' 'fam_shan_trim_w3' 'metadata_taxonomy' Undocumented data sets: 'Week3_otu' 'Week3_response' 'data_zero_per_group_otu_w3' 'fam_info_w3' 'fam_shan_trim_w3' 'metadata_taxonomy' All user-level objects in a package should have documentation entries. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * 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 ... 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 ... OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [30s] OK * checking HTML version of manual ... OK * DONE Status: 5 WARNINGs, 3 NOTEs