context("strings")
test_that("Unicode strings are handled by py_str", {
skip_if_no_python()
skip_on_cran()
skip_on_os("windows")
main <- py_run_string("x = u'\\xfc'", convert = FALSE)
expect_equal(py_str(main$x), "ΓΌ")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.