[ESS] view documentation while developing a package

Ahmadou Dicko d|cko@@hm@dou @end|ng |rom gm@||@com
Tue Feb 8 13:32:29 CET 2022


Hi Tyler,

Thanks for this message. I also have the same issue and also wanted to
check if there's a way to have this option back.
I'm using Emacs 29.0.50, ESS (20220201.816, elpa), R 4.1.2

Best,
Ahmadou

On Tue, Feb 8, 2022 at 1:29 AM Tyler Smith via ESS-help <
ess-help using r-project.org> wrote:

> Hi,
>
> I am working on a package using devtools. I recall in the past that when I
> loaded a package via `devtools::load_all` (or now via `C-c C-w l`), I could
> preview the documentation as if it was a normally installed package. i.e,
> `C-c C-v`, or ?functionname would bring up a regular help window.
>
> However, this hasn't worked for me for a while, and now I wonder if it
> ever did?
>
> For example, if I open an R process in the root directory of a package,
> and load the package via load_all(), pressing `C-c C-v` shows me a
> completion list for R help pages, including the help pages in the package
> from the current directory. But if I select one of those help files, I get
> the message 'can't find the documentation for <function>'. I can still open
> help files for other packages.
>
> Should this work? If it should, what do I need to do to configure it?
>
> I've tried using the functions from `ess-r-package-mode` as well as
> running the related commands (load_all, document) directly from the R
> command line in ESS. Neither works for me.
>
> Best,
>
> Tyler
> Emacs 29.0.50
> ESS 18.10.3 (from melpa)
> R 4.1.2 (Ubuntu)
>
>
> --
> plantarum.ca
>
> ______________________________________________
> ESS-help using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>


-- 
Ahmadou H. DICKO, PhD

Statistical consultant
Mobile: (+221) 77 123 81 69
Skype: dicko.ahmadou.h
Twitter : @dickoah
Gitlab: gitlab/dickoa
Github: github/dickoa

	[[alternative HTML version deleted]]



More information about the ESS-help mailing list