Skip to content

Commit

Permalink
Merge pull request #71 from inbo/lintr
Browse files Browse the repository at this point in the history
fix last minute change of lintr URLs
  • Loading branch information
ThierryO authored Nov 30, 2021
2 parents 5d06f16 + d4efa6b commit c056c5a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": ["checklist: A Thorough and Strict Set of Checks for R Packages and Source Code"],
"version": ["0.2.1"],
"version": ["0.2.2"],
"description": ["An opinated set of rules for R packages and R source code projects."],
"creators": [
{
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ contact:
- email: [email protected]
name: Research Institute for Nature and Forest
title: 'checklist: A Thorough and Strict Set of Checks for R Packages and Source Code'
version: 0.2.1
version: 0.2.2
abstract: An opinated set of rules for R packages and R source code projects.
license: GPL-3.0
type: software
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: checklist
Title: A Thorough and Strict Set of Checks for R Packages and Source Code
Version: 0.2.1
Version: 0.2.2
Authors@R: c(
person("Thierry", "Onkelinx", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-8804-4216")),
Expand Down
8 changes: 7 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# checklist 0.2.2

## Bugfix

* Update URLS to [`lintr`](https://github.com/r-lib/lintr).

# checklist 0.2.1

## Bugfix
Expand All @@ -12,7 +18,7 @@
## Bugfix

* `update_package()` escapes double quotes in the abstract of `inst/CITATION`.
* Docker image uses the development version of [`lintr`](https://github.com/jimhester/lintr)
* Docker image uses the development version of [`lintr`](https://github.com/r-lib/lintr)
* `check_source()` handles projects with [`renv`](https://rstudio.github.io/renv/) on GitHub Actions.

# checklist 0.1.14
Expand Down
4 changes: 2 additions & 2 deletions inst/CITATION
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ citHeader("To cite `checklist` in publications please use:")
# begin checklist entry
citEntry(
entry = "Manual",
title = "checklist: A Thorough and Strict Set of Checks for R Packages and Source Code. Version 0.2.1",
title = "checklist: A Thorough and Strict Set of Checks for R Packages and Source Code. Version 0.2.2",
author = c(person(given = "Thierry", family = "Onkelinx")),
year = 2021,
url = "https://inbo.github.io/checklist/",
abstract = "An opinated set of rules for R packages and R source code projects.",
textVersion = "Onkelinx, Thierry (2021) checklist: A Thorough and Strict Set of Checks for R Packages and Source Code. Version 0.2.1. https://inbo.github.io/checklist/, https://github.com/inbo/checklist, https://doi.org/10.5281/zenodo.4028303",
textVersion = "Onkelinx, Thierry (2021) checklist: A Thorough and Strict Set of Checks for R Packages and Source Code. Version 0.2.2. https://inbo.github.io/checklist/, https://github.com/inbo/checklist, https://doi.org/10.5281/zenodo.4028303",
doi = "10.5281/zenodo.4028303",
)
# end checklist entry
2 changes: 1 addition & 1 deletion vignettes/philosophy.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The most visible part of a coding style is the naming convention.
People use many different styles of naming conventions within the R ecosystem [@Baath2012].
Popular ones are `alllowercase`, `period.separated`, `underscore_separated`, `lowerCamelCase` and `UpperCamelCase`.
We picked `underscore_separated` because that is the naming convention of the [`tidyverse`](https://www.tidyverse.org) packages.
It is also the default setting in the [`lintr`](https://github.com/jimhester/lintr/blob/master/README.md) package which we use to do the [static code analysis](https://en.wikipedia.org/wiki/Static_program_analysis).
It is also the default setting in the [`lintr`](https://github.com/r-lib/lintr/blob/master/README.md) package which we use to do the [static code analysis](https://en.wikipedia.org/wiki/Static_program_analysis).

At first this seems a lot to memorise.
RStudio makes things easier when you activate all diagnostic options (_Tools_ > _Global options_ > _Code_ > _Diagnostics_).
Expand Down

0 comments on commit c056c5a

Please sign in to comment.