On Tue, Jan 21, 2020 at 9:40 AM Gábor Csárdi wrote:
>
> Yeah, I agree that it would be the best to have something similar in base R.
>
> Short of that, we could have a short piece of code that you could just
> insert into your package, and it would declare the itself as vignette
> builder, which j
Yeah, I agree that it would be the best to have something similar in base R.
Short of that, we could have a short piece of code that you could just
insert into your package, and it would declare the itself as vignette
builder, which just does the copying.
G.
On Tue, Jan 21, 2020 at 5:30 PM Henri
On 21 January 2020 at 17:58, Ralf Stubner wrote:
| On Tue, Jan 21, 2020 at 5:50 PM Gábor Csárdi wrote:
| >
| > While R.rsp is a great workaround, I wish we had a better solution for
| > including a static PDF file in a package, one that does not require 6
| > additional packages to leave a file
The R.rsp::asis and R.rsp::tex could easily be pulled out from R.rsp
in a standalone package with zero dependencies. However, it would be
better if they could be brought into the 'tools' package. This is why
I never went down the path or making a standalone package (adding yet
another package to
Absolutely right Gabor.
Thanks for suggestion Henrik.
I tried to put the PDF directly in /inst/doc but apparently content is
overwritten during vignettes generation, although there exists no name
clash.
Will probably have to try R.rsp!
Le mar. 21 janv. 2020 à 17:32, Gábor Csárdi a
écrit :
>
Right. Then you _only_ need to install about 5 GBs of software to copy
a PDF file. :/
I guess if you already have LaTeX and you are sure that it will not
mess up your PDF, then this is another solution.
Gabor
On Tue, Jan 21, 2020 at 4:58 PM Ralf Stubner wrote:
[...]
> One can use a Sweave vigne
On Tue, Jan 21, 2020 at 5:50 PM Gábor Csárdi wrote:
>
> While R.rsp is a great workaround, I wish we had a better solution for
> including a static PDF file in a package, one that does not require 6
> additional packages to leave a file exactly as it is
One can use a Sweave vignette and simpl
While R.rsp is a great workaround, I wish we had a better solution for
including a static PDF file in a package, one that does not require 6
additional packages to leave a file exactly as it is
Gabor
On Tue, Jan 21, 2020 at 4:30 PM Henrik Bengtsson
wrote:
>
> It sounds like you want the PDF
It sounds like you want the PDF to have it appear as a package
vignette. You can use the R.rsp::asis vignette engine
(https://cran.r-project.org/package=R.rsp) to add static PDFs as
vignettes to your package. The PDF is included as-is during the
package *build* process (R CMD build) like other pa
Dear Neonira,
as Thierry said, the inst folder serves that purpose. To be a bit more
specific: any documentation you provide that doesn't need building, goes in the
inst/doc folder. That's also where R CMD build creates the output of vignettes
created with Sweave or knitr.
You find more inform
Dear Neonira.
Whatever file you place in the inst folder, will be available for the users
when they install the package.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE
I create a cheat sheet using MS-OFFICE and converted it at a PDF format.
I wonder in which folder of my package I should place it to be installed
with the package.
I tried instinctively in vignettes, but it doesn't seem to work correctly,
as I do not find it back in my package installation folde
12 matches
Mail list logo