An R implementation of the biogeochemistry model PnET-CN, with supporting scripts.