[R-pkg-devel] URL of a frame (or a vignette)?

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Sun Sep 1 17:27:30 CEST 2019


I am not going to claim definitive knowledge, but my understanding of CRAN is that only the package URL that I copied from the page itself will remain if the package is archived. Thus, unless the package vignette has a non-CRAN permanent URL (e.g. arXiv) it may be safer in the long run to link through the main package URL.

On September 1, 2019 8:13:22 AM PDT, Georgi Boshnakov <georgi.boshnakov using manchester.ac.uk> wrote:
>Correction: 
>
>https://cran.r-project.org/package=bssm/vignettes/bssm.pdf
>
>
>-----Original Message-----
>From: R-package-devel [mailto:r-package-devel-bounces using r-project.org] On
>Behalf Of Georgi Boshnakov
>Sent: 01 September 2019 15:57
>To: Spencer Graves; Jeff Newmiller; r-package-devel using r-project.org
>Subject: Re: [R-pkg-devel] URL of a frame (or a vignette)?
>
>It may be better to use the canonical url,
>https://cran.r-project.org/package=bssm, as in:
>
>https://cran.r-project.org/package=bssm/bssm.pdf
>
>By the way, the vignettes for an installed package can be found by
>
>vignette(package="bssm")
>
>or
>
>help(package="bssm", help_type = "html")
>
>The latter has the advantage that it present links in a browser even if
>by default the help is presented in text mode.
>
>
>Georgi Boshnakov
>
>
>
>-----Original Message-----
>From: R-package-devel [mailto:r-package-devel-bounces using r-project.org] On
>Behalf Of Spencer Graves
>Sent: 01 September 2019 15:42
>To: Jeff Newmiller; r-package-devel using r-project.org
>Subject: Re: [R-pkg-devel] URL of a frame (or a vignette)?
>
>Hi, Jeff:
>
>
>      That's what I needed.  I clicked on the vignette I wanted and got
>
>the following:
>
>
>https://cran.r-project.org/web/packages/bssm/vignettes/bssm.pdf
>
>
>       Thanks,
>       Spencer Graves
>
>
>On 2019-09-01 09:37, Jeff Newmiller wrote:
>> Wouldn't you just refer to [1] or one of the links mentioned there?
>>
>> [1] https://cran.r-project.org/package=bssm
>>
>> On September 1, 2019 7:22:43 AM PDT, Spencer Graves
><spencer.graves using effectivedefense.org> wrote:
>>> Hello:
>>>
>>>
>>>        How can I get a URL for a frame?
>>>
>>>
>>>        Specifically, I want a URL that I can cite for the "bssm:
>>> Bayesian Inference of Non-linear and
>>> Non-Gaussian State Space Models in R" vignette in the bssm package
>on
>>> CRAN.  If the package is installed, it's available there as
>>> "bssm.pdf".
>>> However, I want to include it in an RMarkdown vignette I'm writing,
>and
>>>
>>> I'd rather not force the reader to be on a computer with the package
>>> installed -- and force myself to figure out a way to find it in that
>>> case, if that can even be done.
>>>
>>>
>>>        Thanks,
>>>        Spencer Graves
>>>
>>> ______________________________________________
>>> R-package-devel using r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>
>______________________________________________
>R-package-devel using r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-package-devel
>______________________________________________
>R-package-devel using r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-package-devel

-- 
Sent from my phone. Please excuse my brevity.



More information about the R-package-devel mailing list