From 7e15022e13740959fa01dee090261b321d8233b4 Mon Sep 17 00:00:00 2001
From: Noam Ross <ross@ecohealthalliance.org>
Date: Mon, 23 Sep 2019 17:26:45 -0400
Subject: [PATCH] general set-up

---
 .Rbuildignore |  1 +
 DESCRIPTION   | 12 ++++++------
 LICENSE.md    | 21 +++++++++++++++++++++
 R/packages.R  |  1 -
 README.md     |  4 ++++
 make.R        |  2 +-
 6 files changed, 33 insertions(+), 8 deletions(-)
 create mode 100644 LICENSE.md
 create mode 100644 README.md

diff --git a/.Rbuildignore b/.Rbuildignore
index 91be378..7f18d49 100644
--- a/.Rbuildignore
+++ b/.Rbuildignore
@@ -1,3 +1,4 @@
 ^\.gitlab-ci\.yml$
 ^.*\.Rproj$
 ^\.Rproj\.user$
+^LICENSE\.md$
diff --git a/DESCRIPTION b/DESCRIPTION
index 9f37733..748023e 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,14 +1,14 @@
 Package: repel-drake
-Title: What the Package Does (One Line, Title Case)
+Title: Drake pipeline example for model-fitting
 Version: 0.0.0.9000
 Authors@R: 
-    person(given = "First",
-           family = "Last",
+    person(given = "Noam",
+           family = "Ross",
            role = c("aut", "cre"),
            email = "first.last@example.com",
-           comment = c(ORCID = "YOUR-ORCID-ID"))
+           comment = c(ORCID = "0000-0002-2136-0000""))
 Description: What the package does (one paragraph).
-License: What license it uses
+License: MIT + file LICENSE
 Encoding: UTF-8
 LazyData: true
 Imports: 
@@ -16,4 +16,4 @@ Imports:
     tidyverse,
     knitr,
     rmarkdown,
-    visNetwork
\ No newline at end of file
+    visNetwork
diff --git a/LICENSE.md b/LICENSE.md
new file mode 100644
index 0000000..ee69b2e
--- /dev/null
+++ b/LICENSE.md
@@ -0,0 +1,21 @@
+# MIT License
+
+Copyright (c) 2019 Noam Ross
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/R/packages.R b/R/packages.R
index 0466b2b..5e578b8 100644
--- a/R/packages.R
+++ b/R/packages.R
@@ -2,5 +2,4 @@
 
 library(drake)
 library(knitr)
-library(tidyverse)
 library(htmlwidgets)
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..223cb51
--- /dev/null
+++ b/README.md
@@ -0,0 +1,4 @@
+
+# repel-drake
+
+Template repo for model-fitting for the REPEL project
diff --git a/make.R b/make.R
index 6c350a3..29ab720 100755
--- a/make.R
+++ b/make.R
@@ -20,4 +20,4 @@ config <- drake_config(my_plan)
 
 my_graph <- drake::vis_drake_graph(config)
 visNetwork::visSave(my_graph, here::here("artifacts", "drake_graph.html"))
-build_times()
+print(build_times(), n=100)
-- 
GitLab