As of blueprintr 0.2.1, there is now the option for metadata files to
always overwrite annotations at runtime. Previously, this would be
a conflict with mutate_annotation and mutate_annotation_across
since the annotation phase happens during the blueprint cleanup phase, whereas these
annotation manipulation tools occur at the blueprint initial phase. To resolve
this, 0.2.1 introduces "super annotations", which are just annotations prefixed
with "super.". However, the super annotations will overwrite the normal annotations
during cleanup. This gives the annotation manipulation tools a means of not losing their
work if annotate_overwrite
is effectively enabled. To enable this functionality,
set options(blueprintr.use_improved_annotations = TRUE)
. This also has the side effect
of always treating annotate = TRUE
and annotate_overwrite = TRUE
.
improved_annotation_option()
using_improved_annotations()
improved_annotation_option()
: Returns the option string for improved annotations
using_improved_annotations()
: Checks if improved annotations are enabled