code: def test_R_version(links):
      links.set(
          "R --version",
          _run_cmd(
              ["R", "--version"],
              yatest.common.output_path("r_version.out"),
          ),
      )
  
imports: import subprocess
  import yatest
label_desc: Use image node_id 2 for calling a global function with example usage: test_R_version(links) without return types