Learn R Programming

R.rsp (version 0.40.0)

RRspPackage$capabilitiesOf: Checks which tools are supported

Description

Checks which tools are supported.

Usage

## Static method (use this): ## RRspPackage$capabilitiesOf(what=NULL, force=FALSE, ...)
## Don't use the below: "capabilitiesOf"(static, what=NULL, force=FALSE, ...)

Arguments

what
Optional character vector of which tools to check.
force
If TRUE, cached results are ignored, otherwise not.
...
Not used.

Value

Returns a logical named character vector.

Examples

Run this code
  # Display which tools are supported by the package
  print(capabilitiesOf(R.rsp))

  # Check whether AsciiDoc is supported
  print(isCapableOf(R.rsp, "asciidoc"))

  # Check whether pandoc v1.12 or newer is supported
  print(isCapableOf(R.rsp, "pandoc (>= 1.12)"))

Run the code above in your browser using DataLab