CRAN Package Check Results for Package socialmixr

Last updated on 2025-12-02 02:50:30 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.0 6.93 88.67 95.60 OK
r-devel-linux-x86_64-debian-gcc 0.4.0 4.64 61.70 66.34 OK
r-devel-linux-x86_64-fedora-clang 0.4.0 16.00 71.68 87.68 ERROR
r-devel-linux-x86_64-fedora-gcc 0.4.0 15.00 135.81 150.81 OK
r-devel-windows-x86_64 0.4.0 11.00 115.00 126.00 OK
r-patched-linux-x86_64 0.4.0 6.94 80.83 87.77 OK
r-release-linux-x86_64 0.4.0 7.40 80.51 87.91 OK
r-release-macos-arm64 0.4.0 OK
r-release-macos-x86_64 0.4.0 6.00 95.00 101.00 OK
r-release-windows-x86_64 0.4.0 9.00 126.00 135.00 OK
r-oldrel-macos-arm64 0.4.0 OK
r-oldrel-macos-x86_64 0.4.0 6.00 83.00 89.00 OK
r-oldrel-windows-x86_64 0.4.0 12.00 136.00 148.00 OK

Check Details

Version: 0.4.0
Check: foreign function calls
Result: NOTE Error: there is no package called ‘xml2’ Call sequence: 10: doWithOneRestart(return(expr), restart) 9: withOneRestart(expr, restarts[[1L]]) 8: withRestarts(stop(cond), retry_loadNamespace = function() NULL) 7: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) 6: asNamespace(ns) 5: namespaceImportFrom(ns, loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]), i[[2L]], from = package) 4: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) 3: asNamespace(ns) 2: namespaceImportFrom(ns, loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]), i[[2L]], from = package) 1: loadNamespace(package, lib.loc) Execution halted See chapter ‘System and foreign language interfaces’ in the ‘Writing R Extensions’ manual. Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4.0
Check: R code for possible problems
Result: NOTE Error: there is no package called ‘xml2’ Call sequence: 10: doWithOneRestart(return(expr), restart) 9: withOneRestart(expr, restarts[[1L]]) 8: withRestarts(stop(cond), retry_loadNamespace = function() NULL) 7: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) 6: asNamespace(ns) 5: namespaceImportFrom(ns, loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]), i[[2L]], from = package) 4: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) 3: asNamespace(ns) 2: namespaceImportFrom(ns, loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]), i[[2L]], from = package) 1: loadNamespace(package, lib.loc) Execution halted Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called ‘xml2’ Calls: <Anonymous> Execution halted Error: there is no package called ‘xml2’ Call sequence: 10: doWithOneRestart(return(expr), restart) 9: withOneRestart(expr, restarts[[1L]]) 8: withRestarts(stop(cond), retry_loadNamespace = function() NULL) 7: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) 6: asNamespace(ns) 5: namespaceImportFrom(ns, loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]), i[[2L]], from = package) 4: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) 3: asNamespace(ns) 2: namespaceImportFrom(ns, loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]), i[[2L]], from = package) 1: loadNamespace(package, lib.loc) Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4.0
Check: for missing documentation entries
Result: WARN Error: package or namespace load failed for ‘socialmixr’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘xml2’ Call sequence: 6: stop(msg, call. = FALSE, domain = NA) 5: value[[3L]](cond) 4: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 3: tryCatchList(expr, classes, parentenv, handlers) 2: tryCatch({ ns <- loadNamespace(package, lib.loc) env <- attachNamespace(ns, pos = pos, deps, exclude, include.only) }, error = function(e) { P <- if (!is.null(cc <- conditionCall(e))) paste(" in", deparse(cc)[1L]) else "" msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), P, conditionMessage(e)) if (logical.return && !quietly) message(paste("Error:", msg), domain = NA) else stop(msg, call. = FALSE, domain = NA) }) 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) Execution halted All user-level objects in a package should have documentation entries. See chapter ‘Writing R documentation files’ in the ‘Writing R Extensions’ manual. Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4.0
Check: for code/documentation mismatches
Result: WARN Error: package or namespace load failed for ‘socialmixr’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘xml2’ Call sequence: 6: stop(msg, call. = FALSE, domain = NA) 5: value[[3L]](cond) 4: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 3: tryCatchList(expr, classes, parentenv, handlers) 2: tryCatch({ ns <- loadNamespace(package, lib.loc) env <- attachNamespace(ns, pos = pos, deps, exclude, include.only) }, error = function(e) { P <- if (!is.null(cc <- conditionCall(e))) paste(" in", deparse(cc)[1L]) else "" msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), P, conditionMessage(e)) if (logical.return && !quietly) message(paste("Error:", msg), domain = NA) else stop(msg, call. = FALSE, domain = NA) }) 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) Execution halted Error: package or namespace load failed for ‘socialmixr’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘xml2’ Call sequence: 6: stop(msg, call. = FALSE, domain = NA) 5: value[[3L]](cond) 4: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 3: tryCatchList(expr, classes, parentenv, handlers) 2: tryCatch({ ns <- loadNamespace(package, lib.loc) env <- attachNamespace(ns, pos = pos, deps, exclude, include.only) }, error = function(e) { P <- if (!is.null(cc <- conditionCall(e))) paste(" in", deparse(cc)[1L]) else "" msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), P, conditionMessage(e)) if (logical.return && !quietly) message(paste("Error:", msg), domain = NA) else stop(msg, call. = FALSE, domain = NA) }) 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) Execution halted Error: package or namespace load failed for ‘socialmixr’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘xml2’ Call sequence: 6: stop(msg, call. = FALSE, domain = NA) 5: value[[3L]](cond) 4: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 3: tryCatchList(expr, classes, parentenv, handlers) 2: tryCatch({ ns <- loadNamespace(package, lib.loc) env <- attachNamespace(ns, pos = pos, deps, exclude, include.only) }, error = function(e) { P <- if (!is.null(cc <- conditionCall(e))) paste(" in", deparse(cc)[1L]) else "" msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), P, conditionMessage(e)) if (logical.return && !quietly) message(paste("Error:", msg), domain = NA) else stop(msg, call. = FALSE, domain = NA) }) 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4.0
Check: Rd \usage sections
Result: NOTE Error: there is no package called ‘xml2’ Call sequence: 10: doWithOneRestart(return(expr), restart) 9: withOneRestart(expr, restarts[[1L]]) 8: withRestarts(stop(cond), retry_loadNamespace = function() NULL) 7: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) 6: asNamespace(ns) 5: namespaceImportFrom(ns, loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]), i[[2L]], from = package) 4: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) 3: asNamespace(ns) 2: namespaceImportFrom(ns, loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]), i[[2L]], from = package) 1: loadNamespace(package, lib.loc) Execution halted The \usage entries for S3 methods should use the \method markup and not their full name. See chapter ‘Writing R documentation files’ in the ‘Writing R Extensions’ manual. Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4.0
Check: examples
Result: ERROR Running examples in ‘socialmixr-Ex.R’ failed The error occurred in: R Under development (unstable) (2025-11-28 r89073) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > pkgname <- "socialmixr" > source(file.path(R.home("share"), "R", "examples-header.R")) > options(warn = 1) > library('socialmixr') Error: package or namespace load failed for ‘socialmixr’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘xml2’ Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ Running the tests in ‘tests/testthat.R’ failed. Complete output: > # nolint start > library(testthat) > library(socialmixr) Error: package or namespace load failed for 'socialmixr' in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called 'xml2' Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘socialmixr.Rmd’ using rmarkdown Quitting from socialmixr.Rmd:17-26 [setup] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! package or namespace load failed for 'socialmixr' in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called 'xml2' --- Backtrace: ▆ 1. └─base::library("socialmixr") 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'socialmixr.Rmd' failed with diagnostics: package or namespace load failed for 'socialmixr' in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called 'xml2' --- failed re-building ‘socialmixr.Rmd’ SUMMARY: processing the following file failed: ‘socialmixr.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang