tests/testthat/_problems/test-mle-264.R

# Extracted from test-mle.R:264

# setup ------------------------------------------------------------------------
library(testthat)
test_env <- simulate_test_env(package = "triangle", path = "..")
attach(test_env, warn.conflicts = FALSE)

# test -------------------------------------------------------------------------
mom1 <- triangle_mom(xtest_small, type = 1)

Try the triangle package in your browser

Any scripts or data that you put into this service are public.

triangle documentation built on April 27, 2026, 9:07 a.m.