Please do not open an issue to ask a question about how to use the package. Instead, ask your question on Stack Overflow or the R-SIG-Finance mailing list (you must subscribe to post).
sessionInfo()
master
will not be accepted, because
they can make it difficult for you to update your fork if your pull request
isn't incorporated verbatim.git rebase -i
and
squash the commits on your feature branch into one commit before creating
the pull request. Please use git commit --amend
to amend your commit if
you are asked to make changes. It's okay to force update your pull request
with git push --force
.Follow the The Seven Rules of How to Write a Git Commit Message. Pay particular attention to rule 7: Use the body to explain what and why versus how. The body should also include the motivation for the change and how it compares to prior behavior.
If the commit is to fix a bug or add a feature, the commit message should contain enough information to understand the bug/feature without having to reference an external tracker (e.g. GitHub issues). But please do reference the GitHub issue on the last line of your commit message body. For example, here is a great xts commit message from Joshua Ulrich's powerful xts package:
Correct endpoints when index is before the epoch
The endpoints C code casts the double index to long, which truncates
it toward zero. This behavior is desired when the index is positive,
because it moves the endpoint *back* in time. But when the index is
negative, truncating toward zero moves the endpoint *forward* in time.
This is also an issue if the index value is stored as integer, since the
C99 specification states that integer division truncates toward zero.
If the first index value is less than zero, branch into a special case
to handle pre-epoch index values. This avoids performance degradation
if all index values are after the epoch.
If the index value is less than zero, simply add 1 to offset the
truncation toward zero. We also need to furthre adjust the potential
endpoint value if the index is exactly equal to zero.
Fixes #144.
Special thanks to @joshuaulrich for letting us piggy-back on most of his contribution guidelines.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.