Code
theme_grey() + "asdf"
Condition
Error:
! Can't add `"asdf"` to a theme object.
Code
theme_grey() + "asdf"
Condition
Error:
! Can't add `"asdf"` to a theme object.
The `text` theme element must be a <element_text> object.
Theme element `text` must have class <element_text>.
Can't merge the `line` theme element.
Caused by error in `merge_element()`:
! Only elements of the same class can be merged.
Theme element `line` must have class <element_line>.
Theme element `test` has `NULL` property without default: fill, colour, linewidth, and linetype.
`new` must be a <theme> object, not the string "foo".
The `blablabla` theme element is not defined in the element hierarchy.
The `blablabla` theme element must be a <character> object.
The `blablabla` theme element must be a <unit> object.
The `blablabla` theme element must be a <element_text> object.
`element_tree` must have names.
`element_tree` must have elements constructed with `el_def()`.
i Invalid structure: "foo"
Invalid parent in `element_tree`: "foo".
Code
merge_element(text_base, rect_base)
Condition
Error in `merge_element()`:
! Only elements of the same class can be merged.
`plot.title.position` must be one of "panel" or "plot", not "test".
`plot.caption.position` must be one of "panel" or "plot", not "test".
`plot.tag.position` must be one of "topleft", "top", "topright", "left", "right", "bottomleft", "bottom", or "bottomright", not "test".
i Did you mean "left"?
Ignoring unknown `theme()` elements: foo and bar.
The `aspect.ratio` theme element must be a <numeric/integer> object.
The `options('ggplot2.discrete.colour')` setting is incompatible with the `palette.colour.discrete` theme setting.
i You can set `options(ggplot2.discrete.colour = NULL)`.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.