* using log directory 'd:/Rcompile/CRANpkg/local/4.6/mets.Rcheck' * using R Under development (unstable) (2025-04-16 r88149 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'mets/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'mets' version '1.3.5' * 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 'mets' can be installed ... OK * used C compiler: 'gcc.exe (GCC) 14.2.0' * used Fortran compiler: 'GNU Fortran (GCC) 14.2.0' * used C++ compiler: 'g++.exe (GCC) 14.2.0' * checking installed package size ... INFO installed size is 9.9Mb sub-directories of 1Mb or more: R 1.8Mb doc 3.6Mb libs 2.5Mb * 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 ... [84s] OK * checking Rd files ... [3s] 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 data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking usage of KIND in Fortran files ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [29s] ERROR Running examples in 'mets-Ex.R' failed The error most likely occurred in: > ### Name: drelevel > ### Title: relev levels for data frames > ### Aliases: drelevel dlevels dlevel dlev drelev dlev<- dlevel<- drelev<- > ### drelevel<- dfactor dfactor<- dnumeric dnumeric<- > > ### ** Examples > > > data(mena) > dstr(mena) 'data.frame': 2000 obs. of 7 variables: $ cohort : Factor w/ 4 levels "[1973,1975]",..: 1 1 1 1 1 1 1 1 1 1 ... $ agemena : num 13.8 12.7 12.4 13.1 13.5 ... $ status : int 1 1 1 1 1 1 1 1 1 1 ... $ zyg : Factor w/ 2 levels "MZ","DZ": 2 2 1 1 1 1 1 1 1 1 ... $ twinnum : int 2 1 2 1 2 1 2 1 2 1 ... $ id : num 1 1 2 2 3 3 4 4 5 5 ... $ mothermena: num 13.5 13.5 12.5 12.5 14.7 ... Error in structure(res, ngroupvar = 0, class = c("daggregate", class(res))) : attempt to set an attribute on NULL Calls: dstr -> daggregate -> structure Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [9s] OK Running 'test-all.R' [8s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [183s] ERROR Error(s) in re-building vignettes: --- re-building 'basic-dutils.Rmd' using rmarkdown Quitting from basic-dutils.Rmd:190-193 [unnamed-chunk-15] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `structure()`: ! attempt to set an attribute on NULL --- Backtrace: ▆ 1. └─mets::dstr(melanoma) 2. └─mets::daggregate(...) 3. └─base::structure(res, ngroupvar = 0, class = c("daggregate", class(res))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'basic-dutils.Rmd' failed with diagnostics: attempt to set an attribute on NULL --- failed re-building 'basic-dutils.Rmd' --- re-building 'binomial-family.Rmd' using rmarkdown --- finished re-building 'binomial-family.Rmd' --- re-building 'binomial-twin.Rmd' using rmarkdown --- finished re-building 'binomial-twin.Rmd' --- re-building 'binreg-TRS.Rmd' using rmarkdown --- finished re-building 'binreg-TRS.Rmd' --- re-building 'binreg-ate.Rmd' using rmarkdown --- finished re-building 'binreg-ate.Rmd' --- re-building 'binreg.Rmd' using rmarkdown --- finished re-building 'binreg.Rmd' --- re-building 'cifreg.Rmd' using rmarkdown --- finished re-building 'cifreg.Rmd' --- re-building 'cooking-survival-data.Rmd' using rmarkdown --- finished re-building 'cooking-survival-data.Rmd' --- re-building 'glm-utility.Rmd' using rmarkdown --- finished re-building 'glm-utility.Rmd' --- re-building 'haplo-discrete-ttp.Rmd' using rmarkdown --- finished re-building 'haplo-discrete-ttp.Rmd' --- re-building 'interval-discrete-survival.Rmd' using rmarkdown --- finished re-building 'interval-discrete-survival.Rmd' --- re-building 'marginal-cox.Rmd' using rmarkdown --- finished re-building 'marginal-cox.Rmd' --- re-building 'mediation-survival.Rmd' using rmarkdown --- finished re-building 'mediation-survival.Rmd' --- re-building 'phreg_rct.Rmd' using rmarkdown --- finished re-building 'phreg_rct.Rmd' --- re-building 'quantitative-twin.Rmd' using rmarkdown --- finished re-building 'quantitative-twin.Rmd' --- re-building 'recurrent-events.Rmd' using rmarkdown --- finished re-building 'recurrent-events.Rmd' --- re-building 'rmst-ate.Rmd' using rmarkdown --- finished re-building 'rmst-ate.Rmd' --- re-building 'survival-ate.Rmd' using rmarkdown --- finished re-building 'survival-ate.Rmd' --- re-building 'time-to-event-family-studies-arev.Rmd' using rmarkdown --- finished re-building 'time-to-event-family-studies-arev.Rmd' --- re-building 'twostage-survival.Rmd' using rmarkdown --- finished re-building 'twostage-survival.Rmd' --- re-building 'while-alive.Rmd' using rmarkdown --- finished re-building 'while-alive.Rmd' SUMMARY: processing the following file failed: 'basic-dutils.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [34s] OK * checking HTML version of manual ... [25s] OK * DONE Status: 2 ERRORs