LaTeX Error: Option clash for package xcolor on CRAN Debian builds
Just a quick preface, I have looked into all the other stackoverflow comments I can find related to this error and cannot still correct or identify my issue based on existing posts.
I am currently having an issue getting past a warning that's occurring on linux based builds for my vignette. The warning is:
LaTeX Error: Option clash for package xcolor.
The check results are here:
https://win-builder.r-project.org/incoming_pretest/DEVis_1.0.1_20181220_164555/Debian/00check.log
Windows and OS X builds work fine, but I don't have access to a debian machine that I can reproduce this on. I currently cannot reproduce this issue on my side, and travis-ci checks do not seem to produce this warning for linux on ubuntu. I can only see it currently when submitting an update to my package and failing the cran auto-checks.
I have recently changed from PDF vignette to html-based, and am not sure why latex packages would even be loading in this case. I have attempted to correct for it based on this post, which claims the issue is a conflict between kableExtra and xcolor.
Some relevant sections of code from the vignette might include:
vignette: |
%VignetteIndexEntry{DEVis}
%usepackage[utf8]{inputenc}
%usepackage[table]{xcolor}
%VignetteEngine{knitr::knitr}
---
```{r loadData, echo = F, eval = TRUE}
#load("../data/exampleData.Rda")
knitr::opts_knit$set(root.dir ='../vignettes/')`
knitr::opts_chunk$set(fig.path='figure/graphics-',
cache.path='cache/graphics-',
fig.align='center',
external=TRUE,
echo=TRUE,
warning=FALSE,
fig.pos='H'
)
a4width<- 8.3
a4height<- 11.7
library(kableExtra)
library(rmarkdown)
library(knitr)
options(knitr.table.format = "html")
options(kableExtra.latex.load_packages = FALSE)
The full package code can be found here: https://github.com/price0416/DEvis
I would appreciate any insight anyone can offer into this issue, as I cannot update my package until I get to the bottom of this! Thanks very much in advance!
r debian r-package cran
add a comment |
Just a quick preface, I have looked into all the other stackoverflow comments I can find related to this error and cannot still correct or identify my issue based on existing posts.
I am currently having an issue getting past a warning that's occurring on linux based builds for my vignette. The warning is:
LaTeX Error: Option clash for package xcolor.
The check results are here:
https://win-builder.r-project.org/incoming_pretest/DEVis_1.0.1_20181220_164555/Debian/00check.log
Windows and OS X builds work fine, but I don't have access to a debian machine that I can reproduce this on. I currently cannot reproduce this issue on my side, and travis-ci checks do not seem to produce this warning for linux on ubuntu. I can only see it currently when submitting an update to my package and failing the cran auto-checks.
I have recently changed from PDF vignette to html-based, and am not sure why latex packages would even be loading in this case. I have attempted to correct for it based on this post, which claims the issue is a conflict between kableExtra and xcolor.
Some relevant sections of code from the vignette might include:
vignette: |
%VignetteIndexEntry{DEVis}
%usepackage[utf8]{inputenc}
%usepackage[table]{xcolor}
%VignetteEngine{knitr::knitr}
---
```{r loadData, echo = F, eval = TRUE}
#load("../data/exampleData.Rda")
knitr::opts_knit$set(root.dir ='../vignettes/')`
knitr::opts_chunk$set(fig.path='figure/graphics-',
cache.path='cache/graphics-',
fig.align='center',
external=TRUE,
echo=TRUE,
warning=FALSE,
fig.pos='H'
)
a4width<- 8.3
a4height<- 11.7
library(kableExtra)
library(rmarkdown)
library(knitr)
options(knitr.table.format = "html")
options(kableExtra.latex.load_packages = FALSE)
The full package code can be found here: https://github.com/price0416/DEvis
I would appreciate any insight anyone can offer into this issue, as I cannot update my package until I get to the bottom of this! Thanks very much in advance!
r debian r-package cran
add a comment |
Just a quick preface, I have looked into all the other stackoverflow comments I can find related to this error and cannot still correct or identify my issue based on existing posts.
I am currently having an issue getting past a warning that's occurring on linux based builds for my vignette. The warning is:
LaTeX Error: Option clash for package xcolor.
The check results are here:
https://win-builder.r-project.org/incoming_pretest/DEVis_1.0.1_20181220_164555/Debian/00check.log
Windows and OS X builds work fine, but I don't have access to a debian machine that I can reproduce this on. I currently cannot reproduce this issue on my side, and travis-ci checks do not seem to produce this warning for linux on ubuntu. I can only see it currently when submitting an update to my package and failing the cran auto-checks.
I have recently changed from PDF vignette to html-based, and am not sure why latex packages would even be loading in this case. I have attempted to correct for it based on this post, which claims the issue is a conflict between kableExtra and xcolor.
Some relevant sections of code from the vignette might include:
vignette: |
%VignetteIndexEntry{DEVis}
%usepackage[utf8]{inputenc}
%usepackage[table]{xcolor}
%VignetteEngine{knitr::knitr}
---
```{r loadData, echo = F, eval = TRUE}
#load("../data/exampleData.Rda")
knitr::opts_knit$set(root.dir ='../vignettes/')`
knitr::opts_chunk$set(fig.path='figure/graphics-',
cache.path='cache/graphics-',
fig.align='center',
external=TRUE,
echo=TRUE,
warning=FALSE,
fig.pos='H'
)
a4width<- 8.3
a4height<- 11.7
library(kableExtra)
library(rmarkdown)
library(knitr)
options(knitr.table.format = "html")
options(kableExtra.latex.load_packages = FALSE)
The full package code can be found here: https://github.com/price0416/DEvis
I would appreciate any insight anyone can offer into this issue, as I cannot update my package until I get to the bottom of this! Thanks very much in advance!
r debian r-package cran
Just a quick preface, I have looked into all the other stackoverflow comments I can find related to this error and cannot still correct or identify my issue based on existing posts.
I am currently having an issue getting past a warning that's occurring on linux based builds for my vignette. The warning is:
LaTeX Error: Option clash for package xcolor.
The check results are here:
https://win-builder.r-project.org/incoming_pretest/DEVis_1.0.1_20181220_164555/Debian/00check.log
Windows and OS X builds work fine, but I don't have access to a debian machine that I can reproduce this on. I currently cannot reproduce this issue on my side, and travis-ci checks do not seem to produce this warning for linux on ubuntu. I can only see it currently when submitting an update to my package and failing the cran auto-checks.
I have recently changed from PDF vignette to html-based, and am not sure why latex packages would even be loading in this case. I have attempted to correct for it based on this post, which claims the issue is a conflict between kableExtra and xcolor.
Some relevant sections of code from the vignette might include:
vignette: |
%VignetteIndexEntry{DEVis}
%usepackage[utf8]{inputenc}
%usepackage[table]{xcolor}
%VignetteEngine{knitr::knitr}
---
```{r loadData, echo = F, eval = TRUE}
#load("../data/exampleData.Rda")
knitr::opts_knit$set(root.dir ='../vignettes/')`
knitr::opts_chunk$set(fig.path='figure/graphics-',
cache.path='cache/graphics-',
fig.align='center',
external=TRUE,
echo=TRUE,
warning=FALSE,
fig.pos='H'
)
a4width<- 8.3
a4height<- 11.7
library(kableExtra)
library(rmarkdown)
library(knitr)
options(knitr.table.format = "html")
options(kableExtra.latex.load_packages = FALSE)
The full package code can be found here: https://github.com/price0416/DEvis
I would appreciate any insight anyone can offer into this issue, as I cannot update my package until I get to the bottom of this! Thanks very much in advance!
r debian r-package cran
r debian r-package cran
edited Jan 18 at 15:58
massisenergy
599218
599218
asked Jan 18 at 15:49
Adam PriceAdam Price
197114
197114
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54257295%2flatex-error-option-clash-for-package-xcolor-on-cran-debian-builds%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54257295%2flatex-error-option-clash-for-package-xcolor-on-cran-debian-builds%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown