findText {stranslate}R Documentation

findText

Description

Extract all texts, getMsg, or setMsg calls in the R files given. Note that the ⁠'⁠ and ⁠"⁠ are part of the string, thus 'ROUND' has a length of 7!

Usage

findText(files, pattern = "\\w+{2,}")

Arguments

files

character: names of R files to analyse

pattern

character: pattern to match a string (default: "\\w+{2,}")

Value

a data frame with the columns

Examples

findText(system.file("messages", "messages.R", package="stranslate"))

[Package stranslate version 0.1.3 Index]