Create temp file in subject module folder

subject_tmpfile(
  module_id,
  fun_name = "",
  project_name,
  subject_code,
  pattern = "file_",
  data_env = getDefaultDataRepository()
)

Arguments

module_id

module id

fun_name

function name (usually export_"function_name" in the module)

project_name

project name

subject_code

subject code

pattern

passed to tempfile

data_env

internally used