fix another cran notes
diff --git a/R/kableExtra-package.R b/R/kableExtra-package.R
index 415b5b0..799dac1 100644
--- a/R/kableExtra-package.R
+++ b/R/kableExtra-package.R
@@ -1,7 +1,7 @@
#' kableExtra
#'
#' @description When we are talking about table generators in R,
-#' [knitr](https://yihui.name/knitr/)'s `kable()` function wins lots of flavor
+#' [knitr](https://yihui.org/knitr/)'s `kable()` function wins lots of flavor
#' by its ultimate simplicity. Unlike those powerful table rendering engines
#' such as [`xtable`](https://CRAN.R-project.org/package=xtable), the philosophy
#' behind [`knitr::kable()`](https://rdrr.io/cran/knitr/man/kable.html) is to
@@ -28,13 +28,13 @@
#' `kableExtra` cannot solve the problem
#'
#' For a full package documentation, please visit the
-#' [package documentation site](http://haozhu233.github.io/kableExtra/)
+#' [package documentation site](https://haozhu233.github.io/kableExtra/)
#' for more information
#'
#' @section Features:
#' **Pipable syntax:** `kableExtra` is NOT a table generating package. It is a
#' package that can "add features" to a `kable` output using a syntax
-#' that every useR loves - the [pipe](http://r4ds.had.co.nz/pipes.html).
+#' that every useR loves - the [pipe](https://r4ds.had.co.nz/pipes.html).
#' We see similar approaches to deal with plots in packages like `ggvis` and
#' `plotly`. There is no reason why we cannot use it with tables.
#'
diff --git a/R/mini_plots.R b/R/mini_plots.R
index f6ed31d..5ce33b0 100644
--- a/R/mini_plots.R
+++ b/R/mini_plots.R
@@ -180,7 +180,7 @@
curr_file_name <- sub("\\.[^\\.]*$", "", knitr::current_input())
dir_name <- paste0(curr_file_name, "_files")
if (!dir.exists(dir_name) & create) dir.create(dir_name)
- fig_dir_name <- file.path(dir_name, "figure-latex")
+ fig_dir_name <- file.path(dir_name, "figure-latex/")
if (!dir.exists(fig_dir_name) & create) dir.create(fig_dir_name)
return(fig_dir_name)
}