Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove warning about unused use_python(,required=FALSE) calls #1562

Merged
merged 3 commits into from Mar 27, 2024

Conversation

t-kalinowski
Copy link
Member

Packages may want to place multiple use_python() calls in .onLoad(), e.g., tensorflow might do:

.onLoad <- function(...)
  use_virtualenv("r-tensorflow", required = FALSE)
  use_virtualenv("r-keras", required = FALSE)
}

This patch removes the warning issued by reticulate if a soft Python environment preference like was ignored.

- `py_has_method()`: error on non python objects.
- minor speedup in `py_convert_pandas_df()`
@t-kalinowski t-kalinowski merged commit 8a25773 into main Mar 27, 2024
14 checks passed
@t-kalinowski t-kalinowski deleted the no-warn-use_python-required-eq-false branch March 27, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant