Search
Question: built vignette using knitr
0
gravatar for kmezhoud
19 months ago by
kmezhoud0
Tunisia
kmezhoud0 wrote:

Dear All,

I am setting vignette using knitr package.

In DESCRIPTION file I added:

Suggests:
    BiocStyle,
    rmarkdown (>= 0.4.2),
    testthat (>= 0.10.0),
    rappdirs
VignetteBuilder: knitr

In Rmd file, I started by:

---
title: "bioCancer: Interactive Multi-OMICS Cancers Data Visualization and Analysis"
author: "\\
    Karim Mezhoud (<kmezhoud@gmail.com>)\\
        Nuclear Science Center of Tunisia, Nuclear Safety & Security Department"
date: "`r Sys.Date()`"
output:
  BiocStyle::html_document:
    toc: true
  BiocStyle::pdf_document:
    toc: true
vignette: >
  %\VignetteIndexEntry{bioCancer: Interactive Multi-OMICS Cancers Data Visualization and Analysis}
  %\VignetteEngine{knitr::rmarkdown}
  %\VignetteDepends{AnnotationHub}
  %\usepackage[utf8]{inputenc}
---

I am having this error:

* creating vignettes ... ERROR
Error: Vignette 'bioCancer.Rmd' is non-ASCII but has no declared encoding
Execution halted
Error: Command failed (1)
Execution halted

Exited with status 1.

 

Thanks

Karim

ADD COMMENTlink written 19 months ago by kmezhoud0

For the record, looks like this was asked (and answered?) on bioc-devel (which is, IMO, a more appropriate place for it).

https://stat.ethz.ch/pipermail/bioc-devel/2016-April/009080.html

 

ADD REPLYlink modified 19 months ago • written 19 months ago by Dan Tenenbaum ♦♦ 8.2k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 147 users visited in the last hour