I'm preparing to submit a package to CRAN. Each function is contained in a separate file inside the R/ folder. One of these functions contains a three-part sequential data science workflow and it would help for cleanliness and readability if I could explain this in a .Rmd instead of comment lines. Thus, I would like to include this function in the package as .Rmd instead of .R. Is this possible, and allowed by CRAN?
Would this then require knittr as a dependency for running the package?