Procházet zdrojové kódy

rename: bulma

master
Garrick Aden-Buie před 7 roky
rodič
revize
d8f0197f04
6 změnil soubory, kde provedl 6 přidání a 6 odebrání
  1. +1
    -1
      .Rbuildignore
  2. +1
    -1
      DESCRIPTION
  3. +2
    -2
      R/bulma_document.R
  4. +0
    -0
      bulma.Rproj
  5. +1
    -1
      inst/rmarkdown/templates/bulma_document/skeleton.Rmd
  6. +1
    -1
      tests/manual/bulma-test.Rmd

+ 1
- 1
.Rbuildignore Zobrazit soubor

@@ -1,2 +1,2 @@
^bulmaRmd\.Rproj$
^bulma\.Rproj$
^\.Rproj\.user$

+ 1
- 1
DESCRIPTION Zobrazit soubor

@@ -1,4 +1,4 @@
Package: bulmaRmd
Package: bulma
Title: What the Package Does (One Line, Title Case)
Version: 0.0.0.9000
Authors@R:

+ 2
- 2
R/bulma_document.R Zobrazit soubor

@@ -4,7 +4,7 @@
#' @export
bulma_document <- function(..., css = NULL, pandoc_args = NULL) {
css_files <- c(
"--css", system.file("bulma", "bulma.0.7.2.min.css", package="bulmaRmd"))
"--css", system.file("bulma", "bulma.0.7.2.min.css", package="bulma"))

if (!is.null(css)) {
for (file in css) {
@@ -16,7 +16,7 @@ bulma_document <- function(..., css = NULL, pandoc_args = NULL) {
css_files,
pandoc_args,
"--template",
system.file("bulma", "bulma.html", package="bulmaRmd")
system.file("bulma", "bulma.html", package="bulma")
),
...
)

bulmaRmd.Rproj → bulma.Rproj Zobrazit soubor


+ 1
- 1
inst/rmarkdown/templates/bulma_document/skeleton.Rmd Zobrazit soubor

@@ -20,7 +20,7 @@ header-links:
url: https://gerkelab.com
bulma:
hero: ["info", "bold"]
output: bulmaRmd::bulma_document
output: bulma::bulma_document
---

```{r setup, include=FALSE}

+ 1
- 1
tests/manual/bulma-test.Rmd Zobrazit soubor

@@ -21,7 +21,7 @@ header-links:
# bulma:
# hero: ["dark", "bold"]
output:
bulmaRmd::bulma_document: default
bulma::bulma_document: default
# css: custom.css
html_document_base:
pandoc_args: ["--template", "/Users/4468739/work/bulmaRmd/inst/bulma/bulma-min.html" ]

Načítá se…
Zrušit
Uložit