Skip to content

Commit

Permalink
fix CRAN r-devel error
Browse files Browse the repository at this point in the history
  • Loading branch information
t-kalinowski committed Feb 14, 2024
1 parent 9501693 commit 1794b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/virtualenv.R
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ can_be_virtualenv_starter <- function(python) {

py2_modules <- c("pip", "virtualenv")
py3_modules <- c("pip", "venv")
modules <- ifelse(version < 3, py2_modules, py3_modules)
modules <- ifelse(version < "3", py2_modules, py3_modules)

# ensure these modules are available
if (!python_has_modules(python, modules))
Expand Down

1 comment on commit 1794b2e

@t-kalinowski
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Part of #1554

Please sign in to comment.