create R file with code content and fun name

create_r_files(fun_code, pkg)

Arguments

fun_code

R code of functions in Rmd as character

pkg

Path to package