Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ export(block_get_tags)
export(block_has_tags)
export(env_file)
export(env_package)
export(escape_examples)
export(is_s3_generic)
export(is_s3_method)
export(load_installed)
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# roxygen2 (development version)

* `escape_examples()` is now exported (#1450).

* `@docType package` now works more like documenting `"_PACKAGE"`,
creating a `{packagename}-package` alias and clearly suggesting that
you should switch to `"_PACKAGE"` instead (#1491).
Expand Down
1 change: 1 addition & 0 deletions R/rd-examples.R
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ format.rd_section_examples <- function(x, ...) {
#' by R core.
#'
#' @keywords internal
#' @export
#' @examples
#' # In examples we automatically escape Rd comments (%):
#' 100 %% 30
Expand Down