From George Stagg:
In Shinylive, there is some startup code to search for dependencies in an app and automatically install them before the app has loaded. With this, users do not need to know about webr::install(). However, the code does not take into account downloading from alternative repositories. I have opened an issue about it here: posit-dev/shinylive#125.
For the moment, while far from ideal, there should be a workaround in removing the automatically installed version of shinyMobile before running webr::install():
webr::unmount("/usr/lib/R/library/shinyMobile")
webr::install(
"shinyMobile",
repos = c("https://rinterface.github.io/rinterface-wasm-cran/", "https://repo.r-wasm.org")
)
See example.