Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jumping feature #12

Open
wants to merge 15 commits into
base: dev
Choose a base branch
from
Open

Jumping feature #12

wants to merge 15 commits into from

Conversation

gm-ebs-ext
Copy link

@gm-ebs-ext gm-ebs-ext requested a review from iglauss January 20, 2025 22:47
@gm-ebs-ext gm-ebs-ext requested a review from a team as a code owner January 20, 2025 22:47
@@ -31,6 +31,7 @@ Imports:
dplyr (>= 1.0.5),
DT (>= 0.18),
dv.manager (>= 2.0.0-17),
dv.papo (>= 2.0.1),
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we really need this dependency?

Choose a reason for hiding this comment

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

I just added a comment related to this suggesting the current davinci strategy for checking communication with papo.

R/mod_listings.R Show resolved Hide resolved
DESCRIPTION Show resolved Hide resolved
@@ -1,7 +1,7 @@
Package: dv.listings
Type: Package
Title: Data listings module
Version: 4.0.1
Version: 4.0.2

Choose a reason for hiding this comment

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

Because of recent changes to our release process when merging to dev we should probably use a fourth component to the semantic versioning:
https://r-pkgs.org/lifecycle.html#sec-lifecycle-version-number-tidyverse
Here's an example in dv.manager:
https://github.com/Boehringer-Ingelheim/dv.manager/blob/dev/DESCRIPTION#L4

@@ -31,6 +31,7 @@ Imports:
dplyr (>= 1.0.5),
DT (>= 0.18),
dv.manager (>= 2.0.0-17),
dv.papo (>= 2.0.1),

Choose a reason for hiding this comment

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

This hard dependency is only there for testing the communication with papo, I believe. The current way of testing communication with papo is to mock it, as we do on dv.clinlines and other modules. See, for instance:
https://github.com/Boehringer-Ingelheim/dv.clinlines/blob/main/tests/testthat/test-message_papo.R
the test_communication_with_papo function is defined here:
https://github.com/Boehringer-Ingelheim/dv.clinlines/blob/main/tests/testthat/setup.R#L22

That snippet of code is repeated across packages and I have a fix in the works to ensure that the repeat code is not an issue, so it should be OK for you to use that same strategy.

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.

3 participants