R package for implementing Dave Thoma's water balance spreadsheet model
If the WaterBalance package does not work after R is updated, the user may need to do the following:
Annie Kellner Dillon <anne_dillon@nps.gov>
a. Open the R terminal. Make sure R opens new terminals with Command Prompt. If you see dollar signs ($) in the prompt, you are likely using Git Bash to open terminals. To switch, go to Tools --> Global Options --> Terminal. Where it says "New terminals open with", select "Command Prompt" from the drop-down menu. Apply. (NOTE: you can also execute this workflow from the Command Prompt outside the R session by running the R.exe file).
b. Once you have opened a new terminal in your R session using Command Prompt, change directory to the win-library associated with the current R version.
The "change directory" command is cd ~/path/to/folder
.
c. Enter the following code into the Terminal: R CMD build WaterBalance
d. Open the console (or the Installing_WB_package.R script)
e. Type or execute the following code:
library("devtools")
install("WaterBalance")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.