Skip to contents

Generates unit test code for an R function.

Usage

gen_tests(prompt = NULL)

Arguments

prompt

A character string specifying the prompt for the Gemini model. If NULL, a default prompt is used.

Value

#' A character string containing the generated unit test code.