here::here() is intended for interactive use (see docs) and should be replaced. Remove all calls to source() in Rmd files as well, and instead load those utility functions in the package R code.
Generally speaking, all utility functions and reusable functions should be in the package, not in Rmd files, and not in sourced files.
here::here()
is intended for interactive use (see docs) and should be replaced. Remove all calls tosource()
in Rmd files as well, and instead load those utility functions in the package R code.Generally speaking, all utility functions and reusable functions should be in the package, not in Rmd files, and not in sourced files.