-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eab84a6
commit c723e44
Showing
4 changed files
with
102 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,22 +22,22 @@ conda_check <- function(){ | |
#' | ||
#' @author Alexander P. Christensen <[email protected]> | ||
#' Aleksandar Tomašević <[email protected]> | ||
#' | ||
#' | ||
#' @export | ||
#' | ||
# Install miniconda | ||
# Updated 15.11.2023 | ||
setup_miniconda <- function() | ||
{ | ||
|
||
# Install miniconda | ||
path_to_miniconda <- try( | ||
install_miniconda(), | ||
silent = TRUE | ||
) | ||
if(any(class(path_to_miniconda) != "try-error")){ | ||
message("\nTo uninstall miniconda, use `reticulate::miniconda_uninstall()`") | ||
|
||
if(any(class(path_to_miniconda) != "try-error")){ | ||
message("\nTo uninstall miniconda, use `reticulate::miniconda_uninstall()`") | ||
} | ||
|
||
# Create transformEmotion enviroment if it doesn't exist | ||
|
@@ -52,7 +52,7 @@ setup_miniconda <- function() | |
# Activate the environment | ||
|
||
reticulate::use_condaenv("transforEmotion", required = TRUE) | ||
|
||
print("Installing missing Python libraries...") | ||
setup_modules() | ||
} | ||
|