gen_tests: Generates unit test code for an R function.

View source: R/gen_tests.R

gen_testsR Documentation

Generates unit test code for an R function.

Description

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.


gemini.R documentation built on April 11, 2025, 6:11 p.m.

Related to gen_tests in gemini.R...