- using R version 4.6.0 (2026-04-24)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
* current time: 2026-04-28 23:47:41 UTC
- checking for file ‘Ternary/DESCRIPTION’ ... OK
- this is package ‘Ternary’ version ‘2.3.6’
- 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 ‘Ternary’ can be installed ... [43s/75s] OK
See the install log for details.
- checking installed package size ... INFO
installed size is 6.4Mb
sub-directories of 1Mb or more:
doc 5.4Mb
- 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 code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [14s/21s] OK
- checking whether the package can be loaded with stated dependencies ... [13s/20s] OK
- checking whether the package can be unloaded cleanly ... [13s/20s] OK
- checking whether the namespace can be loaded with stated dependencies ... [13s/20s] OK
- checking whether the namespace can be unloaded cleanly ... [13s/21s] OK
- checking loading without being on the library search path ... [13s/20s] 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 ... [30s/48s] OK
- checking Rd files ... [1s/1s] 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 ... [0s/0s] 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 ... [13s/20s] ERROR
Running examples in ‘Ternary-Ex.R’ failed
The error most likely occurred in:
> ### Name: Annotate
> ### Title: Annotate points on a ternary plot
> ### Aliases: Annotate
>
> ### ** Examples
>
> # Load some data
> data("Seatbelts")
> seats <- c("drivers", "front", "rear")
> seat <- Seatbelts[month.abb %in% "Oct", seats]
> law <- Seatbelts[month.abb %in% "Oct", "law"]
>
> # Set up plot
> oPar <- par(mar = c(2, 0, 0, 0))
> TernaryPlot(alab = seats[1], blab = seats[2], clab = seats[3])
> TernaryPoints(seat, cex = 0.8, col = 2 + law)
>
> # Annotate points by year
> Annotate(seat, labels = 1969:1984, col = 2 + law)
Error in lapjv(x, max(x)) : object '_TreeDist_lapjv' not found
Calls: Annotate -> LAPJV -> lapjv
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [18s/32s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [17s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library("testthat")
> library("Ternary")
>
> test_check("Ternary")
Saving _problems/test-Annotate-12.R
[ FAIL 1 | WARN 1 | SKIP 10 | PASS 117 ]
══ Skipped tests (10) ══════════════════════════════════════════════════════════
• On CRAN (10): 'test-Contours.R:22:1', 'test-Contours.R:234:1',
'test-Contours.R:243:1', 'test-Holdridge.R:8:1', 'test-axis-rotate.R:1:1',
'test-axis-rotate.R:69:1', 'test-ternary.R:46:1', 'test-ternary.R:70:1',
'test-ternary.R:130:1', 'test-ternary.R:142:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-Annotate.R:12:5'): Annotate() works ────────────────────────────
Error in `lapjv(x, max(x))`: object '_TreeDist_lapjv' not found
Backtrace:
▆
1. └─vdiffr::expect_doppelganger("Annotate-basics", AnnotateBasics) at test-Annotate.R:20:3
2. └─vdiffr (local) writer(fig, testcase, title)
3. ├─vdiffr:::print_plot(plot, title)
4. └─vdiffr:::print_plot.function(plot, title)
5. └─Ternary (local) p()
6. └─Ternary::Annotate(ptsList[1:2], side = 1, outset = 0.2) at test-Annotate.R:12:5
7. └─TreeDist::LAPJV(euclid)
8. └─TreeDist:::lapjv(x, max(x))
[ FAIL 1 | WARN 1 | SKIP 10 | PASS 117 ]
Deleting unused snapshots: 'Annotate/annotate-auto-locate.svg' and
'Annotate/annotate-zoomed.svg'
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [95s/146s] ERROR
Error(s) in re-building vignettes:
--- re-building ‘Holdridge.Rmd’ using rmarkdown
--- finished re-building ‘Holdridge.Rmd’
--- re-building ‘Ternary.Rmd’ using rmarkdown
--- finished re-building ‘Ternary.Rmd’
--- re-building ‘annotation.Rmd’ using rmarkdown
Quitting from annotation.Rmd:36-48 [auto-annotate]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `lapjv()`:
! object '_TreeDist_lapjv' not found
---
Backtrace:
▆
1. └─Ternary::Annotate(points[, 1:3], col = points[, "col"])
2. └─TreeDist::LAPJV(euclid)
3. └─TreeDist:::lapjv(x, max(x))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'annotation.Rmd' failed with diagnostics:
object '_TreeDist_lapjv' not found
--- failed re-building ‘annotation.Rmd’
--- re-building ‘interpolation.Rmd’ using rmarkdown
--- finished re-building ‘interpolation.Rmd’
--- re-building ‘new-users.Rmd’ using rmarkdown
--- finished re-building ‘new-users.Rmd’
SUMMARY: processing the following file failed:
‘annotation.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [10s/14s] OK
- DONE
Status: 3 ERRORs
- using check arguments '--no-clean-on-error '