insight
Easy Access to Model Information for Various Model Objects
Description
A tool to provide an easy, intuitive and consistent access to information contained in various R models, like model formulas, model terms, information about random effects, data that was used to fit the model or data from response variables. 'insight' mainly revolves around two types of functions: Functions that find (the names of) information, starting with 'find_', and functions that get the underlying data, starting with 'get_'. The package has a consistent syntax and works with many different model objects, where otherwise functions to access these information are missing.
Downloads
186.8K
Last 30 days
246th
564.4K
Last 90 days
2.2M
Last year
Trend: -5.4% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | ERROR |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (2 non-OK)
tests
Running 'testthat.R' [57s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(insight)
> test_check("insight")
Starting 2 test processes.
> test-find_transformation.R: boundary (singular) fit: see help('isSingular')
> test-gamlss.R: GAMLSS-RS iteration 1: Global Deviance = 365.2328
> test-gamlss.R: GAMLSS-RS iteration 2: Global Deviance = 365.1292
> test-gamlss.R: GAMLSS-RS iteration 3: Global Deviance = 365.1269
> test-gamlss.R: GAMLSS-RS iteration 4: Global Deviance = 365.1268
> test-gamlss.R: GAMLSS-RS iteration 1: Global Deviance = 5779.746
> test-gamlss.R: GAMLSS-RS iteration 2: Global Deviance = 5779.746
> test-gamlss.R: GAMLSS-RS iteration 1: Global Deviance = 703.1164
> test-gamlss.R: GAMLSS-RS iteration 2: Global Deviance = 703.1164
> test-get_model.R: Loading required namespace: GPArotation
> test-get_random.R: boundary (singular) fit: see help('isSingular')
> test-get_variance.R:
Error:
...[truncated]...
ode -1073741819
Backtrace:
▆
1. └─testthat::test_check("insight")
2. └─testthat::test_dir(...)
3. └─testthat:::test_files(...)
4. └─testthat:::test_files_parallel(...)
5. ├─withr::with_dir(...)
6. │ └─base::force(code)
7. ├─testthat::with_reporter(...)
8. │ └─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─testthat:::parallel_event_loop_chunky(queue, reporters, ".")
13. └─queue$poll(Inf)
14. └─base::lapply(...)
15. └─testthat (local) FUN(X[[i]], ...)
16. └─private$handle_error(msg, i)
17. └─cli::cli_abort(...)
18. └─rlang::abort(...)
Execution halted
package dependencies
Package suggested but not available for checking: 'fungible'
Check History
ERROR 12 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 3, 2026
tests
Running 'testthat.R' [57s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(insight)
> test_check("insight")
Starting 2 test processes.
> test-find_transformation.R: boundary (singular) fit: see
...[truncated]...
└─base::lapply(...)
15. └─testthat (local) FUN(X[[i]], ...)
16. └─private$handle_error(msg, i)
17. └─cli::cli_abort(...)
18. └─rlang::abort(...)
Execution halted
package dependencies
Package suggested but not available for checking: 'fungible'
NOTE 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 30, 2026
package dependencies
Package suggested but not available for checking: 'fungible'
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 24, 2026
package dependencies
Package suggested but not available for checking: 'fungible'
NOTE 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
package dependencies
Package suggested but not available for checking: 'fungible'