code: def _verify_r_package(min_version="0.0.0.9001"):
      installed_version = r_package_version()
      if not installed_version:
          raise REnvError(
              "R package 'guildai' is not installed\n"
              "Install it by running 'guild run r-script:init' and try again."
          )
      if installed_version < min_version:
          raise REnvError(
              f"R package 'guildai' is too old (got version '{installed_version})'\n"
              "Upgrade the package by running 'guild run r-script:init' and try again."
          )
  
file_path: guildai/guild/plugins/r_util.py
imports: import os
  import re
  import subprocess
  from guild import util
label_desc: Use image node_id 4 for calling a global function with example usage: _verify_r_package(min_version) without return types