Skip to content

tla-org/poweranalyses

Repository files navigation

poweranalyses.org

Statistical power analyses in the browser via R's nmath library and WebAssembly.

License

The favicon is obtained from Flaticon (https://www.flaticon.com/free-icon/statistics_4064965).

Developer notes

Going via emscripten because we link a C library.

A big thanks to rustwasm/team#291 (comment) for writing down how to build a C library to WebAssembly via Rust.

For local development, checkout the justfile.

To see the changes live, run

$ just serve

To only build the site, run

$ just build

To run the backend tests (Rust), run

$ cargo test

Or use cargo watch to run the tests automatically when you make changes.

$ cargo watch -x "test"