* using log directory ‘/Users/ripley/R/packages/tests-devel/lookout.Rcheck’ * using R Under development (unstable) (2026-07-16 r90262) * using platform: aarch64-apple-darwin25.5.0 * R was compiled by Apple clang version 21.0.0 (clang-2100.1.1.101) GNU Fortran (GCC) 14.2.0 * running under: macOS Tahoe 26.5.2 * using session charset: UTF-8 * current time: 2026-07-16 13:17:22 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘lookout/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘lookout’ version ‘2.0.1’ * 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 ‘lookout’ can be installed ... OK * checking installed package size ... OK * checking package 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 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 ... OK * 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 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 examples ... ERROR Running examples in ‘lookout-Ex.R’ failed The error most likely occurred in: > ### Name: autoplot.lookoutliers > ### Title: Plots outliers identified by lookout algorithm. > ### Aliases: autoplot.lookoutliers > > ### ** Examples > > X <- rbind( + data.frame( + x = rnorm(500), + y = rnorm(500) + ), + data.frame( + x = rnorm(5, mean = 10, sd = 0.2), + y = rnorm(5, mean = 10, sd = 0.2) + ) + ) > lo <- lookout(X) Error in mlpack::emst(X)$output : $ operator is invalid for atomic vectors Calls: lookout -> find_tda_bw Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR 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(lookout) > > test_check("lookout") Saving _problems/test-lookout-11.R Saving _problems/test-lookout-30.R Saving _problems/test-lookout-38.R Saving _problems/test-lookout-47.R Saving _problems/test-lookout-53.R Saving _problems/test-lookout-59.R Saving _problems/test-lookout-65.R Saving _problems/test-lookout-75.R Saving _problems/test-lookout-81.R Saving _problems/test-lookout-86.R Saving _problems/test-lookout-91.R Saving _problems/test-lookout-114.R Saving _problems/test-lookout-121.R Saving _problems/test-lookout-127.R Saving _problems/test-lookout-134.R [ FAIL 15 | WARN 0 | SKIP 0 | PASS 17 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-lookout.R:11:3'): lookout returns correct structure ──────────── Error in `mlpack::emst(X)$output`: $ operator is invalid for atomic vectors Backtrace: ▆ 1. └─lookout::lookout(X_clean) at test-lookout.R:11:3 2. └─lookout::find_tda_bw(X, fast = fast, gamma, use_differences = old_version) ── Error ('test-lookout.R:30:3'): lookout detects obvious outliers ───────────── Error in `mlpack::emst(X)$output`: $ operator is invalid for atomic vectors Backtrace: ▆ 1. └─lookout::lookout(X_outliers) at test-lookout.R:30:3 2. └─lookout::find_tda_bw(X, fast = fast, gamma, use_differences = old_version) ── Error ('test-lookout.R:38:3'): lookout output lengths are consistent with input ── Error in `mlpack::emst(X)$output`: $ operator is invalid for atomic vectors Backtrace: ▆ 1. └─lookout::lookout(X_clean) at test-lookout.R:38:3 2. └─lookout::find_tda_bw(X, fast = fast, gamma, use_differences = old_version) ── Error ('test-lookout.R:47:3'): lookout probabilities are in [0, 1] ────────── Error in `mlpack::emst(X)$output`: $ operator is invalid for atomic vectors Backtrace: ▆ 1. └─lookout::lookout(X_clean) at test-lookout.R:47:3 2. └─lookout::find_tda_bw(X, fast = fast, gamma, use_differences = old_version) ── Error ('test-lookout.R:53:3'): lookout scores are in [0, 1] ───────────────── Error in `mlpack::emst(X)$output`: $ operator is invalid for atomic vectors Backtrace: ▆ 1. └─lookout::lookout(X_clean) at test-lookout.R:53:3 2. └─lookout::find_tda_bw(X, fast = fast, gamma, use_differences = old_version) ── Error ('test-lookout.R:59:3'): lookout kde values are non-negative ────────── Error in `mlpack::emst(X)$output`: $ operator is invalid for atomic vectors Backtrace: ▆ 1. └─lookout::lookout(X_clean) at test-lookout.R:59:3 2. └─lookout::find_tda_bw(X, fast = fast, gamma, use_differences = old_version) ── Error ('test-lookout.R:65:3'): lookout accepts matrix input ───────────────── Error in `mlpack::emst(X)$output`: $ operator is invalid for atomic vectors Backtrace: ▆ 1. └─lookout::lookout(as.matrix(X_clean)) at test-lookout.R:65:3 2. └─lookout::find_tda_bw(X, fast = fast, gamma, use_differences = old_version) ── Error ('test-lookout.R:75:3'): lookout respects alpha threshold ───────────── Error in `mlpack::emst(X)$output`: $ operator is invalid for atomic vectors Backtrace: ▆ 1. └─lookout::lookout(X_outliers, alpha = 1e-06) at test-lookout.R:75:3 2. └─lookout::find_tda_bw(X, fast = fast, gamma, use_differences = old_version) ── Error ('test-lookout.R:81:3'): lookout old_version works ──────────────────── Error in `mlpack::emst(X)$output`: $ operator is invalid for atomic vectors Backtrace: ▆ 1. └─lookout::lookout(X_clean, old_version = TRUE) at test-lookout.R:81:3 2. └─lookout::find_tda_bw(X, fast = fast, gamma, use_differences = old_version) ── Error ('test-lookout.R:86:3'): lookout scale = FALSE works ────────────────── Error in `mlpack::emst(X)$output`: $ operator is invalid for atomic vectors Backtrace: ▆ 1. └─lookout::lookout(X_clean, scale = FALSE) at test-lookout.R:86:3 2. └─lookout::find_tda_bw(X, fast = fast, gamma, use_differences = old_version) ── Error ('test-lookout.R:91:3'): lookout with pre-supplied gpd parameters works ── Error in `mlpack::emst(X)$output`: $ operator is invalid for atomic vectors Backtrace: ▆ 1. └─lookout::lookout(X_clean) at test-lookout.R:91:3 2. └─lookout::find_tda_bw(X, fast = fast, gamma, use_differences = old_version) ── Error ('test-lookout.R:114:3'): lookout works with univariate input ───────── Error in `mlpack::emst(X)$output`: $ operator is invalid for atomic vectors Backtrace: ▆ 1. └─lookout::lookout(X1d) at test-lookout.R:114:3 2. └─lookout::find_tda_bw(X, fast = fast, gamma, use_differences = old_version) ── Error ('test-lookout.R:121:3'): find_tda_bw returns a positive scalar ─────── Error in `mlpack::emst(X)$output`: $ operator is invalid for atomic vectors Backtrace: ▆ 1. └─lookout::find_tda_bw(X_clean, fast = TRUE) at test-lookout.R:121:3 ── Error ('test-lookout.R:127:3'): find_tda_bw fast and slow give similar results ── Error in `mlpack::emst(X)$output`: $ operator is invalid for atomic vectors Backtrace: ▆ 1. └─lookout::find_tda_bw(X_clean, fast = TRUE) at test-lookout.R:127:3 ── Error ('test-lookout.R:134:3'): find_tda_bw use_differences = TRUE works ──── Error in `mlpack::emst(X)$output`: $ operator is invalid for atomic vectors Backtrace: ▆ 1. └─lookout::find_tda_bw(X_clean, fast = TRUE, use_differences = TRUE) at test-lookout.R:134:3 [ FAIL 15 | WARN 0 | SKIP 0 | PASS 17 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs See ‘/Users/ripley/R/packages/tests-devel/lookout.Rcheck/00check.log’ for details. 26.75 real 19.87 user 4.93 sys