diff --git a/CODE_OF_CONDUCT.html b/CODE_OF_CONDUCT.html new file mode 100644 index 0000000..a984f9c --- /dev/null +++ b/CODE_OF_CONDUCT.html @@ -0,0 +1,143 @@ + +Contributor Covenant Code of Conduct • rwosstarter + + +
+
+ + + +
+
+ + +
+ +
+

Our Pledge

+

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.

+

We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.

+
+
+

Our Standards

+

Examples of behavior that contributes to a positive environment for our community include:

+
  • Demonstrating empathy and kindness toward other people
  • +
  • Being respectful of differing opinions, viewpoints, and experiences
  • +
  • Giving and gracefully accepting constructive feedback
  • +
  • Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
  • +
  • Focusing on what is best not just for us as individuals, but for the overall community
  • +

Examples of unacceptable behavior include:

+
  • The use of sexualized language or imagery, and sexual attention or advances of any kind
  • +
  • Trolling, insulting or derogatory comments, and personal or political attacks
  • +
  • Public or private harassment
  • +
  • Publishing others’ private information, such as a physical or email address, without their explicit permission
  • +
  • Other conduct which could reasonably be considered inappropriate in a professional setting
  • +
+
+

Enforcement Responsibilities

+

Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.

+

Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.

+
+
+

Scope

+

This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.

+
+
+

Enforcement

+

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at . All complaints will be reviewed and investigated promptly and fairly.

+

All community leaders are obligated to respect the privacy and security of the reporter of any incident.

+
+
+

Enforcement Guidelines

+

Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:

+
+

1. Correction

+

Community Impact: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.

+

Consequence: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.

+
+
+

2. Warning

+

Community Impact: A violation through a single incident or series of actions.

+

Consequence: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.

+
+
+

3. Temporary Ban

+

Community Impact: A serious violation of community standards, including sustained inappropriate behavior.

+

Consequence: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.

+
+
+

4. Permanent Ban

+

Community Impact: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.

+

Consequence: A permanent ban from any sort of public interaction within the community.

+
+
+
+

Attribution

+

This Code of Conduct is adapted from the Contributor Covenant, version 2.1, available at https://www.contributor-covenant.org/version/2/1/code_of_conduct.html.

+

Community Impact Guidelines were inspired by [Mozilla’s code of conduct enforcement ladder][https://github.com/mozilla/inclusion].

+

For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.

+
+
+ +
+ + + +
+ + + +
+ + + + + + + + diff --git a/CONTRIBUTING.html b/CONTRIBUTING.html new file mode 100644 index 0000000..5bd9b3a --- /dev/null +++ b/CONTRIBUTING.html @@ -0,0 +1,228 @@ + +Contributing to rwosstarter • rwosstarter + + +
+
+ + + +
+
+ + +
+ +

First off, thanks for taking the time to contribute!

+

All types of contributions are encouraged and valued. See the Table of contents for different ways to help and details about how this project handles them. Please make sure to read the relevant section before making your contribution. It will make it a lot easier for us maintainers and smooth out the experience for all involved.

+ +
+

Code of conduct

+

This project is released with a Contributor Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to .

+
+
+

Style guide

+

We use the Tidyverse style guide for writing R code. Functions are documented with the roxygen2 syntax. rwosstarter uses the lower_snake_case.

+
+
+

Commit messages

+

If you want to contribute by commiting changes, please try to use the Conventional commits specification.

+
+
+

Asking questions

+

Before you ask a question, it is best to search for existing Issues that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue.

+

If you then still feel the need to ask a question and need clarification, we recommend the following:

+
  • Open a new Issue.
  • +
  • Use the template other_issue.md.
  • +
  • Provide as much context as you can about what you’re running into.
  • +
  • Provide project and platform versions (paste the output of sessionInfo()).
  • +

We will then take care of the issue as soon as possible.

+
+
+

Reporting bugs

+
+

Before submitting a bug report

+

A good bug report shouldn’t leave others needing to chase you up for more information. Therefore, we ask you to investigate carefully, collect information and describe the issue in detail in your report. Please complete the following steps in advance to help us fix any potential bug as fast as possible.

+
  • Make sure that you are using the latest version of rwosstarter.
  • +
  • Determine if your bug is really a bug and not an error on your side.
  • +
  • To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the bug tracker.
  • +
+
+

How do I submit a bug report?

+

We use GitHub Issues to track bugs and errors. If you run into an issue with the project:

+
  • Open a new Issue.
  • +
  • Use the template bug_report.md.
  • +
  • Explain the behavior you would expect and the actual behavior.
  • +
  • Please provide as much context as possible and describe the reproduction steps that someone else can follow to recreate the issue on their own. This usually includes your code with a reproducible example.
  • +

We will then take care of the issue as soon as possible.

+
+
+
+

Requesting features

+
+

Before requesting a feature

+
  • Make sure that you are using the latest version of rwosstarter.
  • +
  • Read the documentation carefully and find out if the functionality is already covered.
  • +
  • Perform a search to see if this enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.
  • +
+
+

How do I submit a feature request?

+

Feature requests are tracked as GitHub Issues.

+
  • Open a new Issue.
  • +
  • Use the template feature_request.md.
  • +
  • Provide a clear and descriptive title for the issue to identify the suggestion.
  • +
  • Provide a step-by-step description of the suggested enhancement in as many details as possible.
  • +
  • Explain why this enhancement would be useful to most rwosstarter users.
  • +

We will then take care of the issue as soon as possible.

+
+
+
+

Contributing code

+
+

General workflow

+

We use the GitHub flow to collaborate on this project:

+
  1. +Fork this repository using the GitHub interface.
  2. +
  3. +Clone your fork using git clone fork-url (replace fork-url by the URL of your fork). Alternatively, open RStudio IDE and create a New Project from Version Control.
  4. +
  5. Create a new branch w/ git checkout -b branch-name (replace branch-name by the name of your new branch).
  6. +
  7. Make your contribution (see below for examples).
  8. +
  9. Stage (git add) and commit (git commit) your changes as often as necessary
  10. +
  11. Push your changes to GitHub w/ git push origin branch-name.
  12. +
  13. Submit a Pull Request on the original repo.
  14. +

We will then review the PR as soon as possible.

+
+
+

Improve documentation

+
+

Editing the README

+

If you want to contribute by improving the README, please edit the README.Rmd (not the README.md). Do not forget to update the README.md by running:

+
+rmarkdown::render("README.Rmd")
+
+
+

Editing vignettes

+

If you want to contribute by editing an existing vignette, just edit the corresponding Rmd file stored in the vignettes/ folder.

+

If you want to contribute by adding a new vignette, create a new Rmd in the vignettes/ folder and add the following header:

+
---
+title: "Vignette Title"
+output: rmarkdown::html_vignette
+vignette: >
+  %\VignetteIndexEntry{Vignette Title}
+  %\VignetteEngine{knitr::rmarkdown}
+  %\VignetteEncoding{UTF-8}
+---
+

If you use a new external dependency, do not forget to add it in the DESCRIPTION file under the section Suggests (only if this package is not already listed under the tag Imports).

+

Check the integrity of the package with:

+
+devtools::check()
+
+
+

Editing function documentation

+

If you want to contribute by improving the documentation of a function, open the corresponding file in the R/ folder and edit lines starting with #' (roxygen2 syntax).

+

Update the documentation (Rd files in the man/ folder) by running:

+
+devtools::document()
+

If you use a new external dependency in the example section, do not forget to add it in the DESCRIPTION file under the section Imports (only if this package is not already listed).

+

Check the integrity of the package with:

+
+devtools::check()
+
+
+
+

Fix bug

+

If you want to contribute by improving the code of a function, open and edit the corresponding file in the R/ folder.

+

Check the integrity of the package with:

+
+devtools::check()
+

Do not forget to adapt the unit tests for the function by editing the corresponding file stored in the tests/testthat/ folder. We use the package testthat to implement unit tests.

+

Check your tests by running:

+
+devtools::test()
+
+
+

New feature

+

If you want to contribute by submitting a new feature, please follow this workflow:

+
  1. Create a new R file in the folder R/.
  2. +
  3. Implement the code of the function.
  4. +
  5. Document your function w/ the roxygen2 syntax.
  6. +
  7. If necessary, add additional dependencies in the DESCRIPTION file.
  8. +
  9. Update the package documentation w/ devtools::document().
  10. +
  11. Create a new R file in the folder tests/testthat/.
  12. +
  13. Implement unit tests for the new function.
  14. +
  15. Check the integrity of the package w/ devtools::check().
  16. +
+
+
+ +
+ + + +
+ + + +
+ + + + + + + + diff --git a/index.html b/index.html index 0d58546..08d1af4 100644 --- a/index.html +++ b/index.html @@ -74,8 +74,19 @@ +
+

Table of contents +

+

+• Overview
Requirements
Installation
Get started
Citation
Contributing
Acknowledgments +

+
+
+

Overview +

The R package rwosstarter is a client to the Web of Science Starter API. It is dedicated to retrieve metadata (including times-cited counts) of scientific publications matching search terms. It can be used to run a literature synthesis.

rwosstarter is freely released by the FRB-CESAB.

+

Requirements

@@ -94,7 +105,7 @@

Installationremotes::install_github("frbcesab/rwosstarter")

-

Overview +

Get started

The general workflow is the following:

-

Code of Conduct +

Contributing +

+

All types of contributions are encouraged and valued. For more information, check out our Contributor Guidelines.

+

Please note that the rwosstarter project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

+
+
+

Acknowledgments

-

Please note that the rwosstarter project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

+

The author of this project would like to thank Clarivate for giving access to the Starter API.

@@ -135,6 +152,13 @@

License

+
+

Community

+ +

Citation

diff --git a/pkgdown.yml b/pkgdown.yml index 9cacfb0..ade9a2b 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -3,5 +3,5 @@ pkgdown: 2.0.7 pkgdown_sha: ~ articles: rwosstarter: rwosstarter.html -last_built: 2023-10-17T11:57Z +last_built: 2023-10-17T12:12Z diff --git a/sitemap.xml b/sitemap.xml index 17c311e..22a2a25 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -3,6 +3,12 @@ /404.html + + /CODE_OF_CONDUCT.html + + + /CONTRIBUTING.html + /LICENSE.html