Datalake tag values may now contain single internal spaces (e.g. wave = "Old Tracker"). Leading, trailing, and consecutive spaces stay forbidden, as do the structural key characters / and = (dl_check_tags()).
Breaking:dl_project_attach_survey() now treats wave as unique within a project — attaching to a wave that already holds a survey replaces that entry (loudly, when it is a different survey). Previously surveys with the same wave stacked and were bound together at read time; field one wave as one survey, or bind data yourself and attach it as type = "direct".
dl_project_attach_survey() called with data but no external_id (and no explicit type) now switches to type = "direct" automatically instead of erroring. An explicit type = "forsta"/"qualtrics" without external_id still errors, now with a hint to use type = "direct".
Added a test suite for the datalake read/write, typed (dl_read_*/dl_write_*), project, dl_rm() and dl_ls_versions() functions. Credentialed tests now gate on skip_if_no_dl() (real datalake access) instead of skip_on_cran(), so they run under CI and covr where credentials exist and skip cleanly where they don’t.
Added covr and withr to Suggests (test tooling).
# g6tr.dl 0.1.0
Added gdrive_ls() to list a project’s Google Drive files. The name column is the path relative to the project’s Drive root, rendered as a clickable link to the file; newest_first (default TRUE) controls sorting.
Removed the Project$cloud_drive_ls() method (superseded by gdrive_ls()).
Project object updates:
Added dl_project() as the canonical project reader; dl_project_read() is kept as a backwards-compatible alias. Reads now rehydrate into the current Project class, so print/field changes apply to existing projects too.
Added vector_store_id (Workspace vector store) and last_modified (stamped automatically on every write) fields.
google_drive_id / google_drive_r_id now accept an ID or a full Drive URL and store the ID only (via parse_drive_id()).
Setting google_drive_id / google_drive_r_id / crunch now auto-adds the matching entries to proj$links (Project$sync_links()).
dl_project_attach_document() now stores a lightweight document pointer (name, url, drive_id) instead of downloading content; removed download_docx_from_gd().
The Project class is unlocked, so dl_project_update_fields() accepts undeclared fields with a warning (identity fields stay protected).
Added a schema_version field. dl_project() rebuilds a stored project into the current class only when its schema is stale; dl_project_rehydrate(project) migrates a stored project (read -> rebuild -> write back) or reports that it is already current. Rebuilding carries custom fields and drops legacy document content.
Fixed the Crunch section of the print method and added last_modified / vector_store_id to it.
# g6tr.dl 0.0.7
Updated dl_refresh_credentials() to clear stale AWS env vars to force IMDS credential resolution on EC2.