The names alone, in document order. rfp_qgs_themes() returns per-layer and
per-group rows, so a theme carrying neither would otherwise be invisible to a
caller that only wants to know what themes exist.
Arguments
- path
Character. Path to a
.qgsproject file. Unlikerfp_qgs_themes(), this does not collapse two presets sharing a name: it reports what the file contains, where the reader reports what QGIS would load. That asymmetry is deliberate —rfp_qgs_theme_rm()operates on the file, and removing a name removes every preset carrying it.
See also
Other qgs:
rfp_qgs_form_add(),
rfp_qgs_layer_rm(),
rfp_qgs_preview_set(),
rfp_qgs_raster_add(),
rfp_qgs_service_add(),
rfp_qgs_service_rm(),
rfp_qgs_services(),
rfp_qgs_style_export(),
rfp_qgs_style_set(),
rfp_qgs_subset_get(),
rfp_qgs_subset_set(),
rfp_qgs_theme_add(),
rfp_qgs_theme_lookup(),
rfp_qgs_theme_rm(),
rfp_qgs_theme_set(),
rfp_qgs_theme_unbury(),
rfp_qgs_themes(),
rfp_qgs_vector_add(),
rfp_qwc_config_create(),
rfp_raster_style_path(),
rfp_raster_styles()
Examples
rfp_qgs_theme_names(
system.file("testdata", "test_themes.qgs", package = "rfp")
)
#> [1] "Theme One" "Theme Two"
