* using log directory 'd:/RCompile/CRANincoming/R-devel/CircaCP.Rcheck' * using R Under development (unstable) (2025-09-27 r88882 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 'CircaCP/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'CircaCP' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'The package maintainer ' New submission Possibly misspelled words in DESCRIPTION: CircaCP (8:42) actigraphy (4:9, 8:135, 8:620) analzying (3:63) cosinor (8:640) interdaily (8:499) intradaily (8:521) mathemtaical (8:240) mesor (8:484) phasor (8:491) Unknown, possibly misspelled, fields in DESCRIPTION: 'Reference' No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: c(person(given = "Shanshan", family = "Chen", role = "aut"), person(given = "Jonathon", family = "Jacobs", role = "aut"), person(given = c("The", "package"), family = "maintainer", role = "cre", email = "schen3@vcu.edu")) as necessary. The Title field should be in title case. Current version is: 'A sleep and circadian metrics estimation algorithm for analzying actigraphy data' In title case that is: 'A Sleep and Circadian Metrics Estimation Algorithm for Analzying Actigraphy Data' The Description field contains https://royalsocietypublishing.org/doi/epdf/10.1098/rsos.231468. Sleep Please enclose URLs in angle brackets (<...>). DESCRIPTION fields with placeholder content: Maintainer: The package maintainer * 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 ... NOTE Found the following hidden files and directories: .Rd2pdf79633 .Rd2pdf81579 .Rd2pdf81957 .Rd2pdf82610 .Rd2pdf83007 .Rd2pdf83387 .Rd2pdf83759 .Rd2pdf84158 .Rd2pdf84579 These were most likely included in error. See section 'Package structure' in the 'Writing R Extensions' manual. CRAN-pack does not know about .Rd2pdf79633 .Rd2pdf81579 .Rd2pdf81957 .Rd2pdf82610 .Rd2pdf83007 .Rd2pdf83387 .Rd2pdf83759 .Rd2pdf84158 .Rd2pdf84579 * checking for portable file names ... OK * checking whether package 'CircaCP' can be installed ... OK * 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 ... NOTE Non-standard files/directories found at top level: 'CircaCP-package.R' 'CircaCP_0.1.0.pdf' 'RPackageCheckCompile.R' 'actigraphy.R' * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... WARNING Found the following directories with names of Rd2pdf directories: ./.Rd2pdf79633 ./.Rd2pdf81579 ./.Rd2pdf81957 ./.Rd2pdf82610 ./.Rd2pdf83007 ./.Rd2pdf83387 ./.Rd2pdf83759 ./.Rd2pdf84158 ./.Rd2pdf84579 Most likely, these were included erroneously. * checking code 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: 'tibble' 'loadNamespace' or 'requireNamespace' call not declared from: 'tibble' * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... WARNING Undocumented code objects: 'CP2label' 'NHANES_11111' 'actigraphy' 'circ_sd_minutes' 'mse' 'nllag' 'prob2vect' Undocumented data sets: 'NHANES_11111' 'actigraphy' 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 ... WARNING Undocumented arguments in Rd file 'import_acti_file.Rd' 'drop_original_activity_cols' Documented arguments not in \usage in Rd file 'import_acti_file.Rd': 'id' Undocumented arguments in Rd file 'screen_wear.Rd' 'date_col' 'time_col' 'activity_col' Functions with \usage entries need to have the appropriate \alias entries, and all their arguments documented. The \usage entries must correspond to syntactically valid R code. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * 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 ... NONE * checking for unstated dependencies in 'tests' ... OK * checking tests ... ERROR Running 'testthat.R' Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(CircaCP) > > test_check("CircaCP") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-all.R:21:3'): all functions ──────────────────────────────────── Error in `import_acti_file(csv, "Date", "Time", "MIMS")`: Needs tibble Backtrace: ▆ 1. └─CircaCP::import_acti_file(csv, "Date", "Time", "MIMS") at test-all.R:21:3 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... ERROR Error(s) in re-building vignettes: --- re-building 'getting-started.Rmd' using rmarkdown Quitting from getting-started.Rmd:29-35 [unnamed-chunk-3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `import_acti_file()`: ! Needs tibble --- Backtrace: ▆ 1. └─CircaCP::import_acti_file(csv, "Date", "Time", "MIMS") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'getting-started.Rmd' failed with diagnostics: Needs tibble --- failed re-building 'getting-started.Rmd' SUMMARY: processing the following file failed: 'getting-started.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... OK * DONE Status: 2 ERRORs, 4 WARNINGs, 3 NOTEs