From be5529028950ba66bbc745342148c649726db12c Mon Sep 17 00:00:00 2001
From: Your <xiali125@student.liu.se>
Date: Fri, 27 Sep 2024 09:54:39 +0200
Subject: [PATCH] updatae data raw commands

---
 .Rbuildignore         | 1 +
 data-raw/wiki_graph.R | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.Rbuildignore b/.Rbuildignore
index 91114bf..b7c5925 100644
--- a/.Rbuildignore
+++ b/.Rbuildignore
@@ -1,2 +1,3 @@
 ^.*\.Rproj$
 ^\.Rproj\.user$
+^data-raw/
diff --git a/data-raw/wiki_graph.R b/data-raw/wiki_graph.R
index bf14777..71de220 100644
--- a/data-raw/wiki_graph.R
+++ b/data-raw/wiki_graph.R
@@ -9,4 +9,4 @@ wiki_graph <-data.frame(v1=c(1,1,1,2,2,2,3,3,3,3,4,4,4,5,5,6,6,6),
              w=c(7,9,14,7,10,15,9,10,11,2,15,11,6,6,9,14,2,9))
 
 write_csv(wiki_graph, "data-raw/wiki_graph.csv")
-usethis::use_data(wiki_graph, overwrite = TRUE)
\ No newline at end of file
+usethis::use_data_raw(wiki_graph, overwrite = TRUE)
\ No newline at end of file
-- 
GitLab