Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
30c6d78
prototype: with
Aug 21, 2023
14f8eed
move evaluation of expressions to internal function defined outside o…
Aug 21, 2023
85f4e2f
add evaluating code from file in constructor
Aug 21, 2023
ad505e9
gub fix in .eval_one
Aug 21, 2023
923280c
add support for code as non-literal character strings
Aug 22, 2023
fa95c53
add support for code as non-literal character strings
Aug 22, 2023
061a43e
minor cleanup
Aug 22, 2023
841d143
move code preparation to internal function
Aug 22, 2023
dc9edf6
Merge branch 'main' into 127_qenv_refactor@main
chlebowa Aug 22, 2023
9b820c8
Merge branch '127_qenv_refactor@main' of github.com:insightsengineeri…
Aug 22, 2023
40f0a17
prevent evaluating strings in expr argument
Aug 22, 2023
f8c37e2
add within method
Aug 22, 2023
a2051bb
edit documentation
Aug 22, 2023
ab429ea
add code comments
Aug 22, 2023
08a79bf
force return from within.qenv
Aug 22, 2023
490463f
simplify error message
Aug 23, 2023
decf1db
fix news (#138)
donyunardi Aug 23, 2023
e94c9d2
[skip actions] Bump version to 0.4.0.9002
donyunardi Aug 23, 2023
57fd6e7
Add CRAN release template (#140)
walkowif Aug 25, 2023
dfa4c5b
[skip actions] Bump version to 0.4.0.9003
walkowif Aug 25, 2023
bd4c2a1
upgrade by averissimo
Aug 28, 2023
e975c67
edit comments
Aug 28, 2023
fc99617
improve format
Aug 28, 2023
087b05f
minor rollback
Aug 28, 2023
44e80d3
patch format
Aug 29, 2023
6bca793
improve condotion
Aug 29, 2023
5fb5fed
typo
Aug 29, 2023
d8a8c21
clean up
Aug 29, 2023
fdbcc80
clean up
Aug 29, 2023
d2c8e76
add [[ method
Aug 29, 2023
3c6eed2
improve text processing
Aug 29, 2023
3e5410b
further improve text processing
Aug 29, 2023
44d9288
fix return in within
Aug 29, 2023
46e9f94
add substitution for string expressions
Aug 29, 2023
7d5f55c
bug fix
Aug 30, 2023
e71143f
add argument checks
Aug 30, 2023
4b81c84
improve format
Aug 30, 2023
9d6f93a
rename internal
Aug 30, 2023
6c67829
linter and polish documentation
Aug 30, 2023
abe3957
add unit tests
Aug 30, 2023
0e1881c
Merge abe3957d140860dcd964963ba449b01e91abcc85 into dfa4c5b52f58d1848…
chlebowa Aug 30, 2023
4868753
[skip actions] Restyle files
github-actions[bot] Aug 30, 2023
2a2f62d
rool back automated styling in test file
Aug 30, 2023
32489ae
linter
Aug 30, 2023
4a0dfc6
rename file
Aug 30, 2023
ff7f002
more linter
Aug 30, 2023
f6b7d36
modify DESCRIPTION
Aug 30, 2023
6cfd057
rename class to avoid conflicts
Aug 30, 2023
4865ef1
modify NAMESPACE
Aug 30, 2023
ab846bd
create docs
Aug 30, 2023
d2455ad
fix checks
Aug 30, 2023
5dc2207
[skip actions] Roxygen Man Pages Auto Update
dependabot-preview[bot] Aug 30, 2023
0ebc5e7
minor change to logic
Sep 7, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 101 additions & 0 deletions .github/ISSUE_TEMPLATE/cran-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
---
name: 🎉 CRAN Release
description: Template for release to CRAN
title: "[Release]: <version>"
labels: ["release"]
assignees:
- KlaudiaBB
- cicdguy
- shajoezhu
body:
- type: markdown
attributes:
value: |
⚠️ Please do not link or mention any internal references in this issue. This includes internal URLs, intellectual property and references.
- type: textarea
id: blocked-by
attributes:
label: Blocked by
description: Any PRs or issues that this release is blocked by.
placeholder: Add a list of blocking PRs or issues here.
value: |
### PRs

- [ ] PR 1

### Issues

- [ ] Issue 1
validations:
required: true
- type: textarea
id: pre-requisites
attributes:
label: Pre-requisites
description: Pre-requisites that must be fulfilled before initiating the release process.
placeholder: Add your list of pre-requisites here.
value: |
- [ ] Make sure that high priority bugs (label "priority" + "bug") have been resolved before going into the release.
- [ ] Review old/hanging PRs before going into the release (Optional).
- [ ] Revisit R-package's lifecycle badges (Optional).
- [ ] Make sure that all upstream dependencies of this package that need to be submitted to CRAN were accepted before going into release activities.
- [ ] Make sure integration tests are green 2-3 days before the release. Look carefully through logs (check for warnings and notes).
- [ ] Decide what gets merged in before starting release activities.
- type: textarea
id: release-checklist
attributes:
label: Release Checklist
description: The steps to be taken in order to create a release.
placeholder: Steps to create a release.
value: |
- [ ] Update NEWS.md file: make sure it reflects a holistic summary of what has changed in the package.
- [ ] Remove the additional fields (`Remotes` and `Config/Needs/*`) from the DESCRIPTION file where applicable.
- [ ] Increase versioned dependency on {package name} to >=X.X.X (Optional).
- [ ] Make sure that the minimum dependency versions are updated in the DESCRIPTION file for the package and its reverse dependencies (Optional).
- [ ] Create a pull request to make necessary bug fixes/changes (add "[skip vbump]" in the pr title), and after merging the PR, tag the update(s) as a release candidate v < intended release version > -rc < release candidate iteration > on the main branch.
- [ ] Build the package locally using the command:`R CMD build .` which will generate a .tar.gz file necessary for the CRAN submission.
- [ ] Submit the package that was build in the previous step via this form: https://cran.r-project.org/submit.html.
- [ ] Address CRAN feedback, tag the package vX.X.X-rc(n+1) and repeat the submission to CRAN whenever necessary.
- [ ] Get the package accepted and published on CRAN.
- [ ] If the additional fields were removed, add them back in a separate PR, and then merge the PR back to main. Note: Take precautionary measures to ensure that the version bump does not take place on a merge.
- [ ] Create a git tag with the final version set to X.X.X on the main branch.
- type: textarea
id: testing
attributes:
label: Testing
description: Summary of testing activities - integration tests, UAT, other
placeholder: Tests results
value: |
- [ ] Integration tests results - accepted.
- [ ] UAT results - accepted.
- [ ] All testing activities are finalized.
- type: textarea
id: feedback
attributes:
label: Release Feedback
description: Feedback received from CRAN/testers.
placeholder: Feedback to be implemented after CRAN submission/testing.
value: |
- [ ] Fix 1
- [ ] Enhancement 1
- [ ] Defect 1
- type: textarea
id: post-release
attributes:
label: Post-release Checklist
description: The list of activities to be completed after the release.
placeholder: The steps that must be taken after the release.
value: |
- [ ] Make sure that the package is published to internal repositories.
- [ ] Review and update installation instructions for the package wherever needed (Optional).
- [ ] Update all integration tests to reference the new release.
- [ ] Ensure a new dev version (.9XXX) is added to the NEWS.md file and DESCRIPTION file as a placeholder for release notes.
- [ ] Announce the release on ________.
- type: textarea
id: decision-tree
attributes:
label: Decision tree
description: Any decision tree(s) that would aid release management
placeholder: Any decision tree(s) that would aid release management.
value: |
Click [here](https://github.com/insightsengineering/.github/blob/main/.github/ISSUE_TEMPLATE/RELEASE_DECISION_TREE.md) to see the release decision tree.
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Type: Package
Package: teal.code
Title: Code Storage and Execution Class for `teal` Applications
Version: 0.4.0.9001
Date: 2023-08-21
Version: 0.4.0.9003
Date: 2023-08-25
Authors@R: c(
person("Dawid", "Kaledkowski", , "dawid.kaledkowski@roche.com", role = c("aut", "cre")),
person("Pawel", "Rucki", , "pawel.rucki@roche.com", role = "aut"),
Expand Down Expand Up @@ -54,3 +54,4 @@ Collate:
'qenv-show.R'
'teal.code-package.R'
'utils.R'
'with-qenv.R'
17 changes: 17 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,14 +1,31 @@
# Generated by roxygen2: do not edit by hand

S3method("$<-",quenv)
S3method("[",quenv)
S3method("[[",qenv.error)
S3method("[[<-",quenv)
S3method(.object_info,character)
S3method(.object_info,data.frame)
S3method(.object_info,default)
S3method(.object_info,factor)
S3method(.object_info,matrix)
S3method(.object_info,numeric)
S3method(format,quenv)
S3method(print,quenv)
S3method(with,quenv)
S3method(within,quenv)
export(.object_info)
export(concat)
export(dev_suppress)
export(eval_code)
export(get_code)
export(get_code_quenv)
export(get_conditions)
export(get_var)
export(get_warnings)
export(join)
export(new_qenv)
export(quenv)
exportMethods("[[")
exportMethods(concat)
exportMethods(eval_code)
Expand Down
7 changes: 5 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# teal.code 0.4.0.9001
# teal.code 0.4.0.9003

### Miscellaneous
* Fix NEWS

# teal.code 0.4.0

# Breaking Change
### Breaking Change
* `chunks` have been removed. The new `qenv` object should be used instead. See the new `qenv` vignette in the package for further details.

### Miscellaneous
Expand Down
Loading