We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2981813 commit 568a614Copy full SHA for 568a614
R/plotly.R
@@ -446,7 +446,7 @@ locale_dependency <- function(locale) {
446
}
447
448
locale_dir <- depPath("plotlyjs", "locales")
449
- locales_all <- sub("\\.js$", "", list.files(localeDir))
+ locales_all <- sub("\\.js$", "", list.files(locale_dir))
450
if (!tolower(locale) %in% locales_all) {
451
stop(
452
"Invalid locale: '", locale, "'.\n\n",
0 commit comments