Resource

Resources are files that support the component. The first resource should be a script that will be executed when the component is run. Additional resources will be copied to the same directory.

Common properties:

Example:

resources:
  - type: r_script
    path: script.R
  - type: file
    path: resource1.txt