find_issue: Find an issue on GitHub with a particular title

View source: R/github_handling.R

find_issueR Documentation

Find an issue on GitHub with a particular title

Description

Given text and repository name, find if an issue exists.

Usage

find_issue(text, repo_name, token = NULL)

Arguments

text

What text to be searched for in the GitHub issues. Can be regex.

repo_name

the name of the repository, e.g. jhudsl/OTTR_Template

token

A personal access token from GitHub. Only necessary if the repository being checked is a private repository.

Value

A TRUE/FALSE whether or not the issue with this text on this repository exists.

Examples

## Not run: 

authorize("github")

find_issue(text = "TEST", repo_name = "jhudsl/ottrpal")

## End(Not run)

ottrpal documentation built on April 3, 2025, 7:46 p.m.