Changelog
entropiaR 0.0.0.9000 (development)
First development release. Read-only v1: the package reads EntropIA SQLite databases and never writes to them.
- Connection & administration:
entropia_connect()(read-only, schema compatibility policy, S3/S4 typed connection),entropia_disconnect(),entropia_copy()(WAL-aware snapshot),entropia_status(),entropia_validate(),entropia_schema_version(),entropia_schema_info(),entropia_schema_compat(). - Entity access: one lazy
tbl_sqlaccessor per readable table (entropia_items(),entropia_assets(),entropia_entities(),entropia_chunks(), …) with the column contract applied onentropia_collect()(millisecond timestamps →POSIXct, JSON-in-TEXT → list-columns, embedding BLOBs opt-in). - Search:
entropia_search()— parameter-safe FTS5 search over the items and chunk indexes. - Domain layer:
entropia_corpus(),entropia_text(),entropia_metadata(), OCR/metadata coverage helpers,entropia_corpus_quality(),entropia_orphans(). - Research layer:
entropia_entity_relations(),entropia_reconstruct_analysis(),entropia_conversation(). - Sync metadata:
entropia_sync_info()(whitelistedsync_metakeys typed to their R types, never rawapp_settingssecrets),entropia_sync_versions(),entropia_conflicts()(reasonenum documented). - Analysis & visualization: temporal/entity/topic/collection helpers, reproducible
entropia_analysis_dataset()with provenance, ggplot2 helpers. - Export:
entropia_export()(csv/tsv/json/rds/parquet/arrow, streamed for lazy inputs),entropia_provenance()/entropia_write_provenance(). - Write API: v1 stubs (
entropia_insert/update/upsert/delete) error with clear v2 guidance. - Lifecycle & messages: the analysis layer carries the
experimentallifecycle badge; the deprecation policy (lifecycle::deprecate_warn(), one-release grace) is documented in the package help. Every exported error and warning is cli-formatted with a stable condition class — including a newentropia_warn_malformed_jsonclass for tolerant JSON reads — and no barestop()/warning()remains inR/. - Performance: the corpus, FTS search, and entity-relations joins resolve every lookup table through an index (
EXPLAIN QUERY PLANverified); a smoke test enforces that the corpus join never full-scans a joined table. - Dependencies: dropped the unused
stringrimport. Marker stripping runs in SQL (recursive CTE) and search-term hygiene is handled bydbQuoteString, so no string helper is needed — removing it also clears the lastR CMD checknote. - Bug fixes: malformed JSON cells carrying bytes that are not valid UTF-8 (real corpus newspaper text) no longer crash the cli warning formatter — a new
ent_sanitize_msg()helper replaces invalid bytes before interpolation, soentropia_collect()/entropia_metadata()keep their tolerant warn-and-NA posture. The pkgdown config is YAML-parseable again (an unquoteddesc:value was blockingpkgdown::build_site()).