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

Failure due to overly strict reticulate error test #54

Open
richfitz opened this issue Jan 20, 2020 · 0 comments
Open

Failure due to overly strict reticulate error test #54

richfitz opened this issue Jan 20, 2020 · 0 comments

Comments

@richfitz
Copy link
Owner

     > test_check("stevedore")
     -- 1. Failure: python_locate_version (@test-httppipe-unix.R#97) ---------------
     `python_locate_version("nosuchmodule")` threw an error with unexpected message.
     Expected match: "Did not find required python module 'nosuchmodule'"
     Actual message: "lexical error: invalid char in json text.\n NA\n (right here) ------^\n"
     Backtrace:
     1. testthat::expect_error(...)
     6. stevedore:::python_locate_version("nosuchmodule")
     7. reticulate::py_discover_config(module)
     8. reticulate:::python_conda_versions()
     10. reticulate::conda_list(conda = conda)
     11. jsonlite::fromJSON(conda_envs)
     12. jsonlite:::parse_and_simplify(...)
     13. jsonlite:::parseJSON(txt, bigint_as_char)
     14. jsonlite:::parse_string(txt, bigint_as_char)

Affecting CRAN with recent reticulate. Note that the new reticulate also offers a way of specifying dependencies (https://stat.ethz.ch/pipermail/r-package-devel/2020q1/004821.html) though practically we should fix the windows support #1 properly at some point...

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

No branches or pull requests

1 participant