Skip to content

Commit

Permalink
chore: change doHMRF() requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
jiajic committed Jun 3, 2024
1 parent 9402002 commit 9937cc2
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions R/python_hmrf.R
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,8 @@ doHMRF <- function(gobject,
python_path = NULL,
output_folder = NULL,
overwrite_output = TRUE) {
if (!requireNamespace("smfishHmrf", quietly = TRUE)) {
stop("package ", "smfishHmrf", " is not yet installed \n",
"To install: \n",
"remotes::install_bitbucket(repo = 'qzhudfci/smfishhmrf-r', ref='master')",
"see http://spatial.rc.fas.harvard.edu/install.html for more information",
call. = FALSE
)
}

package_check("smfishhmrf", repository = "pip")

# data.table set global variable
to <- from <- NULL
Expand Down

0 comments on commit 9937cc2

Please sign in to comment.