We love pull requests from everyone. By participating in this project, you agree to abide by our code of conduct.
Fork the repository on GitHub to make a copy of the repository on your account. Or use this line in your shell terminal:
git clone git@github.com:your-username/gfplot.git
devtools::check()
to assure nothing else was accidentally broken.Push to your fork and submit a pull request.
At this point you're waiting on us. We like to at least comment on pull requests within a few days (and, typically, one business day). We may suggest some changes or improvements or alternatives.
Some things you can do that will increase the chance that your pull request is accepted:
devtools::check()
.The best resource on developing R packages is http://r-pkgs.had.co.nz/.
Having cloned the repository onto your computer, open R in the gfplot/
directory (if you open the gfplot.Rproj
file in RStudio your working directory will be automatically set) and run:
devtools::install()
which will (re)build and install the package.
When working on the package (e.g. editing functions) use:
devtool::load_all()
which is quicker as it simulates an install but does not put it into your permanent library.
If you've added a new function or edited documentation and then the run
devtool::document()
to rebuild the documentation files.
To also update the online version of the documentation, run
pkgdown::build_site()
To download all the PBS data for specific species (as long as you have access to the SQL servers) use
gfplot::cache_pbs_data("lingcod")
replacing the species with your species of interest.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.