Skip to content

Commit

Permalink
Fix spelling/case mistake
Browse files Browse the repository at this point in the history
Fixes #1528
  • Loading branch information
hadley committed Jul 10, 2023
1 parent d5ea0b4 commit eb40f94
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions NEWS.md
@@ -1,6 +1,7 @@

# renv 1.1.0 (UNRELEASED)

* Use correct spelling of IRkernel package (#1528).

# renv 1.0.0

Expand Down
2 changes: 1 addition & 1 deletion R/dependencies.R
Expand Up @@ -946,7 +946,7 @@ renv_dependencies_discover_ipynb <- function(path) {

deps <- stack()
if (identical(json$metadata$kernelspec$name, "ir"))
deps$push(renv_dependencies_list(path, "IRKernel"))
deps$push(renv_dependencies_list(path, "IRkernel"))

for (cell in json$cells) {
if (cell$cell_type != "code")
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-dependencies.R
Expand Up @@ -437,7 +437,7 @@ test_that("captures dependencies from Jupyter notebooks", {

path <- test_path("resources/notebook.ipynb")
deps <- dependencies(path)
expect_setequal(deps$Package, c("IRKernel", "MASS", "stats"))
expect_setequal(deps$Package, c("IRkernel", "MASS", "stats"))
expect_equal(deps$Source, rep(renv_path_normalize(path), 3))

})

0 comments on commit eb40f94

Please sign in to comment.