R's 'options' documentation mentions these two entries:
TRUE, the source code for functions (newly defined or loaded) is stored internally allowing comments to be kept in the right places. Retrieve the source by printing or using
deparse(fn, control = "useSource").
The default is
TRUEfor interactive use.
keep.source, used only when packages are installed. Defaults to
FALSEunless the environment variable R_KEEP_PKG_SOURCE is set to
Reading through the Debugging with RStudio article, I noticed it does advise to build your packages --with-keep-source (and that this is the default for RStudio), but keep.source.pkgs is nowhere mentioned.
What is the right way to use this option? What does it add?