Please contribute! We love collaboration.
Submit an issue on the issues page
I would prefer some discussion before an unsolicited code contribution, i.e., pull request.
This ensures that your effort is not wasted and that we’re aligned on how to improve the hkdatasets package.
This is especially true if your proposed contribution does not match a currently open issue.
If that’s the case, please open new issue(s) to have the discussion there, prior to submitting code.
If your proposed contribution addresses multiple issues, it should ideally be broken into multiple pull requests. This will make it easier for me to review and approve.
git fetch upstream
then merge later or git pull upstream
to fetch and merge in one stepRProj
file, and ensure that your current working directory is set to the directory of the package repository..dev/script
and any raw data in .dev/data
.usethis::use_data()
, passing the unquoted object to save in the argument. If this runs successfully, a .rda
file should be set up in the package repository. You will be asked to document your dataset. If you are unsure how to do this, please refer to https://r-pkgs.org/data.html.R
directory with the same name as your dataset. Use one of the existing R files as a template for the documentation.roxygen2::roxygenise()
. This will create the documentation files and notify you of any errors.devtools::check()
. This will run R CMD
checks to ensure that the package can be built properly.devtools::install()
to install the package on your local machine. You can also commit your changes and push to the repository once you are happy.