Package: ctrlvee 0.1.0
ctrlvee: Extract External 'R' Code and Insert Inline
An 'RStudio' and 'Positron' add-in that prompts the user for a web 'URL', fetches the page content, extracts 'R' code chunks, and inserts those code chunks into the active editor at the current cursor position. Supports extraction of raw 'Markdown' or 'Quarto' source files, 'GitHub' Gist and rendered 'HTML' pages that have markup elements with 'R'-related classes.
Authors:
ctrlvee_0.1.0.tar.gz
ctrlvee_0.1.0.zip(r-4.7)ctrlvee_0.1.0.zip(r-4.6)ctrlvee_0.1.0.zip(r-4.5)
ctrlvee_0.1.0.tgz(r-4.6-any)ctrlvee_0.1.0.tgz(r-4.5-any)
ctrlvee_0.1.0.tar.gz(r-4.7-any)ctrlvee_0.1.0.tar.gz(r-4.6-any)
ctrlvee_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
ctrlvee/json (API)
| # Install 'ctrlvee' in R: |
| install.packages('ctrlvee', repos = c('https://vpnagraj.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/vpnagraj/ctrlvee/issues
Last updated from:7844aaa983. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 125 | ||
| source / vignettes | OK | 159 | ||
| linux-release-x86_64 | OK | 128 | ||
| macos-release-arm64 | OK | 75 | ||
| macos-oldrel-arm64 | OK | 74 | ||
| windows-devel | OK | 76 | ||
| windows-release | OK | 100 | ||
| windows-oldrel | OK | 76 | ||
| wasm-release | OK | 121 |
Exports:%>%addin_crawl_chunkscrawl_chunkscrawl_chunks_htmlcrawl_chunks_rawdetect_strategyextract_r_chunks_from_htmlextract_r_chunks_from_markdown
Dependencies:askpassclicurlgluehttr2lifecyclemagrittropensslpurrrR6rappdirsrlangrstudioapisysvctrswithrxml2
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| RStudio / Positron Addin: Crawl R Chunks from a URL | addin_crawl_chunks |
| Fetch R code chunks from any URL | crawl_chunks |
| Fetch and extract R code blocks from a rendered HTML page | crawl_chunks_html |
| Fetch and extract R code from a raw source URL | crawl_chunks_raw |
| Detect the best extraction strategy for a URL | detect_strategy |
| Extract R code blocks from an HTML string | extract_r_chunks_from_html |
| Extract fenced R code chunks from a Markdown text string | extract_r_chunks_from_markdown |
