CONTRIBUTING.md

Contributing

We love pull requests from everyone. By participating in this project, you agree to abide by our code of conduct.

Getting Started

Making changes

Submitting your changes

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:

Building the package

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.



pbs-assess/gfplot documentation built on April 3, 2024, 2:10 p.m.