Learn R Programming

gemini.R (version 0.12.0)

gen_tests: Generates unit test code for an R function.

Description

Generates unit test code for an R function.

Usage

gen_tests(prompt = NULL)

Value

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

Arguments

prompt

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