Skip to content

Commit

Permalink
Use style_format not style_format_id in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nacnudus committed Jan 28, 2017
1 parent 738dca4 commit 72010f5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
8 changes: 4 additions & 4 deletions R/tidy_xlsx.R
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@
#' \item{comment}{The text of a comment attached to a cell.}
#' \item{height}{The height of a cell's row, in Excel's units.}
#' \item{width}{The width of a cell's column, in Excel's units.}
#' \item{style_format_id}{An index into a table of style formats
#' \code{x$formats$local} (see 'Details').}
#' \item{local_format_id}{An index into a table of local cell formats
#' \item{style_format}{An index into a table of style formats
#' \code{x$formats$style} (see 'Details').}
#' \item{local_format_id}{An index into a table of local cell formats
#' \code{x$formats$local} (see 'Details').}
#' }
#'
#' Cell formatting is returned in \code{x$formats}. There are two types or
Expand Down Expand Up @@ -147,7 +147,7 @@
#' # The formats of particular cells can be retrieved like this:
#'
#' Sheet1 <- x$data$Sheet1
#' x$formats$style$font$bold[Sheet1$style_format_id]
#' x$formats$style$font$bold[Sheet1$style_format]
#' x$formats$local$font$bold[Sheet1$local_format_id]
#'
#' # To filter for cells of a particular format, first filter the formats to get
Expand Down
3 changes: 3 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ This is a resubmission. In this version I have:

* Put the URL in the DESCRIPTION inside <...>

* Corrected the documentation and examples of `tidy_xlsx` to use `style_format`
* instead of `style_format_id`.

## Test environments

### Local
Expand Down
8 changes: 4 additions & 4 deletions man/tidy_xlsx.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 72010f5

Please sign in to comment.