Up to [cvs.NetBSD.org] / pkgsrc / math / R-rstudioapi
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
(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.
(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
(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.
(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.
(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.
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
R-rstudioapi: initial commit. Access the RStudio API (if available) and provide informative error messages when it's not.