Skip to content

Commit

Permalink
update min r version to 4.0 to comply with tune pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
mitokic committed Apr 24, 2024
1 parent 9da5a2c commit f214e9e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- {os: ubuntu-20.04, r: 'release'}
- {os: ubuntu-20.04, r: 'oldrel-1'}
- {os: ubuntu-20.04, r: 'oldrel-2'}
- {os: ubuntu-20.04, r: '3.6'} #3.6 is the min version for finnts
- {os: ubuntu-20.04, r: '4.0'} # 4.0 is the min version for finnts

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ Suggests:
vip
Config/testthat/edition: 3
Depends:
R (>= 3.6.0),
R (>= 4.0),
modeltime
VignetteBuilder: knitr
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
- Error in run_type column join in final forecast output
- Error in running feature selection

## Breaking Changes

- Minimum R version now set to R 4.0 to comply with package dependency minimum version for tune

# finnts 0.4.0

## Improvements
Expand Down
2 changes: 0 additions & 2 deletions tests/testthat/test-hierarchical.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

test_that("prep_hierarchical_data returns correct grouped hierarchies", {
skip_if(getRversion() < "3.7.0", "Skipping for R 3.6.0 and below")

# Mock data setup
data <- tibble::tibble(
Expand Down Expand Up @@ -78,7 +77,6 @@ test_that("prep_hierarchical_data returns correct grouped hierarchies", {
})

test_that("prep_hierarchical_data returns correct standard hierarchies", {
skip_if(getRversion() < "3.7.0", "Skipping for R 3.6.0 and below")

# Mock data setup
data <- tibble::tibble(
Expand Down

0 comments on commit f214e9e

Please sign in to comment.