diff --git a/R/apexcharter.R b/R/apexcharter.R index 73cae67..6d86738 100644 --- a/R/apexcharter.R +++ b/R/apexcharter.R @@ -56,7 +56,7 @@ apexchart <- function(ax_opts = list(), auto_update = TRUE, width = NULL, height ) } -# dput(tools::file_path_sans_ext(list.files("inst/htmlwidgets/lib/apexcharts-locales/"))) +# dput(tools::file_path_sans_ext(list.files("inst/htmlwidgets/assets/apexcharts-locales/"))) #' @importFrom jsonlite fromJSON add_locale_apex <- function(widget) { if (!is.null(widget$x$ax_opts$chart$defaultLocale)) { @@ -75,7 +75,7 @@ add_locale_apex <- function(widget) { ) } else { path <- system.file( - file.path("htmlwidgets/lib/apexcharts-locales", paste0(defaultLocale, ".json")), + file.path("htmlwidgets/assets/apexcharts-locales", paste0(defaultLocale, ".json")), package = "apexcharter" ) locale <- jsonlite::fromJSON(txt = path) diff --git a/R/format.R b/R/format.R index a71dab2..58bc669 100644 --- a/R/format.R +++ b/R/format.R @@ -16,7 +16,7 @@ #' @example examples/format.R format_num <- function(format, prefix = "", suffix = "", locale = "en-US") { check_locale_d3(locale) - path <- system.file(file.path("htmlwidgets/lib/d3-format/locale", paste0(locale, ".json")), package = "apexcharter") + path <- system.file(file.path("htmlwidgets/assets/d3-format/locale", paste0(locale, ".json")), package = "apexcharter") if (path != "") { locale <- paste(readLines(con = path, encoding = "UTF-8"), collapse = "") } @@ -28,7 +28,7 @@ format_num <- function(format, prefix = "", suffix = "", locale = "en-US") { check_locale_d3 <- function(x) { - json <- list.files(system.file("htmlwidgets/lib/d3-format/locale", package = "apexcharter")) + json <- list.files(system.file("htmlwidgets/assets/d3-format/locale", package = "apexcharter")) njson <- gsub("\\.json", "", json) if (!x %in% njson) { stop(paste( diff --git a/inst/htmlwidgets/apexcharter.yaml b/inst/htmlwidgets/apexcharter.yaml index a9a0c0d..f2e9b5c 100644 --- a/inst/htmlwidgets/apexcharter.yaml +++ b/inst/htmlwidgets/apexcharter.yaml @@ -1,7 +1,7 @@ dependencies: - name: apexcharts version: 3.26.2 - src: htmlwidgets/lib/apexcharts-3.26 + src: htmlwidgets/assets/apexcharts-3.26 script: apexcharts.min.js - name: apexcharter-css version: 0.1.0 @@ -9,6 +9,6 @@ dependencies: stylesheet: apexcharter.css - name: d3-format version: 1.4.2 - src: htmlwidgets/lib/d3-format + src: htmlwidgets/assets/d3-format script: d3-format.min.js all_files: false diff --git a/inst/htmlwidgets/lib/LICENSE b/inst/htmlwidgets/assets/LICENSE similarity index 100% rename from inst/htmlwidgets/lib/LICENSE rename to inst/htmlwidgets/assets/LICENSE diff --git a/inst/htmlwidgets/lib/apexcharts-3.26/apexcharts.min.js b/inst/htmlwidgets/assets/apexcharts-3.26/apexcharts.min.js similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-3.26/apexcharts.min.js rename to inst/htmlwidgets/assets/apexcharts-3.26/apexcharts.min.js diff --git a/inst/htmlwidgets/lib/apexcharts-locales/ca.json b/inst/htmlwidgets/assets/apexcharts-locales/ca.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/ca.json rename to inst/htmlwidgets/assets/apexcharts-locales/ca.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/cs.json b/inst/htmlwidgets/assets/apexcharts-locales/cs.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/cs.json rename to inst/htmlwidgets/assets/apexcharts-locales/cs.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/de.json b/inst/htmlwidgets/assets/apexcharts-locales/de.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/de.json rename to inst/htmlwidgets/assets/apexcharts-locales/de.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/el.json b/inst/htmlwidgets/assets/apexcharts-locales/el.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/el.json rename to inst/htmlwidgets/assets/apexcharts-locales/el.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/en.json b/inst/htmlwidgets/assets/apexcharts-locales/en.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/en.json rename to inst/htmlwidgets/assets/apexcharts-locales/en.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/es.json b/inst/htmlwidgets/assets/apexcharts-locales/es.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/es.json rename to inst/htmlwidgets/assets/apexcharts-locales/es.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/fi.json b/inst/htmlwidgets/assets/apexcharts-locales/fi.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/fi.json rename to inst/htmlwidgets/assets/apexcharts-locales/fi.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/fr.json b/inst/htmlwidgets/assets/apexcharts-locales/fr.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/fr.json rename to inst/htmlwidgets/assets/apexcharts-locales/fr.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/he.json b/inst/htmlwidgets/assets/apexcharts-locales/he.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/he.json rename to inst/htmlwidgets/assets/apexcharts-locales/he.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/hi.json b/inst/htmlwidgets/assets/apexcharts-locales/hi.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/hi.json rename to inst/htmlwidgets/assets/apexcharts-locales/hi.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/hr.json b/inst/htmlwidgets/assets/apexcharts-locales/hr.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/hr.json rename to inst/htmlwidgets/assets/apexcharts-locales/hr.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/hu.json b/inst/htmlwidgets/assets/apexcharts-locales/hu.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/hu.json rename to inst/htmlwidgets/assets/apexcharts-locales/hu.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/hy.json b/inst/htmlwidgets/assets/apexcharts-locales/hy.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/hy.json rename to inst/htmlwidgets/assets/apexcharts-locales/hy.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/id.json b/inst/htmlwidgets/assets/apexcharts-locales/id.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/id.json rename to inst/htmlwidgets/assets/apexcharts-locales/id.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/it.json b/inst/htmlwidgets/assets/apexcharts-locales/it.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/it.json rename to inst/htmlwidgets/assets/apexcharts-locales/it.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/ja.json b/inst/htmlwidgets/assets/apexcharts-locales/ja.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/ja.json rename to inst/htmlwidgets/assets/apexcharts-locales/ja.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/ka.json b/inst/htmlwidgets/assets/apexcharts-locales/ka.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/ka.json rename to inst/htmlwidgets/assets/apexcharts-locales/ka.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/ko.json b/inst/htmlwidgets/assets/apexcharts-locales/ko.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/ko.json rename to inst/htmlwidgets/assets/apexcharts-locales/ko.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/lt.json b/inst/htmlwidgets/assets/apexcharts-locales/lt.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/lt.json rename to inst/htmlwidgets/assets/apexcharts-locales/lt.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/nb.json b/inst/htmlwidgets/assets/apexcharts-locales/nb.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/nb.json rename to inst/htmlwidgets/assets/apexcharts-locales/nb.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/nl.json b/inst/htmlwidgets/assets/apexcharts-locales/nl.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/nl.json rename to inst/htmlwidgets/assets/apexcharts-locales/nl.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/pl.json b/inst/htmlwidgets/assets/apexcharts-locales/pl.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/pl.json rename to inst/htmlwidgets/assets/apexcharts-locales/pl.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/pt-br.json b/inst/htmlwidgets/assets/apexcharts-locales/pt-br.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/pt-br.json rename to inst/htmlwidgets/assets/apexcharts-locales/pt-br.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/pt.json b/inst/htmlwidgets/assets/apexcharts-locales/pt.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/pt.json rename to inst/htmlwidgets/assets/apexcharts-locales/pt.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/rs.json b/inst/htmlwidgets/assets/apexcharts-locales/rs.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/rs.json rename to inst/htmlwidgets/assets/apexcharts-locales/rs.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/ru.json b/inst/htmlwidgets/assets/apexcharts-locales/ru.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/ru.json rename to inst/htmlwidgets/assets/apexcharts-locales/ru.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/se.json b/inst/htmlwidgets/assets/apexcharts-locales/se.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/se.json rename to inst/htmlwidgets/assets/apexcharts-locales/se.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/sk.json b/inst/htmlwidgets/assets/apexcharts-locales/sk.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/sk.json rename to inst/htmlwidgets/assets/apexcharts-locales/sk.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/sl.json b/inst/htmlwidgets/assets/apexcharts-locales/sl.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/sl.json rename to inst/htmlwidgets/assets/apexcharts-locales/sl.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/sq.json b/inst/htmlwidgets/assets/apexcharts-locales/sq.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/sq.json rename to inst/htmlwidgets/assets/apexcharts-locales/sq.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/th.json b/inst/htmlwidgets/assets/apexcharts-locales/th.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/th.json rename to inst/htmlwidgets/assets/apexcharts-locales/th.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/tr.json b/inst/htmlwidgets/assets/apexcharts-locales/tr.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/tr.json rename to inst/htmlwidgets/assets/apexcharts-locales/tr.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/ua.json b/inst/htmlwidgets/assets/apexcharts-locales/ua.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/ua.json rename to inst/htmlwidgets/assets/apexcharts-locales/ua.json diff --git a/inst/htmlwidgets/lib/apexcharts-locales/zh-cn.json b/inst/htmlwidgets/assets/apexcharts-locales/zh-cn.json similarity index 100% rename from inst/htmlwidgets/lib/apexcharts-locales/zh-cn.json rename to inst/htmlwidgets/assets/apexcharts-locales/zh-cn.json diff --git a/inst/htmlwidgets/lib/d3-format/d3-format.min.js b/inst/htmlwidgets/assets/d3-format/d3-format.min.js similarity index 100% rename from inst/htmlwidgets/lib/d3-format/d3-format.min.js rename to inst/htmlwidgets/assets/d3-format/d3-format.min.js diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-001.json b/inst/htmlwidgets/assets/d3-format/locale/ar-001.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-001.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-001.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-AE.json b/inst/htmlwidgets/assets/d3-format/locale/ar-AE.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-AE.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-AE.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-BH.json b/inst/htmlwidgets/assets/d3-format/locale/ar-BH.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-BH.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-BH.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-DJ.json b/inst/htmlwidgets/assets/d3-format/locale/ar-DJ.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-DJ.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-DJ.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-DZ.json b/inst/htmlwidgets/assets/d3-format/locale/ar-DZ.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-DZ.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-DZ.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-EG.json b/inst/htmlwidgets/assets/d3-format/locale/ar-EG.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-EG.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-EG.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-EH.json b/inst/htmlwidgets/assets/d3-format/locale/ar-EH.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-EH.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-EH.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-ER.json b/inst/htmlwidgets/assets/d3-format/locale/ar-ER.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-ER.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-ER.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-IL.json b/inst/htmlwidgets/assets/d3-format/locale/ar-IL.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-IL.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-IL.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-IQ.json b/inst/htmlwidgets/assets/d3-format/locale/ar-IQ.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-IQ.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-IQ.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-JO.json b/inst/htmlwidgets/assets/d3-format/locale/ar-JO.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-JO.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-JO.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-KM.json b/inst/htmlwidgets/assets/d3-format/locale/ar-KM.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-KM.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-KM.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-KW.json b/inst/htmlwidgets/assets/d3-format/locale/ar-KW.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-KW.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-KW.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-LB.json b/inst/htmlwidgets/assets/d3-format/locale/ar-LB.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-LB.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-LB.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-LY.json b/inst/htmlwidgets/assets/d3-format/locale/ar-LY.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-LY.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-LY.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-MA.json b/inst/htmlwidgets/assets/d3-format/locale/ar-MA.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-MA.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-MA.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-MR.json b/inst/htmlwidgets/assets/d3-format/locale/ar-MR.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-MR.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-MR.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-OM.json b/inst/htmlwidgets/assets/d3-format/locale/ar-OM.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-OM.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-OM.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-PS.json b/inst/htmlwidgets/assets/d3-format/locale/ar-PS.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-PS.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-PS.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-QA.json b/inst/htmlwidgets/assets/d3-format/locale/ar-QA.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-QA.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-QA.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-SA.json b/inst/htmlwidgets/assets/d3-format/locale/ar-SA.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-SA.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-SA.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-SD.json b/inst/htmlwidgets/assets/d3-format/locale/ar-SD.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-SD.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-SD.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-SO.json b/inst/htmlwidgets/assets/d3-format/locale/ar-SO.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-SO.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-SO.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-SS.json b/inst/htmlwidgets/assets/d3-format/locale/ar-SS.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-SS.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-SS.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-SY.json b/inst/htmlwidgets/assets/d3-format/locale/ar-SY.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-SY.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-SY.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-TD.json b/inst/htmlwidgets/assets/d3-format/locale/ar-TD.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-TD.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-TD.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-TN.json b/inst/htmlwidgets/assets/d3-format/locale/ar-TN.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-TN.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-TN.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ar-YE.json b/inst/htmlwidgets/assets/d3-format/locale/ar-YE.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ar-YE.json rename to inst/htmlwidgets/assets/d3-format/locale/ar-YE.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ca-ES.json b/inst/htmlwidgets/assets/d3-format/locale/ca-ES.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ca-ES.json rename to inst/htmlwidgets/assets/d3-format/locale/ca-ES.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/cs-CZ.json b/inst/htmlwidgets/assets/d3-format/locale/cs-CZ.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/cs-CZ.json rename to inst/htmlwidgets/assets/d3-format/locale/cs-CZ.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/de-CH.json b/inst/htmlwidgets/assets/d3-format/locale/de-CH.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/de-CH.json rename to inst/htmlwidgets/assets/d3-format/locale/de-CH.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/de-DE.json b/inst/htmlwidgets/assets/d3-format/locale/de-DE.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/de-DE.json rename to inst/htmlwidgets/assets/d3-format/locale/de-DE.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/en-CA.json b/inst/htmlwidgets/assets/d3-format/locale/en-CA.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/en-CA.json rename to inst/htmlwidgets/assets/d3-format/locale/en-CA.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/en-GB.json b/inst/htmlwidgets/assets/d3-format/locale/en-GB.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/en-GB.json rename to inst/htmlwidgets/assets/d3-format/locale/en-GB.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/en-IE.json b/inst/htmlwidgets/assets/d3-format/locale/en-IE.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/en-IE.json rename to inst/htmlwidgets/assets/d3-format/locale/en-IE.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/en-IN.json b/inst/htmlwidgets/assets/d3-format/locale/en-IN.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/en-IN.json rename to inst/htmlwidgets/assets/d3-format/locale/en-IN.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/en-US.json b/inst/htmlwidgets/assets/d3-format/locale/en-US.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/en-US.json rename to inst/htmlwidgets/assets/d3-format/locale/en-US.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/es-BO.json b/inst/htmlwidgets/assets/d3-format/locale/es-BO.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/es-BO.json rename to inst/htmlwidgets/assets/d3-format/locale/es-BO.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/es-ES.json b/inst/htmlwidgets/assets/d3-format/locale/es-ES.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/es-ES.json rename to inst/htmlwidgets/assets/d3-format/locale/es-ES.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/es-MX.json b/inst/htmlwidgets/assets/d3-format/locale/es-MX.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/es-MX.json rename to inst/htmlwidgets/assets/d3-format/locale/es-MX.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/fi-FI.json b/inst/htmlwidgets/assets/d3-format/locale/fi-FI.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/fi-FI.json rename to inst/htmlwidgets/assets/d3-format/locale/fi-FI.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/fr-CA.json b/inst/htmlwidgets/assets/d3-format/locale/fr-CA.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/fr-CA.json rename to inst/htmlwidgets/assets/d3-format/locale/fr-CA.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/fr-FR.json b/inst/htmlwidgets/assets/d3-format/locale/fr-FR.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/fr-FR.json rename to inst/htmlwidgets/assets/d3-format/locale/fr-FR.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/he-IL.json b/inst/htmlwidgets/assets/d3-format/locale/he-IL.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/he-IL.json rename to inst/htmlwidgets/assets/d3-format/locale/he-IL.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/hu-HU.json b/inst/htmlwidgets/assets/d3-format/locale/hu-HU.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/hu-HU.json rename to inst/htmlwidgets/assets/d3-format/locale/hu-HU.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/it-IT.json b/inst/htmlwidgets/assets/d3-format/locale/it-IT.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/it-IT.json rename to inst/htmlwidgets/assets/d3-format/locale/it-IT.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ja-JP.json b/inst/htmlwidgets/assets/d3-format/locale/ja-JP.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ja-JP.json rename to inst/htmlwidgets/assets/d3-format/locale/ja-JP.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ko-KR.json b/inst/htmlwidgets/assets/d3-format/locale/ko-KR.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ko-KR.json rename to inst/htmlwidgets/assets/d3-format/locale/ko-KR.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/mk-MK.json b/inst/htmlwidgets/assets/d3-format/locale/mk-MK.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/mk-MK.json rename to inst/htmlwidgets/assets/d3-format/locale/mk-MK.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/nl-NL.json b/inst/htmlwidgets/assets/d3-format/locale/nl-NL.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/nl-NL.json rename to inst/htmlwidgets/assets/d3-format/locale/nl-NL.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/pl-PL.json b/inst/htmlwidgets/assets/d3-format/locale/pl-PL.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/pl-PL.json rename to inst/htmlwidgets/assets/d3-format/locale/pl-PL.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/pt-BR.json b/inst/htmlwidgets/assets/d3-format/locale/pt-BR.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/pt-BR.json rename to inst/htmlwidgets/assets/d3-format/locale/pt-BR.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/ru-RU.json b/inst/htmlwidgets/assets/d3-format/locale/ru-RU.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/ru-RU.json rename to inst/htmlwidgets/assets/d3-format/locale/ru-RU.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/sv-SE.json b/inst/htmlwidgets/assets/d3-format/locale/sv-SE.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/sv-SE.json rename to inst/htmlwidgets/assets/d3-format/locale/sv-SE.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/uk-UA.json b/inst/htmlwidgets/assets/d3-format/locale/uk-UA.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/uk-UA.json rename to inst/htmlwidgets/assets/d3-format/locale/uk-UA.json diff --git a/inst/htmlwidgets/lib/d3-format/locale/zh-CN.json b/inst/htmlwidgets/assets/d3-format/locale/zh-CN.json similarity index 100% rename from inst/htmlwidgets/lib/d3-format/locale/zh-CN.json rename to inst/htmlwidgets/assets/d3-format/locale/zh-CN.json