Reproducible Finance with R: Code Flows and Shiny Apps for Portfolio Analysis