Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/REditorSupport/vscode-R
/ isRChunkLine
Function
isRChunkLine
src/rmarkdown/chunks.ts:9–11 ·
view source on GitHub ↗
(text: string)
Source
from the content-addressed store, hash-verified
7
}
8
9
function
isRChunkLine(text: string) {
10
return
(!!text.match(/^#+\s*%%/g));
11
}
12
13
function
isChunkStartLine(text: string, isRDoc: boolean) {
14
if
(isRDoc) {
Callers
2
isChunkStartLine
Function · 0.85
isChunkEndLine
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected