R Under development (unstable) (2025-06-24 r88352 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 > > library(testthat) > library(riskdiff) > > test_check("riskdiff") Boundary detection results: Boundary detected: FALSE Boundary type: none Probability range: [0.27, 0.95] Extreme fitted probabilities detected Boundary detection results: Boundary detected: TRUE Boundary type: both_boundaries_with_separation Probability range: [0, 1] Separation detected: TRUE Boundary detection results: Boundary detected: TRUE Boundary type: lower_boundary_near Probability range: [0, 0.009259] Boundary detection behavior summary: high_risk : detected none perfect_separation : detected both_boundaries_with_separation very_low_risk : detected lower_boundary_near Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Enhanced test suite for calc_risk_diff completed successfully! Tests include: ✓Basic functionality with standard and Cachar-inspired data ✓Tobacco/areca nut combination exposures (tobacco_areca_both) ✓Multiple stratification and adjustment scenarios ✓Model convergence challenges and robustness ✓Missing data handling ✓Confidence interval validation paste0(.safe_check()), Integration with package datasets paste0(.safe_check()), Performance testing with larger datasets Total test scenarios: ~40 comprehensive test cases Waiting for profiling to be done... Waiting for profiling to be done... Sample size: 1000 Trying identity link... Using starting values: 0.194, 0.008 Boundary detection results: Boundary detected: FALSE Boundary type: none Probability range: [0.194175, 0.202062] ✓identity link converged Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... Waiting for profiling to be done... [ FAIL 0 | WARN 106 | SKIP 0 | PASS 236 ] [ FAIL 0 | WARN 106 | SKIP 0 | PASS 236 ] > > proc.time() user system elapsed 14.67 3.01 17.78