Changelog
Source:NEWS.md
ravepipeline 0.1.1
- Added
define_preference,use_preference,reset_preference, andremove_preferencemethods to thePipelineToolsclass: a preference is declared once with a domain, storage type, default, and optionalvalidator, then read and written by its short name instead of its full key. Declared defaults are lazy, so the preference store only holds values that have been explicitly changed, and a revised default reaches anyone who never overrode it.reset_preferencedrops the stored value and keeps the declaration, so reads fall back to the default;remove_preferencedeletes both, leaving the preference undeclared - Declaring a preference is now skipped when it is already up to date, so a module can declare on every launch without touching the disk. Each declaration records a version — the module’s, or this package’s for
globalpreferences, whose metadata is shared across pipelines — and is only rewritten when that version moves. Revising adefault,validator,getter, ortypetherefore takes effect on a version bump, or immediately withforce = TRUE, which logs a warning and is meant for development rather than production - Preferences gain an optional
getterthat maps the stored value to whatever the caller should receive, for instance turning a palette name into the colors themselves.use_preferenceapplies it by default and tags the result with the value it was derived from in apreference_valueattribute; passapply_getter = FALSEto read the raw stored value instead - Added
define_preference_multichoiceanddefine_preference_logical, which declare a preference restricted to a fixed set of choices, or aTRUE/FALSEflag, building thevalidatorso that a declaration only needs the choices or the default.define_preference_multichoicetakespartial_match, in which case a unique abbreviation is accepted, stored as it was given, and expanded to the full choice on read -
KEY_MISSINGis now exported, so that a wrapper arounduse_preferencecan take it as the “no value supplied” default and forward it unchanged to read the preference instead of writing it - Added
DISCRETE_COLORMAPSandCONTINUOUS_COLORMAPS, the built-in qualitative and continuous color palettes, along withdefine_preference_discrete_colormapanddefine_preference_continuous_colormap, which declare a palette preference validated against the matching table and resolve it to the colors on read - Building a pipeline now estimates and reports the size of each target as it is built, so unexpectedly large intermediate objects are easier to spot
-
RAVEFileArrayserialization now carries the file arraysignatureheader entries alongside the file base and mode, so downstream caches can see them - Added
pkg_available_reportsandpkg_build_report, which list and render theR Markdownreports a package ships under itsinst/reportsdirectory. A report is named by its path relative to that directory without the extension, so reports may be grouped into sub-folders, and the name is matched ignoring case. A sharedcommon.cssand a per-report<report>_styles.cssare picked up automatically and attached to the rendered document
ravepipeline 0.1.0
CRAN release: 2026-05-30
- Added
pipeline_plot_datato help dispatchplotmethods defined from within a pipeline, keeping plot logic encapsulated inside the pipeline script - Added
pipeline_translate_settings,pipeline_export_wizard, andpipeline_import_wizardfor translating and migrating settings between pipeline versions or modules - Added
import_settingsmethod to thePipelineToolsclass for importing external settings directly into a pipeline instance; fixed an edge case where the internal settings map was afastmap2instead of a plain list - Pipeline subset operator (
pipeline[[...]]) now reads fromsettings.yamlwhen the pipeline has not yet been evaluated, providing access to default inputs before a run -
pipeline_get_preferencesgains amodesargument for type-mode validation; stored values whosemode()does not match are treated as missing andifnotfoundis returned instead - Added
html_embed_writeandhtml_embed_readto embed and recover arbitrary R objects as hidden data inside HTML documents - JSON serialization sanitizes inputs before passing them to
jsonlite, preventing conversion errors for types thatjsonlitecannot encode -
pandocdiscovery is now more robust and integrated intoRAVEoptions; fixedRSTUDIO_PANDOCnot being set in some environments; fixedpandocnot found on certain systems - Pipeline reports no longer force
tocandcode_folding; these can now be customized by the caller;distillis used as an optional report style when the package is available, withrmarkdownas the fallback - Added a
callbackargument to pipeline report generation for post-processing hooks;start_jobgains log-streaming support so outputs always stream to the console; fixed a log-set bug when the job result isNULLand changed the default behavior to not attach the log file -
lapply_jobsnow evaluates the worker function in theruntime_envenvironment so global helper functions defined in the same script can reference each other correctly -
PipelineTools$run_as_taskenables running a pipeline as ashinyExtendedTask, allowing non-blocking pipeline execution inside a Shiny app without blocking the session; pipelines also support early cancellation - Added
MCPhelper utilities (docs_package_help_topics,docs_help_page,docs_package_implementation,search_package_info) for use withrave-pipelinesrepository tooling - Pipeline templates are updated to match the latest
shidashiframework changes; a timestamp is written on template updates; Python sub-module presence is verified before import -
ravepipeline_finalize_installationis now exported for post-install setup - Miscellaneous fixes: corrected
detect_generic_land()lookup, tightened embedding metadata accuracy, and removed obsolete vignettes
ravepipeline 0.0.3
CRAN release: 2025-09-10
- Removed
raveiofrom templates - Internally,
rs_jobconsidersPositron-IDE - Fixed incorrect path issue when the report working directory and output folder are identical
- Using
distillfor default report style, if available - Added
SVGplots to allow image overlays - Added
base64URI; usingbase64encfor more generalbase64converter - Fixed a bug where
lapply_jobscallback fail to run due to zero-length messages - Job processes are killed by default when the job is removed
-
start_jobusescallrfor maximized consistency by default - During
@unmarshal, the package is loaded by default - Pipeline serialization has been implemented
- Stores process handlers in the job ID to avoid the process to be shut down accidentally by garbage collector
- Fixed pipeline paths, added behavior for subjects
- Pipeline report has more allowed tweaks (theme, style, parameter)
- Implemented serialization for brain object
ravepipeline 0.0.2
-
with_rave_parallelwith one worker no longer runs in background, though users can force enabling this - Added comparisons to
RAVESerializableobjects, allowing comparisons of twoR6objects inheriting this class - Added
RAVEFileArrayto wrap againstFileArray, allowing file-arrays to be serialized faster when running withmirai - Added
lapply_jobs, allowing down-stream packages to use it for looping with similar behaviors tolapply, while giving users options to parallel computing the results withwith_rave_parallel - Added
RAVESerializableclass formirai, allowing for fast serialization when runninglapply_jobs -
cat2is no longer used as logging system and usedloggerinstead - Added
rave_progressto replacedipsaus; removed dependencies ondipsaus - Migrated
loggerfromravedashso this function can be used byravecoreand other depending packages - Added print method to background jobs
- Added
miraias the optional background engine to run jobs - Pipeline evaluation will have
RAVE_PIPELINE_ACTIVEenvironment set to"true"to allow fast compile and debugging -
pipeline$readonce disabled bytargetsduring evaluation can now runs again with hacks - Pipeline attach method also mounts shared environment for debugging
- Implemented pipeline reporting functions
- Added
start_jobto start background jobs, which can be converted intopromises - Make sure installing new snippets overwrites existing scripts
- Unset reporters for older versions of targets
- Fixed lazy evaluation issues
- Fixed a bug introduced by
targetsversion1.11.1where use-after-free ofcliprogress crashes the pipeline run, the newer versions of that package has fixed it too - Added optional functions to handle old
raveiocalls - Removed questions once asked
- save
yamlformat now sort native lists withsorted=TRUE - Removed
call_pkg_funforrstudioapiand use the package functions directly to avoid messing up withsys.call() - Fixed
entrace - Added pipeline collections