neostocks is a real-time dashboard for the Neopets Stock Market, similar to the former NeoDaq.com (RIP).
Clone the repo:
git clone https://github.com/glin/neostocks
cd neostocks/
Install the R package:
# install.packages("devtools")
devtools::install()
Build the UI:
npm install
npm run build
shiny::runApp()
To use custom stock data, set the NEOSTOCKS_DATA_FILE
environment variable:
# .Renviron
NEOSTOCKS_DATA_FILE=/path/to/neostocks.csv
Build the UI for development:
npm run dev
npm run dev:watch # rebuild on changes
Run UI tests:
npm test
npm run test:cover # with coverage
npm run test:watch # rerun on changes
Run R tests:
devtools::test()
MIT