spyrales/gouvdown

Problème de police dans les plots

Closed this issue · 1 comments

J'ai tenté de générer un fichier html simple avec la commande suivante:

rmarkdown::render(input = "report.Rmd", gouvdown::html_gouv())

mais j'obtiens le résultat suivant:

> rmarkdown::render(input = "report.Rmd", gouvdown::html_gouv())


processing file: report.Rmd
  |................                                                                                              |  14%
  ordinary text without R code

  |...............................                                                                               |  29%
label: setup (with options) 
List of 1
 $ include: logi FALSE

  |...............................................                                                               |  43%
  ordinary text without R code

  |...............................................................                                               |  57%
label: cars
  |...............................................................................                               |  71%
  ordinary text without R code

  |..............................................................................................                |  86%
label: pressure (with options) 
List of 1
 $ echo: logi FALSE

Quitting from lines 27-28 (report.Rmd) 
Erreur dans axis(side = side, at = at, labels = labels, ...) : 
[report.txt](https://github.com/spyrales/gouvdown/files/8442982/report.txt)

  Impossible de charger la police X11 -adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*, de face 1 et de taille 12

Il semble y avoir une erreur à la ligne 27:

plot(pressure)

L'erreur semble être lors de la construction de la légende du plot . Le fichier source report.Rmd a été ajouté en pièce jointe (renommé report.txt).

Savez-vous d'où cela peut venir ?

Merci

C'était un problème de mon coté, les polices n'étaient pas présentes de mon coté.