Factory for creating Base R-specific processors. This factory creates processors for Base R plot types based on recorded plot calls.
An R6 class inheriting from ProcessorFactory
maidr::ProcessorFactory -> BaseRProcessorFactory
Inherited methods
new()BaseRProcessorFactory$new()
create_processor()BaseRProcessorFactory$create_processor(plot_type, layer_info)plot_typeThe type of plot (e.g., "bar", "line", "point")
layer_infoInformation about the layer (contains plot call and metadata)
Processor instance for the specified plot type Get list of supported plot types
get_supported_types()BaseRProcessorFactory$get_supported_types()Character vector of supported plot types Get the system name
get_system_name()BaseRProcessorFactory$get_system_name()System name string Check if a specific processor class is available
is_processor_available()BaseRProcessorFactory$is_processor_available(processor_class_name)processor_class_nameName of the processor class
TRUE if available, FALSE otherwise Get available processor classes
get_available_processors()BaseRProcessorFactory$get_available_processors()Character vector of available processor class names Create a processor with error handling
try_create_processor()BaseRProcessorFactory$try_create_processor(plot_type, layer_info)plot_typeThe type of plot
layer_infoThe layer information
Processor instance or NULL if creation fails
clone()The objects of this class are cloneable with this method.
BaseRProcessorFactory$clone(deep = FALSE)deepWhether to make a deep clone.