Skip to content

Releases: mdlincoln/clipr

clipr 0.8.0

23 Feb 13:58
Compare
Choose a tag to compare
  • Add handlers for using the clipboard on systems using Wayland via wl-clipboard. Thank you to @nacnudus for the PR.
  • For R >= 4.2, write_clip() calls on Windows are modified to work well with R's shift to supporting UTF-8 as a native encoding on Windows. Thank you to @yutannihilation for the PR. Read more here: #62
  • Moved CI off of Travis and on to GitHub Actions
  • Clipr now has a pkgdown site at https://matthewlincoln.net/clipr/

clipr 0.7.1

08 Oct 15:29
Compare
Choose a tag to compare
  • Call xsel with the --output flag, which prevents RStudio from hanging when calling clipr functions on a system running certain Linux window managers. Thank you to @cgillespie and @kevinushey for identifying the bug and the solution, and to @hannahcgunderman for help in testing.

clipr 0.7.0

25 Jul 02:27
Compare
Choose a tag to compare

Thank you to @jennybc for prompting these changes:

  • Before attempting to read/write form the clipboard, clipr_available() will first explicitly check if it is being run non-interactively, and if so, if the CLIPR_ALLOW environment variable has been set. This will hopefully prevent starting spurious Linux processes during CRAN tests.
  • Out of an abundance of caution, read_clip() now does the same interactive/envvar check that write_clip() does.
  • Some documentation clarifications

clipr 0.6.0

16 Apr 13:47
Compare
Choose a tag to compare

Thank you to @wangyuchen for making the following suggestions:

  • To make clipr more pipe-friendly, write_clip() now defaults to return_new = FALSE, and will instead return the initial object that was passed in. To get the old behavior, pass return_new = TRUE

  • In an effort to make write_clip() and read_clip_tbl() more symmetrical, write_clip() now defaults to writing out row and column names when they exist.

  • Introduces write_last_clip(), a wrapper function for write_clip(.Last.value)

clipr 0.5.0

12 Jan 12:45
Compare
Choose a tag to compare
  • To comply with CRAN policy, write_clip() will now error by default if run in
    a non-interactive session. Non-interactive use must be explicitly enabled by
    setting an environment variable CLIPR_ALLOW=TRUE.

  • Documented that the default behavior when writing matrices to write_clip()
    is col.names = FALSE

clipr 0.4.1

12 Jan 12:44
Compare
Choose a tag to compare
  • Correct a formatting error by adding and separation character to tables when
    they are being written with rownames.

clipr 0.4.0

03 Nov 15:18
Compare
Choose a tag to compare
  • Introduces dr_clipr(), which gives informative suggestions for software and
    configuration requirements when accessing the clipboard on X11-based systems.

clipr 0.3.3

20 Jun 15:47
Compare
Choose a tag to compare
  • Due to poor testing and configuration options, clipr was not delivering on its
    promised support for xsel :( This has now been fixed, with more complete Travis
    tests, and some core fixes by @MilesMcBain.

clipr 0.3.2

10 Jan 05:36
Compare
Choose a tag to compare
  • Suppress an erroneous warning on OS X / X11 systems when trying to write an
    empty string to the clipboard.
  • Fix error when NA is passed to write_clip(). This will now write "NA" to
    the clipboard.
  • Fix error when passing NULL or an empty vector (e.g. character(0)). This
    will now write "" to the clipboard.

clipr 0.3.1

10 Jan 04:55
Compare
Choose a tag to compare
  • Fixes a breaking bug that caused clipr_available to erroneously return
    FALSE. Thank you to @krivit for catching this.
  • Introduces better testing of clipr_available to properly evaluate it on
    Travis CI.