R Under development (unstable) (2025-01-06 r87534 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 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. 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. > # 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 > > suppressPackageStartupMessages(library(testthat)) > suppressPackageStartupMessages(library(FSA)) > > # packages used in tests (load here instead of in individual files) > suppressPackageStartupMessages(library(FSAdata)) > suppressPackageStartupMessages(library(fishmethods)) > suppressPackageStartupMessages(library(DescTools)) > suppressPackageStartupMessages(library(dunn.test)) > suppressPackageStartupMessages(library(lmtest)) > suppressPackageStartupMessages(library(nlme)) > suppressPackageStartupMessages(library(psych)) > suppressPackageStartupMessages(library(tibble)) > > # Test the package > test_check("FSA") species units type ref measure method min.len max.len int slope 143 Ruffe metric quadratic 50 TL EmP 55 205 -3.3524 1.3969 144 Ruffe metric quadratic 75 TL EmP 55 205 -2.5800 0.6210 quad source comment 143 0.4054 Ogle and Winfield (2009) none 144 0.6073 Ogle and Winfield (2009) none species units type ref measure method min.len max.len int slope quad 26 Bluegill metric linear 75 TL Other 80 NA -5.374 3.316 NA source comment 26 Hillman (1982) none [ FAIL 0 | WARN 0 | SKIP 0 | PASS 3729 ] > > proc.time() user system elapsed 25.50 2.96 28.45