[Rd] formatR 1.0 caused error

Zhang,Jun JHZhang at mdanderson.org
Thu Sep 18 20:07:43 CEST 2014


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]]



More information about the R-devel mailing list