./textproc/R-reprex, Prepare Reproducible Example Code via the Clipboard

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.1.0, Package name: R-reprex-2.1.0, Maintainer: pkgsrc-users

Convenience wrapper that uses the 'rmarkdown' package to render small
snippets of code to target formats that include both code and output.
The goal is to encourage the sharing of small, reproducible, and
runnable examples on code-oriented websites, such as
<https://stackoverflow.com> and <https://github.com>, or in email. The
user's clipboard is the default source of input code and the default
target for rendered output. 'reprex' also extracts clean, runnable R
code from various common formats, such as copy/paste from an R
session.


Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2024-01-18 16:12:23 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
(textproc/R-reprex) Updated 2.0.1 to 2.1.0

# reprex 2.1.0

* `reprex()` no longer includes the full traceback by default, as this is
  only useful in relatively rare situations, and otherwise adds a bunch
  of clutter (#448).

* The unexported `prex_*()` functions protect the current session from option
  changes coming from reprex's own machinery, such as disabling color (#427).

# reprex 2.0.2

* The ad placed by `reprex(advertise = TRUE)` has been tweaked for
  `venue = "gh"` (and, therefore, for its aliases `"so"` and \ 
`"ds"`) and `venue = "slack"` (#395).

* reprex takes advantage of rlang 1.0.0's improved
  [support for backtraces in knitted documents]
  \ 
(https://rlang.r-lib.org/reference/rlang_backtrace_on_error.html#errors-in-rmarkdown)
  and sets the option `rlang_backtrace_on_error_report = "full"` (#377).

* `reprex_rtf()` (a shortcut for `reprex(venue = "rtf")`) now works on \ 
Windows,
   even if one of the (possibly temporary) filepaths contains a space,
   e.g. because the username contains a space (#409, @cderv).

* The RStudio addin no longer displays a warning about condition length when
selecting 'current file' as the reprex source (#391, @bisaloo).

* Internal matters:

  - Help files below `man/` have been re-generated, so that they give rise to
    valid HTML5. (This is the impetus for this release, to keep the package
    safely on CRAN.)
  - reprex's condition signalling has been updated to use the current approaches
    provided by the cli, rlang, and lifecycle packages.
   2022-04-23 07:35:10 by Makoto Fujiwara | Files touched by this commit (3)
Log message:
(textproc/R-reprex) import R-reprex-2.0.1

Convenience wrapper that uses the 'rmarkdown' package to render small
snippets of code to target formats that include both code and output.
The goal is to encourage the sharing of small, reproducible, and
runnable examples on code-oriented websites, such as
<https://stackoverflow.com> and <https://github.com>, or in email. The
user's clipboard is the default source of input code and the default
target for rendered output. 'reprex' also extracts clean, runnable R
code from various common formats, such as copy/paste from an R
session.