Skip to content

Latest commit

 

History

History

setup-r-openbsd

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

r-hub/actions/setup-r-openbsd

Setup R on OpenBSD

It creates, sets up and starts a OpenBSD VM with R. It uses the awesome https://github.com/vmactions project internally for all the heavy lifting.

Features

  • Starts OpenBSD VM with R and pak installed.
  • Sets up the Rscript custom shell to run R code on the VM.
  • Sets up the openbsd custom shell to run shell code on the VM.

Example

- uses: r-hub/actions/setup-r-openbsd@v1
  with:
    release: '7.6'

- name: Run R code on the OpenBSD VM
  shell: Rscript {0}
  run: |
    sessionInfo()

- name: Run shell code on the OpenBSD VM
  shell: openbsd {0}
  run: |
    uname -a

Inputs

Example workflow for R packages

See the [openbsd.yaml] file for a complete example workflow for R packages.

License

MIT @ Posit Software, PBC