Skip to content

refactor!: remove Python dependency via iRfcb 0.10.0 native MAT support - #39

Merged
anderstorstensson merged 2 commits into
mainfrom
refactor/remove-python-deps
Aug 27, 2026
Merged

refactor!: remove Python dependency via iRfcb 0.10.0 native MAT support#39
anderstorstensson merged 2 commits into
mainfrom
refactor/remove-python-deps

Conversation

@anderstorstensson

Copy link
Copy Markdown
Member

iRfcb 0.10.0 reads and writes MATLAB .mat files with a native R implementation, so ClassiPyR no longer needs Python/reticulate/scipy for any of its functionality.

  • Require iRfcb >= 0.10.0; drop reticulate from Imports
  • Deprecate init_python_env() (now a no-op) and run_app(venv_path=)
  • Remove Python startup initialization, the python_available flag, the "Python not available" warning banner, and the Python guards that blocked SQLite -> .mat and MATLAB ZIP exports
  • Drop the python_venv_path setting (stale keys in saved settings are ignored by the loader)
  • Remove Python bootstrap from testthat setup and all scipy skip guards, so MAT read/write tests now run everywhere
  • Remove Python/scipy setup steps from CI workflows
  • Update README, CONTRIBUTING and vignettes accordingly

devtools::test(): 778 passing, 0 skipped
devtools::check(): 0 errors, 0 warnings, 0 notes

iRfcb 0.10.0 reads and writes MATLAB .mat files with a native R
implementation, so ClassiPyR no longer needs Python/reticulate/scipy
for any of its functionality.

- Require iRfcb >= 0.10.0; drop reticulate from Imports
- Deprecate init_python_env() (now a no-op) and run_app(venv_path=)
- Remove Python startup initialization, the python_available flag,
  the "Python not available" warning banner, and the Python guards
  that blocked SQLite -> .mat and MATLAB ZIP exports
- Drop the python_venv_path setting (stale keys in saved settings
  are ignored by the loader)
- Remove Python bootstrap from testthat setup and all scipy skip
  guards, so MAT read/write tests now run everywhere
- Remove Python/scipy setup steps from CI workflows
- Update README, CONTRIBUTING and vignettes accordingly

devtools::test(): 778 passing, 0 skipped
devtools::check(): 0 errors, 0 warnings, 0 notes
…ecations

Replace the ad-hoc .Deprecated()/warning() calls with the standard
lifecycle pattern:

- Add lifecycle to Imports and badge SVGs to man/figures/
- venv_path defaults to deprecated(); is_present() guards the
  deprecate_warn() call
- Deprecation badges in the roxygen docs for both topics (per-block
  @md since the package does not use roxygen markdown globally)
- Test asserts the lifecycle_warning_deprecated condition class

devtools::check(): 0 errors, 0 warnings, 0 notes
@anderstorstensson
anderstorstensson merged commit 022d77e into main Aug 27, 2026
7 checks passed
@anderstorstensson
anderstorstensson deleted the refactor/remove-python-deps branch August 27, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant