Skip to content

Commit

Permalink
Merge pull request #33 from ClavelLab/fix-31-r-version
Browse files Browse the repository at this point in the history
set min R version to R 3.2.0 (fixes #31)
  • Loading branch information
cpauvert committed Oct 20, 2023
2 parents 6c42265 + 40de9dc commit 4ece464
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,5 @@ Encoding: UTF-8
Language: en-US
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
Depends:
R (>= 3.2.0)
12 changes: 12 additions & 0 deletions dev/0-dev_history.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,18 @@ devtools::build(vignettes = TRUE)
fusen::init_share_on_github()
```

# Depends on R version

It is best practice to specify a minimum R version, as the one set by default is the one from the developer: <https://blog.r-hub.io/2022/09/12/r-dependency/>

```{r}
# dir.exists requires R 3.2.0
# determined by lintr::lint_package(linters = backport_linter("3.2.0"))
# TODO: assess maldipickr dependencies and R versions
usethis::use_package("R", type = "Depends", min_version = "3.2.0")
```


# Manage dependencies

```{r dependencies, eval=FALSE}
Expand Down

0 comments on commit 4ece464

Please sign in to comment.