Nothing
test_that("get_project_context", {
local_mocked_bindings(
getActiveProject = function() "PROJECT",
getSourceEditorContext = function(...) list(path = "PATH"),
.package = "myownrobs"
)
result <- get_project_context()
expect_named(result, c(
"r_terminal_working_directory", "rstudio_active_project", "rstudio_source_editor_context",
"os_type", "architecture"
))
})
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.