210 bring get_code_dependency - #214
Merged
Merged
Conversation
m7pr
commented
Oct 17, 2024
Contributor
Unit Tests Summary 1 files 9 suites 1s ⏱️ Results for commit ea337f1. ♻️ This comment has been updated with latest results. |
Contributor
Unit Test Performance DifferenceAdditional test case details
Results for commit 12097b6 ♻️ This comment has been updated with latest results. |
gogonzo
reviewed
Oct 17, 2024
Contributor
Author
|
I see such error in R CMD CHECKS on github actions on this PR Error: there is no package called 'random.cdisc.data' |
…ghtsengineering/teal.code into 218_deprecate_get_code@main
Contributor
Code Coverage SummaryDiff against mainResults for commit: ea337f1 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
This was referenced Oct 18, 2024
Contributor
Author
|
@gogonzo looks like I need a new approval after I provided few commits (incorporated changes from teal.data https://github.com/insightsengineering/teal.data/pull/340/files) |
gogonzo
approved these changes
Oct 22, 2024
gogonzo
left a comment
Contributor
There was a problem hiding this comment.
checked again, everything is fine here
m7pr
added a commit
to insightsengineering/teal.data
that referenced
this pull request
Oct 22, 2024
Part of - insightsengineering/teal.code#210 Companion to - insightsengineering/teal#1388 - insightsengineering/teal.code#214 # Description Deprecates the usage of `datanames` parameter in `teal.data::get_code(datanames)` in favour of `teal.code::get_code(names)`. VBUMP package version locally to something greater than `0.6.1` during testing. ``` r library(teal.data) #> Loading required package: teal.code tdata1 <- within(teal_data(), {a <- 1; b <- 2}) get_code(tdata1) #> [1] "a <- 1\nb <- 2" get_code(tdata1, datanames = "a") #> Warning: The `datanames` argument of `get_code()` is deprecated as of teal.data 0.6.1. #> ℹ Please use the `names` argument of `teal.code::get_code()` instead. #> ℹ The deprecated feature was likely used in the teal.data package. #> Please report the issue at #> <https://github.com/insightsengineering/teal.data/issues>. #> This warning is displayed once every 8 hours. #> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was #> generated. #> [1] "a <- 1" ``` <sup>Created on 2024-10-17 with [reprex v2.1.1](https://reprex.tidyverse.org)</sup> --------- Signed-off-by: Marcin <133694481+m7pr@users.noreply.github.com> Co-authored-by: 27856297+dependabot-preview[bot]@users.noreply.github.com <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Pawel Rucki <12943682+pawelru@users.noreply.github.com>
Closed
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BLOCKED by
Closes
namesargument inget_codeto subset code for specific objects. #210Companion to
datanamesinteal.data::get_codeteal.data#343teal.data::get_codewithteal.code::get_codeteal#1388Description
Brings
namesparameter toget_codeso that you can limit returned code to specific objects (and the lines that create those objects).get_code_dependencywas moved fromteal.dataTested with
Created on 2024-10-16 with reprex v2.1.1
Local tests
Local R CMD CHECK