Skip to content

Latest commit

 

History

History

setup-r-netbsd

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

r-hub/actions/setup-r-netbsd

Setup R on NetBSD

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

Features

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

Example

- uses: r-hub/actions/setup-r-netbsd@v1
  with:
    release: '10.0'

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

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

Inputs

Example workflow for R packages

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

License

MIT @ Posit Software, PBC