CRAN Package Check Results for Package latrend

Last updated on 2026-09-11 21:51:06 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.6.3 18.70 340.20 358.90 NOTE
r-devel-linux-x86_64-debian-gcc 1.6.3 13.10 228.36 241.46 NOTE
r-devel-linux-x86_64-fedora-clang 1.6.3 15.00 ERROR
r-devel-linux-x86_64-fedora-gcc 1.6.3 13.00 210.95 223.95 OK
r-devel-windows-x86_64 1.6.3 23.00 344.00 367.00 OK
r-patched-linux-x86_64 1.6.3 28.03 316.19 344.22 OK
r-release-linux-x86_64 1.6.3 17.53 315.61 333.14 OK
r-release-macos-arm64 1.6.3 4.00 96.00 100.00 OK
r-release-macos-x86_64 1.6.3 14.00 433.00 447.00 OK
r-release-windows-x86_64 1.6.3 23.00 360.00 383.00 OK
r-oldrel-macos-arm64 1.6.3 OK
r-oldrel-macos-x86_64 1.6.3 16.00 898.00 914.00 OK
r-oldrel-windows-x86_64 1.6.3 32.00 467.00 499.00 OK

Check Details

Version: 1.6.3
Check: Rd contents
Result: NOTE Rd files without \usage: ‘lcModel-class.Rd’ \arguments should not be documented without \usage. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.6.3
Check: examples
Result: ERROR Running examples in ‘latrend-Ex.R’ failed The error most likely occurred in: > ### Name: lcMethodDtwclust > ### Title: Specify time series clustering via dtwclust > ### Aliases: lcMethodDtwclust > > ### ** Examples > > data(latrendData) > > if (require("dtwclust")) { + method <- lcMethodDtwclust("Y", id = "Id", time = "Time", nClusters = 3) + # reduced sample size to lower runtime + model <- latrend(method, latrendData[1:500, ]) + } Loading required package: dtwclust Loading required package: proxy Attaching package: ‘proxy’ The following objects are masked from ‘package:stats’: as.dist, dist The following object is masked from ‘package:base’: as.matrix Loading required package: dtw Loaded dtw v1.23-3. See ?dtw for help, citation("dtw") for use in publication. dtwclust: Setting random number generator to L'Ecuyer-CMRG (see RNGkind()). To read the included vignettes type: browseVignettes("dtwclust"). See news(package = "dtwclust") after package updates. --------------------------------------------------------------------------- - Longitudinal clustering using: time series clustering with dtw_basic-dissimilarity --------------------------------------------------------------------------- Method arguments: time: "Time" id: "Id" nClusters: 3 type: "partitional" preproc: NULL distance: "dtw_basic" centroid: ifelse(type == "fuzzy", "fcm", "pam") control: do.call(paste0(type, "_control"), list() args: tsclust_args() seed: NULL error.check: TRUE response: "Y" --------------------------------------------------------------------------- Checking and transforming the training data format. Preparing the training data for fitting... Fitting the method... Precomputing distance matrix... Error in initRefFields(.self, .refClassDef, as.environment(.self), list(...)) : could not find function "initRefFields" Calls: latrend ... initialize -> <Anonymous> -> callSuper -> initFields Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.6.3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘demo.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘demo.Rmd’ --- re-building ‘implement.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘implement.Rmd’ --- re-building ‘simulation.Rmd’ using rmarkdown Quitting from simulation.Rmd:179-185 [unnamed-chunk-12] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `initRefFields()`: ! could not find function "initRefFields" --- Backtrace: ▆ 1. └─simTool::eval_tibbles(...) 2. ├─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base::lapply(...) 5. └─simTool (local) FUN(X[[i]], ...) 6. └─simTool (local) sim_fun(fc) 7. └─base::lapply(1:replications, with_data) 8. └─simTool (local) FUN(X[[i]], ...) 9. └─base::lapply(...) 10. └─simTool (local) FUN(X[[i]], ...) 11. ├─simTool (local) post_analyze(f(data, truth), truth) 12. │ └─global f(x) 13. │ └─latrend::model.data(model) 14. └─simTool (local) f(data, truth) 15. ├─base::do.call(fp$fun, fp$para) 16. └─latrend (local) `<fn>`(...) 17. └─latrend:::.fitLatrendMethod(...) 18. ├─latrend (local) suppressFun(...) 19. │ ├─utils::capture.output(suppressMessages(...)) 20. │ │ └─base::withVisible(...elt(i)) 21. │ └─base::suppressMessages(...) 22. │ └─base::withCallingHandlers(...) 23. ├─latrend::fit(...) 24. └─latrend::fit(...) 25. ├─base::do.call(dtwclust::tsclust, args) 26. └─dtwclust (local) `<fn>`(...) 27. └─dtwclust:::pam_distmat(...) 28. └─methods::as(...) 29. └─dtwclust (local) asMethod(object) 30. └─DistmatLowerTriangular$new(distmat = from) 31. └─methods::new(def, ...) 32. ├─methods::initialize(value, ...) 33. └─methods::initialize(value, ...) 34. └─.Object$initialize(...) 35. └─dtwclust (local) callSuper(..., distmat = distmat) 36. └─dtwclust (local) initFields(..., distmat = distmat) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'simulation.Rmd' failed with diagnostics: could not find function "initRefFields" --- failed re-building ‘simulation.Rmd’ SUMMARY: processing the following file failed: ‘simulation.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang