Skip to content

Commit

Permalink
Merge pull request #67 from nflverse/fix-catpackages-cuts
Browse files Browse the repository at this point in the history
Fix catpackages cuts
  • Loading branch information
tanho63 authored Nov 15, 2021
2 parents 149442a + 6df2217 commit eaf3bf7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
- {os: ubuntu-20.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: ubuntu-18.04, r: 'oldrel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest"}
- {os: ubuntu-18.04, r: '3.6', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest"}
- {os: ubuntu-18.04, r: '3.5', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest"}

env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: nflreadr
Title: Download 'nflverse' Data
Version: 1.1.1.02
Version: 1.1.1.03
Authors@R: c(
person("Tan", "Ho", , "[email protected]", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0001-8388-5155")),
Expand All @@ -16,7 +16,7 @@ License: MIT + file LICENSE
URL: https://nflreadr.nflverse.com, https://github.com/nflverse/nflreadr
BugReports: https://github.com/nflverse/nflreadr/issues
Depends:
R (>= 3.5.0)
R (>= 3.6.0)
Imports:
cachem (>= 1.0.0),
cli (>= 3.0.0),
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
## New Functions

- `nflverse_sitrep()` and `ffverse_sitrep()` give a minimal overview of the package dependencies (v1.1.1.01)
- Minimum R version bumped to R 3.6.0 - this is the minimum version required to read the [current RDS file-version](https://stat.ethz.ch/R-manual/R-devel/library/base/html/readRDS.html).
- `_sitrep()` fns receive a small print-related bugfix (v1.1.1.03)

---

Expand Down
2 changes: 1 addition & 1 deletion R/sitrep.R
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ cat_packages <- function(packages,versions){
l <- length(packages)

breaks <- cut(x = seq_along(packages),
breaks = c(0, ceiling(l / 3), 2 * ceiling(l / 3), l))
breaks = c(0, ceiling(l / 3), 2 * ceiling(l / 3), l+1))

p <- split(packages, breaks)
v <- split(versions, breaks)
Expand Down

0 comments on commit eaf3bf7

Please sign in to comment.