* using log directory 'd:/Rcompile/CRANpkg/local/4.0/corrplot.Rcheck' * using R version 4.0.5 (2021-03-31) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'corrplot/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'corrplot' version '0.92' * 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 'corrplot' can be installed ... OK * checking installed package size ... OK * checking package directory ... 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 ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [6s] OK * checking Rd files ... OK * 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 ... WARNING Warning: parse error in file 'corrplot-Ex.R': 290:31: unexpected '>' 289: if(getRversion() >= '4.1.0') { 290: corrplot(M, order = 'AOE') |> ^ * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [2s] ERROR Running examples in 'corrplot-Ex.R' failed The error most likely occurred in: > ### Name: corrRect > ### Title: Draw rectangle(s) on the correlation matrix graph. > ### Aliases: corrRect > ### Keywords: hplot > > ### ** Examples > > data(mtcars) > M = cor(mtcars) > > r = rbind(c('gear', 'wt', 'qsec', 'carb'), + c('wt', 'gear', 'carb', 'qsec')) > corrplot(M, order = 'AOE') -> p > corrRect(p, namesMat = r) > > # same as using pipe operator `|>` > if(getRversion() >= '4.1.0') { + corrplot(M, order = 'AOE') |> corrRect(namesMat = r) Error: unexpected '>' in: "if(getRversion() >= '4.1.0') { corrplot(M, order = 'AOE') |>" Execution halted * checking for unstated dependencies in 'tests' ... WARNING Warning: parse error in file 'testthat/test-corrRect.R': 29:52: unexpected '>' 28: r = c('gear', 'wt', 'qsec', 'carb') 29: corrplot(M, method = 'circle', order = 'AOE') |> ^ * checking tests ... [2s] ERROR Running 'testthat.R' [2s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(corrplot) corrplot 0.92 loaded > > test_check('corrplot') Error in parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") : test-corrRect.R:29:52: unexpected '>' 28: r = c('gear', 'wt', 'qsec', 'carb') 29: corrplot(M, method = 'circle', order = 'AOE') |> ^ Calls: test_check ... doTryCatch -> lapply -> FUN -> source_file -> parse Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [12s] OK * checking PDF version of manual ... OK * DONE Status: 2 ERRORs, 2 WARNINGs