I’ve been testing R Markdown recently so this may be a very basic question but haven’t been able to find a solution.
I wrote a custom package with several functions I routinely use for some analysis I have to do for my work. If I run the script as an R script it runs with no problem. When I embed the same code within an r chunk in a notebook is doesn’t run.
I’m sure I missing something when building my package but can’t find what. I found some references on how to call external R scripts but nothing really related to custom-made packages.
I would appreciate any hint...
Best,
Christian