Inform current users of
baytrends R package on update procedure.
Download the zip file from Google Drive link below.
Depending on the users program environment there are differing methods to install the revised package. Only one of the following methods needs to be employed.
Using RStudio the install is done via the toolbar:
Using the base R GUI the install is done via the toolbar:
When done R should print to the console:
package 'baytrends' successfully unpacked and MD5 sums checked
Commands can be typed in to the R console to update from the internet by retrieving the package from its host location on GitHub (a file sharing platform). This method requires the package
devtools and should only be used by experienced users.
To verify the install of
baytrends type in the commands below into the R console.
This will display all of the help files and version number for the
If get any error messages about needing packages (e.g., with a fresh version of R) will need to install those packages as well.
For example, with a fresh install of R v3.4.3 the following code was necessary to install all of the dependent packages for
baytrends to function properly. New package can be included in the myPkgs vector inside the pararentheses. New packages should be enclosed in quotes and should be preceeded with a comma.
myPkgs <- c("lubridate" , "dataRetrieval" , "digest" , "memoise" , "XML" , "zCompositions" , "pander") lapply(myPkgs, function(x) install.packages(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.