eddelbuettel / pinp

Pinp Is Not PNAS -- Two-Column PDF Template
147 stars 25 forks source link

bib.tex not part of package? #53

Closed saghirb closed 6 years ago

saghirb commented 6 years ago

Has the bib.tex file been intentionally omitted from the pinp package?

From YAML:

# Produce a pinp document
output:
  pinp::pinp:
    includes:
      after_body: bib.tex
eddelbuettel commented 6 years ago

Arrg. It is possible that my .Rbuildignore caught that. For now fetch it from here

eddelbuettel commented 6 years ago

No, you are likely looking at an older release or some other issue. The tarball I uploaded has it:

edd@rob:~/git/pinp(master)$ tar tvzf /tmp/pinp_0.0.5.tar.gz | grep bib
-rw-r--r-- edd/edd        3068 2017-09-18 07:02 pinp/inst/rmarkdown/templates/pdf/skeleton/pinp.bib
-rw-r--r-- edd/edd        1492 2018-06-08 05:20 pinp/vignettes/bib.tex
edd@rob:~/git/pinp(master)$

It would hardly have survived the checks here and at CRAN (though maybe not all rebuild vignettes; theirs do and I also submitted for 2 x 2 builds the win-builder). I suspect the issue is local to you.

saghirb commented 6 years ago

I have version 0.0.5 installed and indeed it is exactly as you say :) However I lazily assumed it would be part of the installed pinp/doc/ where I took the pinp.Rmd file from. Problem solved.

Thanks for your quick response.

eddelbuettel commented 6 years ago

Ah, yes, it is an "R thing" -- sources for output in doc/ are always in the vignettes/ directory.