Skip to content

Commit

Permalink
Merge pull request pik-piam#167 from pfuehrlich-pik/master
Browse files Browse the repository at this point in the history
fix empty getFilesToLint crash
  • Loading branch information
pfuehrlich-pik authored Mar 2, 2023
2 parents bdc9e76 + c829f9f commit 83182e9
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .buildlibrary
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ValidationKey: '83816698'
ValidationKey: '83866342'
AutocreateReadme: yes
AcceptedWarnings:
- 'Warning: package ''.*'' was built under R version'
Expand Down
2 changes: 1 addition & 1 deletion .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "lucode2: Code Manipulation and Analysis Tools",
"version": "0.43.18",
"version": "0.43.19",
"description": "<p>A collection of tools which allow to manipulate and analyze\n code.<\/p>",
"creators": [
{
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Type: Package
Package: lucode2
Title: Code Manipulation and Analysis Tools
Version: 0.43.18
Date: 2023-02-23
Version: 0.43.19
Date: 2023-03-02
Authors@R: c(
person("Jan Philipp", "Dietrich", , "[email protected]", role = c("aut", "cre")),
person("Pascal", "Führlich", role = "aut"),
Expand Down
4 changes: 4 additions & 0 deletions R/lint.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
#' }
#' @export
lint <- function(files = getFilesToLint()) {
if (length(files) == 0) {
return(invisible(list()))
}

if (identical(files, ".")) {
files <- list.files(pattern = "[.]R(md)?$", full.names = TRUE, recursive = TRUE)
}
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Code Manipulation and Analysis Tools

R package **lucode2**, version **0.43.18**
R package **lucode2**, version **0.43.19**

[![CRAN status](https://www.r-pkg.org/badges/version/lucode2)](https://cran.r-project.org/package=lucode2) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4389418.svg)](https://doi.org/10.5281/zenodo.4389418) [![R build status](https://github.com/pik-piam/lucode2/workflows/check/badge.svg)](https://github.com/pik-piam/lucode2/actions) [![codecov](https://codecov.io/gh/pik-piam/lucode2/branch/master/graph/badge.svg)](https://app.codecov.io/gh/pik-piam/lucode2) [![r-universe](https://pik-piam.r-universe.dev/badges/lucode2)](https://pik-piam.r-universe.dev/builds)

Expand Down Expand Up @@ -39,7 +39,7 @@ In case of questions / problems please contact Jan Philipp Dietrich <dietrich@pi

To cite package **lucode2** in publications use:

Dietrich J, Führlich P, Klein D, Giannousakis A, Bonsch M, Bodirsky B, Baumstark L, Richters O, Pflüger M (2023). _lucode2: Code Manipulation and Analysis Tools_. doi:10.5281/zenodo.4389418 <https://doi.org/10.5281/zenodo.4389418>, R package version 0.43.18, <https://github.com/pik-piam/lucode2>.
Dietrich J, Führlich P, Klein D, Giannousakis A, Bonsch M, Bodirsky B, Baumstark L, Richters O, Pflüger M (2023). _lucode2: Code Manipulation and Analysis Tools_. doi:10.5281/zenodo.4389418 <https://doi.org/10.5281/zenodo.4389418>, R package version 0.43.19, <https://github.com/pik-piam/lucode2>.

A BibTeX entry for LaTeX users is

Expand All @@ -48,7 +48,7 @@ A BibTeX entry for LaTeX users is
title = {lucode2: Code Manipulation and Analysis Tools},
author = {Jan Philipp Dietrich and Pascal Führlich and David Klein and Anastasis Giannousakis and Markus Bonsch and Benjamin Leon Bodirsky and Lavinia Baumstark and Oliver Richters and Mika Pflüger},
year = {2023},
note = {R package version 0.43.18},
note = {R package version 0.43.19},
doi = {10.5281/zenodo.4389418},
url = {https://github.com/pik-piam/lucode2},
}
Expand Down

0 comments on commit 83182e9

Please sign in to comment.