Skip to content

readlines error #2

Description

@seankross

I'm having some trouble with slidify("index.Rmd"). I'm using the latest version of rCharts and slidify/oneflie.

My console gives the following warnings:

slidify("index.Rmd")


processing file: index.Rmd
  |......................                                           |  33%
  ordinary text without R code

  |...........................................                      |  67%
label: unnamed-chunk-1 (with options) 
List of 2
 $ results: chr "asis"
 $ comment: logi NA

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


output file: index.md

Warning messages:
1: In readLines(doc, ...) :
  incomplete final line found on './assets/css/ribbons.css'
2: In readLines(doc, ...) :
  incomplete final line found on './assets/css/stylesheet.css'
3: In readLines(doc, ...) :
  incomplete final line found on 'libraries/widgets/bootstrap/js/bootstrap.min.js'
4: In readLines(doc, ...) :
  incomplete final line found on 'libraries/highlighters/highlight.js/highlight.pack.js'
5: In readLines(doc, ...) :
  incomplete final line found on 'libraries/widgets/nvd3/js/jquery-1.8.2.min.js'
6: In readLines(doc, ...) :
  incomplete final line found on 'libraries/widgets/nvd3/js/d3.v3.min.js'
7: In readLines(doc, ...) :
  incomplete final line found on 'libraries/widgets/nvd3/js/nv.d3.min-new.js'

This produces an index.html file with errors on the "Chart" slide:

library(rCharts)
Error: there is no package called 'rCharts'
n1 <- nPlot(mpg ~ wt, data = mtcars, type = "scatterChart")
Error: could not find function "nPlot"
n1$show("inline")
Error: object 'n1' not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions