Description Usage Arguments Value Functions Author(s) Examples
Encrypt and share R objects on github using hugo_share_object.
| 1 2 3 | hugo_share_secret(object, passphrase)
hugo_get_secret(user, repo_name, object_name, passphrase)
 | 
| object | object to share | 
| passphrase | object will be encrypted using provided passphrase | 
| user | Github user name, to construct proper url to repository. | 
| repo_name | Name of github repository, also used to construct url. | 
| object_name | Name of the object you want to download. | 
Please check Functions section.
hugo_share_secret: Shares given object via github, prompts user for input.
See hugo_share_object for details.
Returns: in case of success prompts user with message, and returns string, which is
direct call to hugo_get_secret. In case of failure, prompts user with appropriate
message and returns NULL.
hugo_get_secret: Downloads encrypted object from github.
See hugo_get_object for details.
Returns: in case of success prompts user with message, and returns object. It us up to user how to handle it - wheter to assign it to variable, or use as parameter. In case of failure, prompts user with appropriate message and returns NULL.
Kamil Romaszko
| 1 2 3 4 5 6 7 | ## Not run: 
get_string <- hugo_share_secret(iris, "secret")
#Fetch object from github using returned command
eval(parse(text=get_string))
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.