* using log directory 'd:/Rcompile/CRANpkg/local/4.4/smartsnp.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'smartsnp/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'smartsnp' version '1.1.0' * package encoding: UTF-8 * 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 'smartsnp' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 13.3.0' * checking installed package size ... OK * checking package 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] 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 ... [7s] OK * checking Rd files ... [1s] NOTE checkRd: (-1) read_packedancestrymap.Rd:15: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_mva.Rd:7-11: Lost braces 7 | \item{snp_data}{snp_data}{File name read from working directory. | ^ checkRd: (-1) smart_mva.Rd:100-101: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_mva.Rd:102-103: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_mva.Rd:104-105: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_mva.Rd:106-109: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_mva.Rd:110: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_mva.Rd:111: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_mva.Rd:112: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_mva.Rd:113-114: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_mva.Rd:115: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_mva.Rd:116: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_mva.Rd:117: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_mva.Rd:118: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_mva.Rd:119: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_pca.Rd:62: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_pca.Rd:63: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_pca.Rd:64-67: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_permanova.Rd:71-73: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_permanova.Rd:74: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_permanova.Rd:75-76: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_permanova.Rd:77: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_permanova.Rd:78: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_permanova.Rd:79: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_permdisp.Rd:78-81: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_permdisp.Rd:82: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_permdisp.Rd:83: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_permdisp.Rd:84: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_permdisp.Rd:85-86: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_permdisp.Rd:87: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_permdisp.Rd:88: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) smart_permdisp.Rd:89: Lost braces in \itemize; \value handles \item{}{} directly * checking Rd metadata ... 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 LazyData ... NOTE 'LazyData' is specified without a 'data' directory * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking examples ... [3s] ERROR Running examples in 'smartsnp-Ex.R' failed The error most likely occurred in: > ### Name: smart_mva > ### Title: Smart Multivariate Analyses (wrapper of PCA, PERMANOVA and > ### PERMDISP) > ### Aliases: smart_mva > > ### ** Examples > > # Path to example genotype matrix "dataSNP" > pathToGenoFile = system.file("extdata", "dataSNP", package = "smartsnp") > > # Assign 50 samples to each of two groups and colors > my_groups <- as.factor(c(rep("A", 50), rep("B", 50))); cols = c("red", "blue") > > # Run PCA, PERMANOVA and PERMDISP > mvaR <- smart_mva(snp_data = pathToGenoFile, sample_group = my_groups) Checking argument options selected... Argument options are correct... Loading data... Imported 10000 SNP by 100 sample genotype matrix Time elapsed: 0h 0m 0s Filtering data... No samples projected after PCA computation 10000 SNPs included in PCA & PERMANOVA & PERMDISP computations 1 SNPs omitted from PCA computation 100 samples included in PCA & PERMANOVA & PERMDISP computations 0 samples ommitted from PERMANOVA & PERMDISP analyses Completed data filtering Time elapsed: 0h 0m 0s Scanning for invariant SNPs... Scan complete: no invariant SNPs found Time elapsed: 0h 0m 0s Checking for missing values... 6341 SNPs contain missing values Removing SNPs with missing values... Removal completed: 6341 SNPs removed 3659 SNPs remaining Time elapsed: 0h 0m 0s Scaling values by SNP... Centering and scaling by drift dispersion... Completed scaling using drift Time elapsed: 0h 0m 0s Computing singular value decomposition using RSpectra... Completed singular value decomposition Time elapsed: 0h 0m 2s Extracting eigenvalues and eigenvectors... Eigenvalues and eigenvectors extracted Time elapsed: 0h 0m 2s Completed PCA computation Time elapsed: 0h 0m 2s Performing PERMANOVA & PERMDISP testing... Construct triangular matrix of sample by sample proximities in multidimensional space... Completed construction of triangular matrix of sample by sample proximities Time elapsed: 0h 0m 2s Computing variance partioning by PERMANOVA: global test... Error in vegan::adonis(formula = snp_eucli ~ group, permutations = permutation_n) : 'adonis' is defunct. Use 'adonis2' instead. See help("Defunct") and help("vegan-defunct"). Calls: smart_mva -> -> .Defunct Execution halted * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR, 2 NOTEs