Skip to content

Commit

Permalink
merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
tmelliott committed Apr 3, 2024
2 parents 933edfa + 24263ad commit 54b3cbe
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/install_deps.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ options(
RSPM = Sys.getenv("RSPM"),
CRAN = "https://cloud.r-project.org"
),
install.packages.compile.from.source = "never"
install.packages.compile.from.source =
ifelse(OS == "macOS", "always", "never")
)


Expand Down
1 change: 1 addition & 0 deletions .github/workflows/revdep-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
branches:
- dev
- "release/**"
- "hotfix/**"

name: Check reverse dependencies

Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: iNZightTools
Type: Package
Title: Tools for 'iNZight'
Version: 2.0.0
Version: 2.0.1
Depends: R (>= 4.0)
Imports:
dplyr (>= 1.1.0),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# iNZightTools 2.0.1

- Fix issue where NULL values passed to `interpolate()` triggering an error

# iNZightTools 2.0.0

## Breaking changes
Expand Down
4 changes: 4 additions & 0 deletions R/code_writing.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
as_call <- function(x) {
if (is.null(x)) {
return(x)
}

if (inherits(x, "formula")) {
stopifnot(length(x) == 2)
x[[2]]
Expand Down
4 changes: 4 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ We checked 2 reverse dependencies, comparing R CMD check results across CRAN and

- We saw 0 new problems
- We failed to check 0 packages

## Notes

This release fixes a bug in a function triggered by the latest R-devel.
1 change: 1 addition & 0 deletions docs/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tools.inzight.nz
2 changes: 2 additions & 0 deletions tests/testthat/test_tidy_code.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
library(magrittr)

skip_if_not_installed("styler")

test_that("Cody tidying does not break code", {
x <- readLines("messy_gapminder.txt")
z <- tidy_all_code(x)
Expand Down

0 comments on commit 54b3cbe

Please sign in to comment.