R Under development (unstable) (2026-09-29 r90594) -- "Unsuffered Consequences" Copyright (C) 2026 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 <- "deadwood" > source(file.path(R.home("share"), "R", "examples-header.R")) > options(warn = 1) > library('deadwood') > > base::assign(".oldSearch", base::search(), pos = 'CheckExEnv') > base::assign(".old_wd", base::getwd(), pos = 'CheckExEnv') > cleanEx() > nameEx("deadwood") > ### * deadwood > > flush(stderr()); flush(stdout()) > > ### Name: deadwood > ### Title: Deadwood: Outlier Detection via Pruning Mutual Reachability > ### Minimum Spanning Trees > ### Aliases: deadwood deadwood.default deadwood.dist deadwood.mstclust > ### deadwood.mst > > ### ** Examples > > library("datasets") > data("iris") > X <- jitter(as.matrix(iris[1:2])) # some data > is_outlier <- deadwood(X, M=5) c_deadwood.h:260:29: runtime error: load of value 190, which is not a valid value for type 'bool' #0 0x7bce3ea05a02 in CDeadwood::process() /data/localhost/ripley/R/packages/tests-gcc-SAN/deadwood/src/c_deadwood.h:260 #1 0x7bce3ea05a02 in long Cdeadwood(double const*, long const*, long, long, double, double, long, long, long, double, long*, double*, long*, long const*, long const*) /data/localhost/ripley/R/packages/tests-gcc-SAN/deadwood/src/c_deadwood.h:420 #2 0x7bce3ea05a02 in dot_deadwood(Rcpp::Matrix<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>, int, double, double, double, int, bool) /data/localhost/ripley/R/packages/tests-gcc-SAN/deadwood/src/RcppDeadwood.cpp:106 #3 0x7bce3ea9aca4 in _deadwood_dot_deadwood /data/localhost/ripley/R/packages/tests-gcc-SAN/deadwood/src/RcppExports.cpp:40 #4 0x00000075d122 in R_doDotCall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:780 #5 0x000000901477 in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8704 #6 0x0000008d882b in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #7 0x000000878a5a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #8 0x00000088f26a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #9 0x000000892f6d in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #10 0x000000abceb6 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #11 0x000000abceb6 in applyMethod /data/localhost/ripley/R/svn/R-devel/src/main/objects.c:120 #12 0x000000ac0993 in dispatchMethod /data/localhost/ripley/R/svn/R-devel/src/main/objects.c:473 #13 0x000000ac2b40 in Rf_usemethod.isra.0 /data/localhost/ripley/R/svn/R-devel/src/main/objects.c:523 #14 0x000000ac3703 in do_usemethod /data/localhost/ripley/R/svn/R-devel/src/main/objects.c:579 #15 0x0000008f768c in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8170 #16 0x0000008d882b in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533 #17 0x000000878a5a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #18 0x00000088f26a in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398 #19 0x000000892f6d in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314 #20 0x000000879108 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333 #21 0x000000879108 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #22 0x0000008a7aae in do_set /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3585 #23 0x000000879536 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #24 0x000000a219f8 in Rf_ReplIteration /data/localhost/ripley/R/svn/R-devel/src/main/main.c:264 #25 0x000000a219f8 in R_ReplConsole /data/localhost/ripley/R/svn/R-devel/src/main/main.c:319 #26 0x000000a3f6ba in run_Rmainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1239 #27 0x000000a3f752 in Rf_mainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1246 #28 0x0000004120cf in main /data/localhost/ripley/R/svn/R-devel/src/main/Rmain.c:29 #29 0x7fce4aa0a680 in __libc_start_call_main (/lib64/libc.so.6+0x3680) (BuildId: 5bd941be836f538fe5e10eff508f7f5dd94905a6) #30 0x7fce4aa0a797 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3797) (BuildId: 5bd941be836f538fe5e10eff508f7f5dd94905a6) #31 0x000000412a94 in _start (/data/localhost/ripley/R/gcc-SAN3/bin/exec/R+0x412a94) (BuildId: 8fe5ed9a0634369a75ce6a0483b4f656c92f0c5c) > plot(X, col=c("#ff000066", "#55555555")[is_outlier+1], + pch=c(16, 1)[is_outlier+1], asp=1, las=1) > > > > > cleanEx() > nameEx("mst") > ### * mst > > flush(stderr()); flush(stdout()) > > ### Name: mst > ### Title: Euclidean and Mutual Reachability Minimum Spanning Trees > ### Aliases: mst mst.default mst.dist > > ### ** Examples > > library("datasets") > data("iris") > X <- jitter(as.matrix(iris[1:2])) # some data > T <- mst(X) > plot(X, asp=1, las=1) > segments(X[T[, 1], 1], X[T[, 1], 2], + X[T[, 2], 1], X[T[, 2], 2]) > > > > > ### *