Skip to content

Commit bf9c6bb

Browse files
committed
remaining changes and onLoad fix for deeptrafo
1 parent 4516962 commit bf9c6bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/zzz.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ create_package_name <- function(package, version)
1111
paste(package, version, sep="==")
1212

1313
.onLoad <- function(libname, pkgname) { # nocov start
14-
if(suppressMessages(!reticulate::py_available()))
14+
if(suppressMessages(!reticulate::py_available() | .Platform$OS.type == "windows"))
1515
{
1616
res <- suppressMessages(reticulate::configure_environment(pkgname))
1717
if(res & requireNamespace("tensorflow", quietly = TRUE) &

0 commit comments

Comments
 (0)