insightsengineering / teal.slice

Reproducible slice module for teal applications
https://insightsengineering.github.io/teal.slice/
Other
11 stars 5 forks source link

adds `\donttest{}` tag in examples with {MAE} #555

Closed averissimo closed 5 months ago

averissimo commented 5 months ago

Pull Request

(from CRAN) ... Lengthy examples (> 5 sec), can be wrapped in \donttest{}. ...

Partially fixes #554

Remaining examples will be addressed by #550

Changes description

chlebowa commented 5 months ago

Can @examplesIf be put under \donttest?

averissimo commented 5 months ago

Nop, I tested it before and again just now

image

averissimo commented 5 months ago

And I couldn't find an elegant way of doing this.

For instance rlang::is_installed(...) also takes "equal" time.

Maybe we can improve on this later on. If not, when breaking up the pkg in 2 will sort of solve this.