File: find-utils.R

package info (click to toggle)
r-cran-parsetools 0.1.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 780 kB
  • sloc: sh: 13; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 138 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8



#@internal
.find_text <- function(text, pd=get('pd', parent.frame())){
    stopifnot(length(text)==1L)
    pd[pd$text == text, 'id']
}