Passive investing when you have many years before retirement means you worry about long term trends rather than short term risks.
Whereas (more seriously) investing in "more stable" things like bonds forces you to pay a premium, because every man and his dog has desperately been chasing stability, safety, yield, etc since 2008, in many cases using quantitatively eased money to do so.
All the code is in the same repository as R Markdown.