ghactions (version 0.4.1)

use_ghactions: Workflow automation with GitHub Actions

Description

Sets up workflow automation, including continuous integration and deployment (CI/CD) for different kinds of R projects on GitHub actions. This function

  • Picks a set of sensible defaults for your project.

  • Transforms a list of workflow and action blocks into the GitHub actions syntax.

  • Adds a .github/main.workflow file to your repository.

Usage

use_ghactions(workflow = website())

list2ghact(workflow)

Arguments

workflow

[list(list())] A named list of blocks nested as:

Value

A logical vector indicating if file was modified.

Functions

  • list2ghact: Helper to turn block lists into strings. Useful when you want the result printed to console, not written to file.

See Also

Other setup: browse_github_actions, edit_workflow, use_dockerfile, use_ghactions_badge

Other setup: browse_github_actions, edit_workflow, use_dockerfile, use_ghactions_badge

Examples

Run this code
# NOT RUN {
use_ghactions(workflow = website())
# }
# NOT RUN {
# this will print the result to the console for inspection
# }
# NOT RUN {
list2ghact(workflow = website())
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab