[Rd] formatR 1.0 caused error

Zhang,Jun JHZhang at mdanderson.org
Thu Sep 18 20:36:33 CEST 2014


Problem solved. User library location had an older rmarkdown, removed that, so that the current rmarkdown 0.3.3 at the system library location is being used.

-----Original Message-----
From: r-devel-bounces at r-project.org [mailto:r-devel-bounces at r-project.org] On Behalf Of Zhang,Jun
Sent: Thursday, September 18, 2014 1:08 PM
To: r-devel at r-project.org
Subject: [Rd] formatR 1.0 caused error

Recently in our R 3.1.0 installation the package formatR was upgraded to version 1.0, doing my usual thing, I got the following error, and the destination html file was not generated.
What can I do if I want to stay at the current formatR version?

Jun

Error: unrecognized fields specified in html_dependency: attachment In addition: Warning messages:
1: 'function (...)
{
    .Deprecated("tidy_source", package = "formatR")
    tidy_source(...)
}' is deprecated.
Use 'tidy_source' instead.
See help("Deprecated") and help("formatR-deprecated").
2: In tidy_source(...) :
  The option 'keep.blank.line' is deprecated; please use 'formatR.blank'
3: 'function (...)
{
    .Deprecated("tidy_source", package = "formatR")
    tidy_source(...)
}' is deprecated.
Use 'tidy_source' instead.
See help("Deprecated") and help("formatR-deprecated").
4: In tidy_source(...) :
  The option 'keep.blank.line' is deprecated; please use 'formatR.blank'
5: 'function (...)
{
    .Deprecated("tidy_source", package = "formatR")
    tidy_source(...)
}' is deprecated.
Use 'tidy_source' instead.
See help("Deprecated") and help("formatR-deprecated").
6: In tidy_source(...) :
  The option 'keep.blank.line' is deprecated; please use 'formatR.blank'
> sessionInfo()
R version 3.1.0 (2014-04-10)
Platform: x86_64-unknown-linux-gnu (64-bit)


	[[alternative HTML version deleted]]

______________________________________________
R-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list