- using R version 4.2.0 (2022-04-22)
- using platform: x86_64-apple-darwin17.0 (64-bit)
- using session charset: UTF-8
- checking for file ‘clustra/DESCRIPTION’ ... OK
- this is package ‘clustra’ version ‘0.2.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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘clustra’ can be installed ... [4s/4s] OK
See the install log for details.
- 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 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 ... [3s/3s] OK
- checking Rd files ... [0s/0s] 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 ... 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 ... [0s/0s] ERROR
Running examples in ‘clustra-Ex.R’ failed
The error most likely occurred in:
> ### Name: clustra
> ### Title: Cluster longitudinal trajectories over time
> ### Aliases: clustra
>
> ### ** Examples
>
> set.seed(13)
> data = gen_traj_data(n_id = c(50, 100), types = c(1, 2),
+ intercepts = c(100, 80), m_obs = 20,
+ s_range = c(-365, -14), e_range = c(0.5*365, 2*365))
> cl = clustra(data, k = 2, maxdf = 20, conv = c(5, 0), verbose = TRUE)
Start counts 76 74 Error in as.POSIXct.numeric(time1) : 'origin' must be supplied
Calls: clustra ... deltime -> difftime -> as.POSIXct -> as.POSIXct.numeric
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking running R code from vignettes ... [1s/1s] NONE
‘clustra_bp_vignette.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘clustra_vignette.Rmd’ using ‘UTF-8’... [0s/0s] OK
- checking re-building of vignette outputs ... [3s/3s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘clustra_bp_vignette.Rmd’ using rmarkdown
Quitting from lines 85-87 [run5] (clustra_bp_vignette.Rmd)
Error: processing vignette 'clustra_bp_vignette.Rmd' failed with diagnostics:
'origin' must be supplied
--- failed re-building ‘clustra_bp_vignette.Rmd’
--- re-building ‘clustra_vignette.Rmd’ using rmarkdown
Quitting from lines 47-50 [clustra4] (clustra_vignette.Rmd)
Error: processing vignette 'clustra_vignette.Rmd' failed with diagnostics:
'origin' must be supplied
--- failed re-building ‘clustra_vignette.Rmd’
SUMMARY: processing the following files failed:
‘clustra_bp_vignette.Rmd’ ‘clustra_vignette.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... OK
- DONE
Status: 2 ERRORs
- using check arguments '--no-clean-on-error '