callr::rcmd_safe_env suppresses the ability
to open a browser window. This is the default execution environment within
callr::r. However, opening a browser is expected
behavior within the learnr package and should not be suppressed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.