inst/tinytest/test_randint.R

library(reformulas)
f <- ~ 1 + a  + b + (a | f) + (1 + a | g) + (a + b | h ) + (1 + a + b | i)
expect_equal(randint(f),
             ~1 + a + b + (1 | f) + (1 | g) + (1 | h) + (1 | i))

Try the reformulas package in your browser

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

reformulas documentation built on Dec. 17, 2025, 9:07 a.m.