./math/R-rstudioapi, Safely access the RStudio API

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


Branch: CURRENT, Version: 0.17.1, Package name: R-rstudioapi-0.17.1, Maintainer: pkgsrc-users

Access the RStudio API (if available) and provide informative error
messages when it's not.


Required to run:
[math/R]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2024-11-16 14:32:27 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(math/R-rstudioapi) Updated 0.15.0 to 0.17.1

# rstudioapi 0.17.1

* Ensure a more appropriate error message is emitted for calls to
  `rstudioapi::getVersion()` and `rstudioapi::getMode()` outside
  of RStudio.

# rstudioapi 0.17.0

* Added `getMode()`, which can be used to differentiate between Desktop
  and Server installations of RStudio. (#280)

# rstudioapi 0.16.0

* `restartSession()` gains the `clean` argument, for RStudio 2024.04
  and newer.

* Added `setGhostText()` for setting ghost text in the current editor.
   2023-08-11 04:21:22 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(math/R-rstudioapi) Updated 0.14 to 0.15.0

# rstudioapi 0.15.0

* Added `getDelegatedAzureToken` for Posit Workbench users needing to expose
  OAuth2 tokens for Azure services that have already had permissions configured
   2023-06-08 18:09:11 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(math/R-rstudioapi) Updated 0.13 to 0.14

# rstudioapi 0.14 (UNRELEASED)

* `documentPath()` now marks the encoding of file paths as UTF-8. (#257)

* `getSourceEditorContext()` gains the `id` argument, to be used to request
  the editor context for a document with an already-known ID. (#251)

* Added `documentOpen()`, for opening a document in RStudio and optionally
  navigating the cursor to a particular point in the file. The method is
  synchronous and returns the document ID upon completion.

* Fixed an issue where `rstudioapi::askForSecret()` would erroneously fall back
  to using `rstudioapi::askForPassword()` during Knit.

* Added `registerCommandCallback`, `registerCommandStreamCallback`, and
  `unregisterCommandCallback`, used to execute a callback after an IDE command
  is executed.
   2021-10-26 12:56:13 by Nia Alarie | Files touched by this commit (458)
Log message:
math: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:28:36 by Nia Alarie | Files touched by this commit (458)
Log message:
math: Remove SHA1 hashes for distfiles
   2021-09-18 13:30:32 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(math/R-rstudioapi) Updated 0.11 to 0.13

# rstudioapi 0.13

* Fixed an issue where `rstudioapi::insertText()` would fail. (#208)

# rstudioapi 0.12

* Fixed an issue where remote `rstudioapi` calls would erroneously use
  a previous response in some cases.

* Allow `navigateToFile` to accept an empty file. This file will
  default to the file currently in view in the active column.

* Added `registerChunkExecCallback` and `unregisterChunkExecCallback`,
  used to execute a callback after a chunk is ran.
   2020-09-20 16:50:51 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(math/R-rstudioapi) Updated 0.10 to 0.11

# rstudioapi 0.11

* `rstudioapi::launcherResourceLimit()` now properly delegates the type
  and memory arguments. (#164)

* `rstudioapi` gains the function `highlightUi()`, used to highlight UI
  elements in newer versions of RStudio.

* Paths returned from `selectFile()` are now properly marked with
  UTF-8 encoding.

* It is now possible for `rstudioapi` to communicate with a parent RStudio
  session, for R sessions launched as RStudio jobs. Use
    `rstudioapi::isAvailable(child_ok = TRUE)` to assert that it's okay to check
      that `rstudioapi` is available and is running within an RStudio job.

* Added `bugReport()`, a helper function for reporting RStudio bugs
  on the GitHub issue tracker with an issue template pre-populated
    with some helpful diagnostic information.

* Added `userIdentity` and `systemUsername`, used to retrieve information about
  the current user.
   2019-08-08 21:53:58 by Brook Milligan | Files touched by this commit (189) | Package updated
Log message:
Update all R packages to canonical form.

The canonical form [1] of an R package Makefile includes the
following:

- The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as
  needed), and CATEGORIES.

- HOMEPAGE is not present but defined in math/R/Makefile.extension to
  refer to the CRAN web page describing the package.  Other relevant
  web pages are often linked from there via the URL field.

This updates all current R packages to this form, which will make
regular updates _much_ easier, especially using pkgtools/R2pkg.

[1] http://mail-index.netbsd.org/tech-pkg/2019/08/02/msg021711.html