* using log directory 'd:/Rcompile/CRANpkg/local/4.4/DescTools.Rcheck' * using R version 4.4.0 (2024-04-24 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 'DescTools/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'DescTools' version '0.99.54' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... NOTE Package suggested but not available for checking: 'RDCOMClient' * 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 'DescTools' can be installed ... OK * used C compiler: 'gcc.exe (GCC) 13.2.0' * used Fortran compiler: 'GNU Fortran (GCC) 13.2.0' * used C++ compiler: 'g++.exe (GCC) 13.2.0' * checking C++ specification ... OK Not all R platforms support C++17 * checking installed package size ... NOTE installed size is 6.8Mb sub-directories of 1Mb or more: R 1.7Mb doc 1.8Mb help 1.6Mb libs 1.1Mb * 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] OK * checking whether startup messages can be suppressed ... [2s] 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 ... [66s] OK * checking Rd files ... [8s] 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 ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... [1s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking usage of KIND in Fortran files ... OK * checking sizes of PDF files under 'inst/doc' ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [93s] ERROR Running examples in 'DescTools-Ex.R' failed The error most likely occurred in: > ### Name: PlotPolar > ### Title: Plot Values on a Circular Grid > ### Aliases: PlotPolar > ### Keywords: hplot > > ### ** Examples > > testlen <- c(sin(seq(0, 1.98*pi, length=100))+2+rnorm(100)/10) > testpos <- seq(0, 1.98*pi, length=100) > > PlotPolar(testlen, testpos, type="l", main="Test Polygon", col="blue") > PolarGrid(ntheta=9, col="grey", lty="solid", lblradians=TRUE) > > # start at 12 o'clock and plot clockwise > PlotPolar(testlen, -(testpos - pi/2), type="p", main="Test Polygon", + col="green", pch=16) > > PolarGrid(ntheta = rev(seq(0, 2*pi, by=2*pi/9) + pi/2), + alabels=Format(seq(0, 2*pi, by=2*pi/9), digits=2)[-10], col="grey", + lty="solid", lblradians=TRUE) > > > # just because of it's beauty > t <- seq(0,2*pi,0.01) > PlotPolar( r=sin(2*t)*cos(2*t), theta=t, type="l", lty="dashed", col="red" ) > PolarGrid() > > > # use some filled polygons > ions <- c(3.2,5,1,3.1,2.1,5) > ion.names <- c("Na","Ca","Mg","Cl","HCO3","SO4") > > PlotPolar(r = ions, type="l", fill="yellow") > > # the same, but let's have a grid first > PlotPolar(r = ions, type="l", lwd=2, col="blue", main="Ions", + panel.first=PolarGrid(nr=seq(0, 6, 1)) ) > > # leave the radial grid out > PlotPolar(r = ions, type="l", fill="yellow") > PolarGrid(nr = NA, ntheta = length(ions), alabels = ion.names, + col = "grey", lty = "solid" ) > > # display radial lines > PlotPolar(r = ions, type="h", col="blue", lwd=3) > # add some points > PlotPolar(r = ions, type="p", pch=16, add=TRUE, col="red", cex=1.5) > > # spiderweb (not really recommended...) > posmat <- matrix(sample(2:9,30,TRUE),nrow=3) > PlotPolar(posmat, type="l", main="Spiderweb plot", col=2:4, lwd=1:3) > PolarGrid(nr=NA, ntheta=ncol(posmat), alabels=paste("X", 1:ncol(posmat), sep=""), + col="grey", lty="solid" ) > > # example from: The grammar of graphics (L. Wilkinson) > data("UKgas") > m <- matrix(UKgas, ncol=4, byrow=TRUE) > cols <- c(SetAlpha(rep("green", 10), seq(0,1,0.1)), + SetAlpha(rep("blue", 10), seq(0,1,0.1)), + SetAlpha(rep("orange", 10), seq(0,1,0.1))) Warning in mapply(FUN = function (col, alpha.f = 1, red.f = 1, green.f = 1, : longer argument not a multiple of length of shorter Warning in mapply(FUN = function (col, alpha.f = 1, red.f = 1, green.f = 1, : longer argument not a multiple of length of shorter Warning in mapply(FUN = function (col, alpha.f = 1, red.f = 1, green.f = 1, : longer argument not a multiple of length of shorter > > PlotPolar(r=m, type="l", col=cols, lwd=2 ) > PolarGrid(ntheta=4, alabels=c("Winter","Spring","Summer","Autumn"), lty="solid") > legend(x="topright", legend=c(1960,1970,1980), fill=c("green","blue","orange")) > > > # radarplot (same here, consider alternatives...) > data(mtcars) > d.car <- scale(mtcars[1:6,1:7], center=FALSE) Warning in scale(mtcars[1:6, 1:7], center = FALSE) : internal error 5 in R_decompress3 Error in scale(mtcars[1:6, 1:7], center = FALSE) : lazy-load database 'D:\RCompile\recent\R-4.4.0\library\datasets/data/Rdata.rdb' is corrupt Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [3s] OK Running 'TestsPseudoR2.R' [0s] Running 'misc.R' [2s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [2s] OK * checking PDF version of manual ... [12s] OK * checking HTML version of manual ...