Skip to content

Commit

Permalink
Fix documentation example
Browse files Browse the repository at this point in the history
  • Loading branch information
ranghetti committed Nov 12, 2019
1 parent 4cab533 commit 222dcec
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/safelist-class.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#' ## Convert to other classes
#' (s2_char <- as.character(list_safe)) # convert to a simple named character
#' (s2_df <- as.data.frame(list_safe)) # convert to a data.frame
#' (s2_dt <- as.data.table(list_safe)) # convert to a data.table
#' library(data.table); (s2_dt <- as.data.table(list_safe)) # convert to a data.table
#'
#' ## Convert from other classes
#' as(s2_char, "safelist") # this causes the loss of hidden attributes
Expand Down
20 changes: 19 additions & 1 deletion docs/reference/safelist-class.html

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

2 changes: 1 addition & 1 deletion man/safelist-class.Rd

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

0 comments on commit 222dcec

Please sign in to comment.