-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Doc] clarify distinction between rwasm::build() and rwasm::add_pkg() #25
Comments
A cheat solution here is simply to setup a personal r-universe, because that will build a WASM version of all your packages (as well as binary packages for several other operating systems and architectures). See |
Sure, that is helpful but it does not make the doc clearer 🙈 Also, r-universe is on a once-every-hour update schedule so being able to test the build process locally is important. |
If you are using
The It is also useful if you are building webR from source, and want to build and bundle additional packages as part of the base installation of webR. Here you would not build a repository, but instead place the built packages in the webR source tree under the If you do not already host an R package repository somewhere, you can use I agree this is not made clear in the docs that you can skip |
I am trying to build an R package for webr but am getting quite confused by the documentation. The docs indicate to use
rwasm::build()
to build a package. Then in order to add the package to repo so that it can be installable, you must userwasm::add_pkg()
which will build the package again and then add it. When would i use rwasm::build() and not rwasm::add_pkg()?Additionally, after using rwasm::build(), how can I make the package installable without having to recompile it again with add_pkg()?
The text was updated successfully, but these errors were encountered: