This will provide you with contribution guidelines. You can contribute in two ways:
devtools::session_info()
)<name>-class.R
where name
is the class name. Use hyphens to separate words in a file name.devtools::document()
and that you use the same version of
roxygen that is documented in the DESCRIPTION
file.NEWS
file that reflects the FIX, CHANGE or NEW functionality. Include any issue numbers that are relevant (e.g. (#XX)
) where XX
is the issue number and your Github handle if you are submitting changes (e.g. @yourname
).DESCRIPTION
file if you aren't already represented thereindevtools::check()
before submitting the PR.Here are a few suggestions for how you can contribute to this package.
A number calendars are pre-canned as part of this package. However, we could always do with more. To do this, you will need to:
<LocationCode>Calendar() <- Calendar("<LocationCode>", "<Olson>/<TimeZone>")
. This function will create an instance of the corresponding Calendar
subclass. See ?Calendar
for further information.is_good()
that dispatches on the Calendar subclass that you have implemented.You can implement new day basis conventions and their corresponding year fraction calculators by:
is_valid_day_basis()
thirty_360()
)year_frac()
making sure that you preserve its vectorised nature.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.