Nothing
context("py_initialize")
test_that("sys.executable points to the correct python", {
py_exe_stand_alone <- system2(py_exe(), c("-c", shQuote("import sys; print(sys.executable)")), stdout = TRUE)
py_exe_embedded <- import("sys")$executable
if (is_windows())
py_exe_embedded <- utils::shortPathName(py_exe_embedded)
expect_identical(py_exe_stand_alone, py_exe_embedded)
})
test_that("__main__ initialzed with only 'r'", {
expect_identical(
callr::r(function() names(reticulate::import_main())),
"r")
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.