File: capabilities.R

package info (click to toggle)
r-cran-r.rsp 0.45.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,568 kB
  • sloc: javascript: 612; tcl: 304; sh: 18; makefile: 16
file content (9 lines) | stat: -rw-r--r-- 276 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
library("R.rsp")

cat("Tools supported by the package:\n")
print(capabilitiesOf(R.rsp))

# Check capabilities one by one
for (what in c("asciidoc", "knitr", "markdown", "latex", "pandoc", "sweave", "unknown")) {
  cat(sprintf(" - %s: %s\n", what, isCapableOf(R.rsp, what)))
}