generated from epiverse-trace/packagetemplate
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* All comments for general changes have been implemented. * Automatic readme update --------- Co-authored-by: GitHub Action <[email protected]>
- Loading branch information
1 parent
2c01cb2
commit ff9c60f
Showing
10 changed files
with
82 additions
and
72 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,6 +5,7 @@ | |
^codecov\.yml$ | ||
^_pkgdown\.yml$ | ||
^docs$ | ||
^pkgdown$ | ||
^\.lintr$ | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ | ||
|
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 |
---|---|---|
@@ -1,20 +1,38 @@ | ||
linters: linters_with_tags( | ||
tags = NULL, # include all linters | ||
linters: all_linters( | ||
packages = c("lintr", "etdev"), | ||
object_name_linter = NULL, | ||
undesirable_function_linter = NULL, | ||
implicit_integer_linter = NULL, | ||
extraction_operator_linter = NULL, | ||
todo_comment_linter = NULL, | ||
library_call_linter = NULL, | ||
undesirable_function_linter( | ||
modify_defaults( | ||
default_undesirable_functions, | ||
citEntry = "use the more modern bibentry() function", | ||
library = NULL # too many false positive in too many files | ||
) | ||
), | ||
function_argument_linter = NULL, | ||
indentation_linter = NULL, # unstable as of lintr 3.1.0 | ||
# Use minimum R declared in DESCRIPTION or fall back to current R version. | ||
# Install etdev package from https://github.com/epiverse-trace/etdev | ||
backport_linter(if (length(x <- etdev::extract_min_r_version())) x else getRversion()) | ||
) | ||
exclusions: list( | ||
"tests/testthat.R" = list(unused_import_linter = Inf), | ||
"tests/testthat.R" = list( | ||
unused_import_linter = Inf | ||
), | ||
"tests" = list( | ||
undesirable_function_linter = Inf | ||
), | ||
"data-raw" = list( | ||
missing_package_linter = Inf, | ||
namespace_linter = Inf | ||
) | ||
) | ||
), | ||
# RcppExports.R is auto-generated and will not pass many linters. In | ||
# particular, it can create very long lines. | ||
"R/RcppExports.R", | ||
# R/stanmodels.R is auto-generated and will not pass many linters. In | ||
# particular, it uses `sapply()`. | ||
"R/stanmodels.R" | ||
) |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
YEAR: 2023 | ||
YEAR: 2024 | ||
COPYRIGHT HOLDER: ColOpenData authors |
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 |
---|---|---|
@@ -1,5 +1,11 @@ | ||
# 0.1.0 | ||
# 0.2.0 | ||
|
||
* This project now includes a | ||
[`NEWS.md`](https://r-pkgs.org/other-markdown.html#sec-news) file to inform | ||
users about changes and new features. | ||
This project now includes a [`NEWS.md`](https://r-pkgs.org/other-markdown.html#sec-news) file to inform users about changes and new features. | ||
|
||
## New Features | ||
|
||
- **Data Categories:** ColOpenData now includes four data categories: demographic, geospatial, climate, and population projections. | ||
|
||
- **Data Merging:** Users can now merge information from demographic and geospatial data. | ||
|
||
- **Auxiliary Functions:** Added auxiliary functions to retrieve information using DIVIPOLA codification. |
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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
# This unexported function adds a custom item to `usethis::use_release_issue()` | ||
release_bullets <- function() { # nocov start | ||
release_bullets <- function() { | ||
c( | ||
"Run `goodpractice::gp()`", | ||
"Review [WORDLIST](https://docs.cran.dev/spelling#wordlist)" | ||
"Review [WORDLIST](https://docs.cran.dev/spelling#wordlist)", | ||
"Check if `# nolint` comments are still needed with recent lintr releases", | ||
"All contributors to this release are acknowledged in some way" | ||
) | ||
} # nocov end | ||
} |
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,3 @@ | ||
test_that("release_bullets() returns what usethis expects", { | ||
expect_type(release_bullets(), "character") | ||
}) |
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