Skip to content

Instantly share code, notes, and snippets.

@mribeirodantas
Last active March 3, 2020 10:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mribeirodantas/917c87f4f8def5f6ec27f955b302e84c to your computer and use it in GitHub Desktop.
Save mribeirodantas/917c87f4f8def5f6ec27f955b302e84c to your computer and use it in GitHub Desktop.
# Starting your repository with git, packrat and DVC
mkdir -p ~/dev/r_dvc_rmarkdown && cd ~/dev/r_dvc_rmarkdown
git init
dvc init
R --silent -e "packrat::init(\"~/dev/r_dvc_rmarkdown\")"
git add .Rprofile .gitignore packrat/
git commit -m "Initializes Git, Packrat and DVC"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment