I'm confused as to why my R package's vignette is in HTML on CRAN and not a pdf.
I followed the advice at Enforce PDF package vignette with knitr and used
%\VignetteEngine{knitr::rmarkdown}
to generate the vignette, but there it is, a pdf. The full header of one of the files is
---
title: "wCorr Formulas"
author: "Paul Bailey, Ahmad Emad, Ting Zhang, Qingshu Xie"
date: '`r Sys.Date()`'
output:
pdf_document: default
vignette: |
%\VignetteEngine{knitr::rmarkdown}
%\VignetteIndexEntry{wCorr Formulas}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
---
you can see the whole package at https://github.com/cran/wCorr or, before it gets built at https://github.com/ahmademad/wCorr