Skip to content

Commit

Permalink
update .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
cgoo4 committed May 23, 2024
1 parent fc1542f commit 3077b49
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions data-raw/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DATASET.R
12 changes: 6 additions & 6 deletions data-raw/DATASET.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ svg_paths <- paste0("inst/extdata/", svg_names)
# Convert raw svg to cairo
# Keep commented out as grConvert not on CRAN

# for (i in svg_paths) {
# s <- sub(".svg", "-cairo.svg", i)
# if (!file.exists(s)) {
# grConvert::convertPicture(i, s)
# }
# }
for (i in svg_paths) {
s <- sub(".svg", "-cairo.svg", i)
if (!file.exists(s)) {
grConvert::convertPicture(i, s)
}
}

# Remove raw svg
file.remove(svg_paths)
Expand Down

0 comments on commit 3077b49

Please sign in to comment.