Skip to content

Remove pharmr/pharmpy functionality into its own repository#55

Merged
roninsightrx merged 6 commits intomainfrom
split-off-pharmr
Feb 5, 2026
Merged

Remove pharmr/pharmpy functionality into its own repository#55
roninsightrx merged 6 commits intomainfrom
split-off-pharmr

Conversation

@roninsightrx
Copy link
Collaborator

@roninsightrx roninsightrx commented Dec 17, 2025

The scope of luna was slowly gaining more and more features that were outside its central scope (workflow management). This PR separates off the code that deals with Pharmpy/pharmr into its own repository. This ensures easier and more structured development.

Other than a few cleanup things, there are no functional changes in this PR.

@roninsightrx roninsightrx changed the title remove functions + update docs Remove pharmr/pharmpy into its own repository Dec 17, 2025
@roninsightrx roninsightrx changed the title Remove pharmr/pharmpy into its own repository Remove pharmr/pharmpy functionality into its own repository Dec 17, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the luna package by moving all Pharmpy/pharmr-related functionality into a separate repository (pharmr.extra). This reduces the scope of luna to focus on workflow management.

Changes:

  • Removed all Pharmpy/pharmr-specific functions and tests (model creation, table handling, parameter estimation, etc.)
  • Added pharmr.extra and irxutils as dependencies
  • Updated function calls in remaining luna code to use pharmr.extra:: namespace
  • Added a dummy test file to maintain test infrastructure

Reviewed changes

Copilot reviewed 181 out of 181 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
R/luna_run.R Updated to call pharmr.extra::run_nlme
R/luna_check.R Updated to call pharmr.extra::run_nlme
R/luna_tool.R Updated to call pharmr.extra::prepare_run_folder and parse_psn_args
R/luna_compare.R Updated to call pharmr.extra::compare_nlme_fit
R/luna_diff.R Fixed internal function call, removed ::: notation
R/luna_list.R Fixed cli function calls
R/luna-package.R Added package documentation with imports
DESCRIPTION Added pharmr.extra and irxutils dependencies, moved packages to Suggests
NAMESPACE Removed exported functions, added import statements
tests/testthat/test-dummy.R Added placeholder test
Multiple R and test files Deleted files related to Pharmpy/pharmr functionality

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@mccarthy-m-g mccarthy-m-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few things to clean up (comment below, missing comma in DESCRIPTION caught by copilot, and a merge conflict), otherwise lgtm!

roninsightrx and others added 2 commits February 5, 2026 14:16
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@roninsightrx roninsightrx merged commit f8a83dc into main Feb 5, 2026
2 checks passed
@roninsightrx roninsightrx deleted the split-off-pharmr branch February 5, 2026 22:25
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.

2 participants