I am submitting a package to CRAN and I have got the below warning from the reviewers team:
Package has a VignetteBuilder field but no prebuilt vignette index.
that I have in fact seen also when running devtools::release()
. I am using the last R
version as R version 3.3.1
and have the following .Rmd
vignette source:
---
date: "`r Sys.Date()`"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{<my vignette title>}
%\VignetteEngine{knitr::knitr}
%\usepackage[utf8]{inputenc}
---
Moreover, I have included knitr
in the DESCRIPTION
file as per default:
Suggests:
knitr
VignetteBuilder:
knitr
I have looked around and, although the issue seems to be quite common, I have not been able to understand why the index does not build (and how to force build it).
This question and links therein are the top google results but do not solve the problem.
title
? And the last line is sometimes%VignetteEncoding{UTF-8}
or just\usepackage[utf8]{inputenc}
– Radioscopy%VignetteEncoding{UTF-8}
. I suppose the problem is elsewhere, it must be in the building properties or the like. – Gyro.Rbuildignore
. For me the issue was that I hadbuild
included there, which you should not do. – Setose