Skip to content

01-Hello World!

01-Hello World! #1

Workflow file for this run

on:
workflow_dispatch
name: hello_world.yaml
jobs:
validate:
runs-on: ubuntu-latest
env:
RENV_CONFIG_PAK_ENABLED: TRUE
steps:
- uses: actions/checkout@v4
- name: Setup R
uses: r-lib/actions/setup-r@v2
- name: Install R packages
run: |
Rscript -e "install.packages('cowsay')"
- name: Say Hello
shell: Rscript {0} #run the commands as R code instead of bash
run: |
library(cowsay)
say(what = "Generated by R code, this is!", by = "yoda")