Skip to content

Instantly share code, notes, and snippets.

@edgararuiz-zz
Last active April 8, 2019 23:05
Show Gist options
  • Save edgararuiz-zz/a04fbf4a43ba3f5d9a62c4948520556c to your computer and use it in GitHub Desktop.
Save edgararuiz-zz/a04fbf4a43ba3f5d9a62c4948520556c to your computer and use it in GitHub Desktop.
[<start>] -> [<choice> On GH?]
[On GH?] -> No [<package>create_package()]
[On GH?] -> Yes [<choice> Cloned?]
[Cloned?] -> No [<package>create_from_github()]
[create_package()] -> [<package> use_git()]
[use_git()] -> [Edit DESCRIPTION]
[Edit DESCRIPTION] -> [<package> use_mit_license()]
[use_mit_license()] ->[<state> Write a function]
[Write a function] -> [<package> use_r()]
[Cloned?] -> Yes [Pull from repo]
[Pull from repo] -> [Write a function]
[create_from_github()] -> Yes [Write a function]
[use_r()] -> [<package> use_test()]
[use_test()] -> [<package>load_all()]
[load_all()] -> [<package> test()]
[test()] -> [<choice> Pass?]
[Pass?] No -> [<package> Fix function]
[Fix function] -> [load_all()]
[Pass?] Yes-> [<choice>More funs?]
[More funs?] ->Yes[Write a function]
[More funs?] ->No [<package> check()]
[check()] -> [<package>install()]
[install()] -> [Commit]
[Commit] -> [<choice>Pkg on GH?]
[Pkg on GH?] ->No [<package> use_github()]
[use_github()] -> [<package> use_readme_rmd()]
[use_readme_rmd()] -> [Edit & Knit README]
[Edit & Knit README] -> [Push to repo]
[Pkg on GH?] ->Yes[Edit & Knit README]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment