add_github_actions_codemeta: Setup GitHub Actions to update codemeta.json

View source: R/add_github_actions_codemeta.R

add_github_actions_codemetaR Documentation

Setup GitHub Actions to update codemeta.json

Description

This function creates a configuration file (.yaml) to setup GitHub Actions to update the codemeta.json. This workflow is derived from https://github.com/r-lib/actions/tree/v2-branch/examples. This file will be written as .github/workflows/update-citation-cff.yaml.

This function also create the codemeta.json using the package codemetar.

Usage

add_github_actions_codemeta(open = FALSE, overwrite = FALSE, quiet = FALSE)

Arguments

open

A logical value. If TRUE (default) the file is opened in the editor.

overwrite

A logical value. If this file is already present and overwrite = TRUE, it will be erased and replaced. Default is FALSE.

quiet

A logical value. If TRUE messages are deleted. Default is FALSE.

Value

No return value.

See Also

Other development functions: add_dependencies(), add_github_actions_check(), add_github_actions_citation(), add_github_actions_codecov(), add_github_actions_document(), add_github_actions_pkgdown(), add_github_actions_render(), add_r_depend(), add_to_buildignore(), add_to_gitignore()

Examples

## Not run: 
add_github_actions_codemeta()

## End(Not run)

FRBCesab/rcompendium documentation built on Feb. 9, 2025, 2:25 p.m.