Skip to content

Commit

Permalink
manually import utils::menu
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgigante committed Sep 10, 2018
1 parent 47ca2ad commit c171495
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Rmagic/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: Rmagic
Type: Package
Title: MAGIC - Markov Affinity-Based Graph Imputation of Cells
Version: 1.0.0
Version: 1.1.0
Authors@R: c(person(given = "David", family = "van Dijk", email = "davidvandijk@gmail.com", role = c("aut")),
person(given = 'Scott', family = 'Gigante', email = 'scott.gigante@yale.edu', role = 'cre', comment = c(ORCID = '0000-0002-4544-2764')))
Maintainer: Scott Gigante <scott.gigante@yale.edu>
Expand Down
2 changes: 1 addition & 1 deletion Rmagic/R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ load_pymagic <- function(delay_load = FALSE) {
if (methods::is(result, "try-error") &&
(length(grep("ModuleNotFoundError: No module named 'magic'", result)) > 0 ||
length(grep("ImportError: No module named magic", result)) > 0)) {
if (menu(c("Yes", "No"), title="Install MAGIC Python package with reticulate?") == 1) {
if (utils::menu(c("Yes", "No"), title="Install MAGIC Python package with reticulate?") == 1) {
install.magic()
}
} else if (length(grep("r\\-reticulate", reticulate::py_config()$python)) > 0) {
Expand Down
2 changes: 1 addition & 1 deletion Rmagic/README.Rmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title : Rmagic v1.0.0
title : Rmagic v1.1.0
output: github_document
toc: true
---
Expand Down
2 changes: 1 addition & 1 deletion Rmagic/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Rmagic v1.0.0
Rmagic v1.1.0
================

<!-- README.md is generated from README.Rmd. Please edit that file -->
Expand Down

0 comments on commit c171495

Please sign in to comment.