search_grep | R Documentation |
The search_grep()
function searches all public code on
GitHub using grep.app by
querying: https://grep.app/search?q=<query-here>&filter[lang][0]=R
search_grep(query = geterrmessage(), rlang = TRUE)
query |
Contents of string to search. Default is the error message. |
rlang |
Search for results written in R. Default is |
The generated search URL or an empty string.
Other code repositories:
search_bitbucket()
,
search_github()
# Search R code on GitHub for numerical optimization
search_grep("optim")
# Search all code on GitHub for numerical optimization
search_grep("optim", rlang = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.