From 93e79afa045a656b4a5ebe35dbe0520ecbb2b5d1 Mon Sep 17 00:00:00 2001 From: Stella Date: Tue, 10 Dec 2024 13:48:43 +0100 Subject: [PATCH] Rename help functions to check_setup() --- R/check_setup.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/check_setup.R b/R/check_setup.R index 4d08bad..e6c335f 100644 --- a/R/check_setup.R +++ b/R/check_setup.R @@ -17,7 +17,7 @@ check_setup <- function() { } } -check_python <- function() { +check_setup_python <- function() { py <- reticulate::py_discover_config() if (is.null(py)) { print_status('fail', 'No Python found') @@ -33,7 +33,7 @@ check_python <- function() { return(TRUE) } -check_pharmpy <- function() { +check_setup_pharmpy <- function() { pharmpy_avail <- reticulate::py_module_available('pharmpy') if (isFALSE(pharmpy_avail)) { print_status('fail', 'Could not find Pharmpy installation')