Hi, I try to updatet he package that I've on CRAN on 2019. After all modification I check the package in rstudio.
The vignette has defined as below
---
title: "PackageName"
subtitle: "myThematic"
author: "Name, 2019"
date: "`r Sys.Date()`"
output: html_vignette
vignette: >
\usepackage[ps2pdf,
bookmarks=true,
dvipsone=pdftex,
backref,
]{hyperref}
%\VignetteIndexEntry{PackageName}
%\VignetteEncoding{UTF-8}
%\SweaveUTF8
%\VignetteEngine{knitr::rmarkdown}
---
I received the message below
Erreur : Duplicate vignette titles.
Ensure that the %\VignetteIndexEntry lines in the vignette sources
correspond to the vignette titles.
Have you an idea how I can fix it?
Thanks in advance
Gabor
October 11, 2023, 10:15pm
2
Do you have multiple vignettes with the same title and index entry? Then try doing what the advice says, and make the names and index entries unique.
Yes I have several vignettes with the unique names.this means I follow up the advice unique in vignette title.
I don't understand this errors.
Shall I put %\VignetteIndexEntry{PackageName}?
The check is stopped here!
Gabor
October 12, 2023, 5:41am
4
Is your package open source? Can you share it with us?
Yes it's cartogRaflow is in CRAN. Right now I've made an update
Here the markdown GitHub - BlondeauSylvain/useSf: issue sf vs sp
So it's not necessary to use this link you can go directly in cartogRaflow github
Gabor
October 12, 2023, 7:46am
6
Right, your vignette title is Cartograflow
, and the index entry is CartogRaflow
(note the uppercase). So try making these match.
Yes, I've already seen that and I modify the remarkdown which you can find here : BlondeauSylvain/useSf: issue sf vs sp (github.com)
With this modification I've already the error message; it's really annoying this problem. I don't know how I can fix it!
Gabor
October 12, 2023, 9:16am
8
You did not fix it in this file:
---
title: "Cartograflow"
subtitle: "Filtering Matrix with concentration criterion for Thematic Flow Mapping"
author: "Cartograflow, 2020"
date: "`r Sys.Date()`"
output: html_vignette
vignette: >
\usepackage[ps2pdf,
bookmarks=true,
dvipsone=pdftex,
backref,
]{hyperref}
%\VignetteIndexEntry{CartogRaflow}
%\VignetteEncoding{UTF-8}
%\SweaveUTF8
%\VignetteEngine{knitr::rmarkdown}
---
This vignette of `Cartograflow` is dedicated to the concentration analysis of an origin-destination matrix for flow mapping purposes.
This file has been truncated. show original
Also, you don't have unique vignette titles, the title is the same for all your vignettes:
---
title: "Cartograflow"
subtitle: "Filtering Matrix with concentration criterion for Thematic Flow Mapping"
author: "Cartograflow, 2020"
date: "`r Sys.Date()`"
output: html_vignette
vignette: >
\usepackage[ps2pdf,
bookmarks=true,
dvipsone=pdftex,
backref,
]{hyperref}
---
title: "Cartograflow"
subtitle: "Filtering Matrix with continuous distance criterion for Thematic Flow Mapping"
author: "Cartograflow, 2020"
date: "`r Sys.Date()`"
output: html_vignette
vignette: >
\usepackage[ps2pdf,
bookmarks=true,
dvipsone=pdftex,
backref,
]{hyperref}
---
title: "Cartograflow"
subtitle: "Filtering Origin-Destination Matrix for Thematic Flow Mapping"
author: "Françoise Bahoken, Sylvain Blondeau"
date: "`r Sys.Date()`"
output: html_vignette
vignette: >
\usepackage[ps2pdf,
bookmarks=true,
dvipsone=pdftex,
backref,
]{hyperref}
---
title: "Cartograflow"
subtitle: "Filtering Matrix with ordinal distance criterion for Thematic Flow Mapping"
author: "Cartograflow, 2020"
date: "`r Sys.Date()`"
output: html_vignette
vignette: >
\usepackage[ps2pdf,
bookmarks=true,
dvipsone=pdftex,
backref,
]{hyperref}
As I told you in the previous post I worked in new version of cartograflow.
Right now I've modified all Rmarkdonw here :
useSf/vignettes at main · BlondeauSylvain/useSf (github.com)
I've put the same title in all Rmarkdown and I've always the error!
Gabor
October 12, 2023, 10:30am
10
Yes, that's where I was linking to. You need to have a different title for each vignette. You cannot use the same title for all vignettes like you do. Or maybe it is enough to have different \VignetteIndexEntry
for each.
If I understand correctly, I have to put a different title on each .Rmd,
If yes, I will try.
I don't know if it's possible to put different `VignetteIndexEntry` for each because Title must be =equal to \VignetteIndexEntry.
it's a mystery because I ran cartograflow in CRAN with this configuration
Gabor
October 12, 2023, 10:54am
12
You only have one vignette in the package on CRAN, so not exactly the same.
system
Closed
October 19, 2023, 10:55am
13
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.