-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More documentation checks as requested in #2
- Check for README.md - Check for NEWS.md - Check if Roxygen document is rendered - Check if README.Rmd is rendered (if it exists)
- Loading branch information
Showing
7 changed files
with
163 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
^.dockerignore$ | ||
^entrypoint.sh$ | ||
^.github$ | ||
^README\.Rmd$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# checklist 0.1.1 | ||
|
||
* Added a `NEWS.md` file to track changes to the package. | ||
* Rework `checklist_template()` into `write_checklist()`. | ||
* Add `check_description()`. | ||
* Add `check_documentation()`. | ||
* Activate GitHub action `inbo/check_package`. | ||
|
||
# checklist 0.1.0 | ||
|
||
* Initital version. | ||
* Create `checklist` R6 class. | ||
* Add `check_cran()`. | ||
* Add `check_lintr()`. | ||
* Add `check_package()`. | ||
* Add `read_checklist()`. | ||
* Add `checklist_template()`. | ||
* Add Dockerimage for GitHub actions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
--- | ||
output: github_document | ||
--- | ||
|
||
<!-- README.md is generated from README.Rmd. Please edit that file --> | ||
|
||
```{r setup, include = FALSE} | ||
knitr::opts_chunk$set( | ||
collapse = TRUE, | ||
comment = "#>", | ||
fig.path = "man/figures/README-", | ||
out.width = "100%" | ||
) | ||
``` | ||
|
||
# checklist | ||
|
||
<!-- badges: start --> | ||
<!-- badges: end --> | ||
|
||
The goal of `checklist` is to provide an elaborate and strict set of checks for R packages and R code. | ||
|
||
## Installation | ||
|
||
You can install the development version from [GitHub](https://github.com/) with: | ||
|
||
``` r | ||
# install.packages("remotes") | ||
remotes::install_github("inbo/checklist") | ||
``` | ||
|
||
## Examples | ||
|
||
You can run the full list of checks | ||
|
||
```{r example-full, eval = FALSE} | ||
library(checklist) | ||
check_package() | ||
``` | ||
|
||
Or run the individual checks | ||
|
||
```{r example-detail, eval = FALSE} | ||
check_cran() | ||
check_lintr() | ||
check_description() | ||
check_documentation() | ||
``` | ||
|
||
|
||
Create a `checklist.yml` to allow some of warnings or notes. | ||
|
||
```{r example-checklist, eval = FALSE} | ||
write_checklist() | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
|
||
<!-- README.md is generated from README.Rmd. Please edit that file --> | ||
|
||
# checklist | ||
|
||
<!-- badges: start --> | ||
|
||
<!-- badges: end --> | ||
|
||
The goal of `checklist` is to provide an elaborate and strict set of | ||
checks for R packages and R code. | ||
|
||
## Installation | ||
|
||
You can install the development version from | ||
[GitHub](https://github.com/) with: | ||
|
||
``` r | ||
# install.packages("remotes") | ||
remotes::install_github("inbo/checklist") | ||
``` | ||
|
||
## Examples | ||
|
||
You can run the full list of checks | ||
|
||
``` r | ||
library(checklist) | ||
check_package() | ||
``` | ||
|
||
Or run the individual checks | ||
|
||
``` r | ||
check_cran() | ||
check_lintr() | ||
check_description() | ||
check_documentation() | ||
``` | ||
|
||
Create a `checklist.yml` to allow some of warnings or notes. | ||
|
||
``` r | ||
write_checklist() | ||
``` |