Nothing
#' Logout from an ohmage session
#' @export
oh.logout <- function(){
if(is.null(getOption("TOKEN"))){
stop("Not logged in.");
}
options(TOKEN = NULL);
options(SERVERURL = NULL);
options(ohmage_username = NULL)
message("Logged out.\n")
}
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.