Skip to content

Commit

Permalink
resolve more 301 redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Sep 22, 2020
1 parent 6c43887 commit 4bb79f2
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@

- added a helper function `all_rcpp_labels()`, which is simply `all_labels(engine == 'Rcpp')` and can be used to extract all chunk labels of Rcpp chunks

- added a new engine named `sql` that uses the **DBI** package to execute SQL queries, and optionally assign the result to a variable in the **knitr** session; see http://rmarkdown.rstudio.com/authoring_knitr_engines.html for details (#1241)
- added a new engine named `sql` that uses the **DBI** package to execute SQL queries, and optionally assign the result to a variable in the **knitr** session; see https://rmarkdown.rstudio.com/authoring_knitr_engines.html for details (#1241)

- `fig.keep` now accepts numeric values to index low-level plots to keep (#1265)

Expand Down Expand Up @@ -881,7 +881,7 @@

- for Markdown tables, `kable()` gained a new argument `padding` to specify the inner padding of table cells using spaces (thanks, @gavril0, #699)

- added a new vignette engine called `rmarkdown`, which uses `rmarkdown::render()` to create a package vignette from an R Markdown document; see http://rmarkdown.rstudio.com for more information about the **rmarkdown** package, and the vignette `knit_print.Rmd` in **knitr** for an example (basically you specify `\VignetteEngine{knitr::rmarkdown}` in your vignette)
- added a new vignette engine called `rmarkdown`, which uses `rmarkdown::render()` to create a package vignette from an R Markdown document; see https://rmarkdown.rstudio.com for more information about the **rmarkdown** package, and the vignette `knit_print.Rmd` in **knitr** for an example (basically you specify `\VignetteEngine{knitr::rmarkdown}` in your vignette)

- indentation is preserved when using chunk references `<<>>`, i.e., if `<<>>` is indented, the spaces before it will be applied to the code that it refers to (thanks, Terry Therneau)

Expand Down
2 changes: 1 addition & 1 deletion R/pandoc.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#' @references Pandoc: \url{https://pandoc.org}; Examples and rules of the
#' configurations: \url{https://yihui.org/knitr/demo/pandoc/}
#'
#' Also see R Markdown (v2) at \url{http://rmarkdown.rstudio.com}. The
#' Also see R Markdown (v2) at \url{https://rmarkdown.rstudio.com}. The
#' \pkg{rmarkdown} package has several convenience functions and templates
#' that make it very easy to use Pandoc. The RStudio IDE also has
#' comprehensive support for it, so I'd recommend users who are not familiar
Expand Down
2 changes: 1 addition & 1 deletion R/themes.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ get_theme = function(theme = NULL) {
#' @note The syntax highlighting here only applies to \file{.Rnw} (LaTeX) and
#' \file{.Rhtml} (HTML) documents, and it does not work for other types of
#' documents, such as \file{.Rmd} (R Markdown, which has its own syntax
#' highlighting themes; see \url{http://rmarkdown.rstudio.com}).
#' highlighting themes; see \url{https://rmarkdown.rstudio.com}).
#' @export
#' @examples opts_knit$set(out.format='latex'); knit_theme$set('edit-vim')
#'
Expand Down
2 changes: 1 addition & 1 deletion inst/examples/knitr-manual.bib
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ @book{xie2013
year = {2015},
edition = {2nd},
note = {ISBN 978-1498716963},
url = {http://yihui.org/knitr/}
url = {https://yihui.org/knitr/}
}
2 changes: 1 addition & 1 deletion inst/examples/knitr-packages.bib
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ @Manual{R-knitr
author = {Yihui Xie},
year = {2016},
note = {R package version 1.15},
url = {http://yihui.org/knitr/},
url = {https://yihui.org/knitr/},
}
@Manual{R-MASS,
title = {MASS: Support Functions and Datasets for Venables and Ripley's MASS},
Expand Down
2 changes: 1 addition & 1 deletion man/knit_theme.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/pandoc.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vignettes/knitr-markdown.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ library(knitr)

This is an example of Markdown vignettes in R. Before R 3.0.0, only Sweave/PDF vignettes were supported in R. Markdown is gaining popularity over the years due to its simplicity, and R 3.0.0 starts to support package vignettes written in R Markdown.

> Please note this example is for [R Markdown v1](http://rmarkdown.rstudio.com/authoring_migrating_from_v1.html) only. If you use [R Markdown v2](http://rmarkdown.rstudio.com/), you should use the vignette engine `knitr::rmarkdown` instead of `knitr::knitr`.
> Please note this example is for [R Markdown v1](https://rmarkdown.rstudio.com/authoring_migrating_from_v1.html) only. If you use [R Markdown v2](https://rmarkdown.rstudio.com/), you should use the vignette engine `knitr::rmarkdown` instead of `knitr::knitr`.
## Package vignettes

Expand Down

0 comments on commit 4bb79f2

Please sign in to comment.