Skip to content

Commit 159cb33

Browse files
authored
Update install.R
method variable already declared as match.arg(method) - no need to match.arg again
1 parent c677363 commit 159cb33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/install.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ install_keras <- function(method = c("auto", "virtualenv", "conda"),
4949
tensorflow <- sub("^default", as.character(default_version), tensorflow)
5050

5151
tensorflow::install_tensorflow(
52-
method = match.arg(method),
52+
method = method,
5353
conda = conda,
5454
version = tensorflow,
5555
extra_packages = pkgs,

0 commit comments

Comments
 (0)