Repository navigation
gittargets: data version control for the targets package #486
Description
Date accepted: 2022-01-12
Submitting Author Name: Will Landau
Submitting Author Github Handle: @wlandau
Repository: https://github.com/wlandau/gittargets
Version submitted: 0.0.0.9000
Submission type: Standard
Editor: @adamhsparks
Reviewers: @smwindecker, @mdneuzerling
Due date for @mdneuzerling: 2021-12-28
Archive: TBD
Version accepted: TBD
Language: en
- Paste the full DESCRIPTION file inside a code block below:
Package: gittargets
Title: Data Version Control for the Targets Package
Description: Version control systems such as Git help researchers
track changes and history in data science projects,
and the 'targets' package (2021, <doi:10.21105/joss.02959>)
minimizes the computational cost of keeping the latest results
reproducible and up to date. The 'gittargets' package
combines these two capabilities. The 'targets' data store
becomes a version control repository and stays synchronized
with the Git repository of the source code.
Users can switch commits and branches
without invalidating the 'targets' pipeline.
Version: 0.0.0.9000
License: MIT + file LICENSE
URL: https://wlandau.github.io/gittargets/, https://github.com/wlandau/gittargets
BugReports: https://github.com/wlandau/gittargets/issues
Authors@R: c(
person(
given = c("William", "Michael"),
family = "Landau",
role = c("aut", "cre"),
email = "will.landau@gmail.com",
comment = c(ORCID = "0000-0003-1878-3253")
),
person(
family = "Eli Lilly and Company",
role = "cph"
))
Depends:
R (>= 3.5.0)
Imports:
cli (>= 3.0.0),
data.table (>= 1.12.8),
gert (>= 1.0.0),
processx (>= 3.0.0),
stats,
targets (>= 0.8.1.9000),
tibble (>= 3.0.0),
utils,
uuid (>= 1.0.0)
Suggests:
knitr (>= 1.30),
markdown (>= 1.1),
rmarkdown (>= 2.4),
testthat (>= 3.0.0)
Remotes:
ropensci/targets
SystemRequirements: Git (>= 2.0.0)
Encoding: UTF-8
Language: en-US
VignetteBuilder: knitr
Config/testthat/edition: 3
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.2
Scope
-
Please indicate which category or categories from our package fit policies this package falls under: (Please check an appropriate box below. If you are unsure, we suggest you make a pre-submission inquiry.):
- data retrieval
- data extraction
- data munging
- data deposition
- workflow automation
- version control
- citation management and bibliometrics
- scientific software wrappers
- field and lab reproducibility tools
- database software bindings
- geospatial data
- text analysis
-
Explain how and why the package falls under these categories (briefly, 1-2 sentences):
Version control systems such as Git help researchers track changes and history in data science projects, and the targets package minimizes the computational cost of keeping the latest results reproducible and up to date. The gittargets package combines these two capabilities. The targets data store becomes a version control repository and stays synchronized with the Git repository of the source code. Users can switch commits and branches without invalidating the targets pipeline.
- Who is the target audience and what are scientific applications of this package?
gittargets is for people who use targets for reproducible analysis pipelines and Git for tracking the code files of those pipelines.
- Are there other R packages that accomplish the same thing? If so, how does yours differ or meet our criteria for best-in-category?
Packages gh, gert, git2r, and git2rdata all work with Git from R, but in a way that is more general, less opinionated, and less targets-specific than gittargets. gittargets establishes a separate repository for the targets data that is linked to the project's code repository. This allows the code and data to synchronize without affecting the efficiency or the size of the code repository.
- (If applicable) Does your package comply with our guidance around Ethics, Data Privacy and Human Subjects Research?
N/A
- If you made a pre-submission inquiry, please paste the link to the corresponding issue, forum post, or other discussion, or @tag the editor you contacted.
N/A
Technical checks
Confirm each of the following by checking the box.
- I have read the guide for authors and rOpenSci packaging guide.
This package:
- does not violate the Terms of Service of any service it interacts with.
- has a CRAN and OSI accepted license.
- contains a README with instructions for installing the development version.
- includes documentation with examples for all functions, created with roxygen2.
- contains a vignette with examples of its essential functions and uses.
- has a test suite.
- has continuous integration, including reporting of test coverage using services such as Travis CI, Coveralls and/or CodeCov.
Publication options
-
Do you intend for this package to go on CRAN?
-
Do you intend for this package to go on Bioconductor?
-
Do you wish to submit an Applications Article about your package to Methods in Ecology and Evolution? If so:
MEE Options
- [n/a] The package is novel and will be of interest to the broad readership of the journal.
- [n/a] The manuscript describing the package is no longer than 3000 words.
- [n/a] You intend to archive the code for the package in a long-term repository which meets the requirements of the journal (see MEE's Policy on Publishing Code)
- (Scope: Do consider MEE's Aims and Scope for your manuscript. We make no guarantee that your manuscript will be within MEE scope.)
- (Although not required, we strongly recommend having a full manuscript prepared when you submit here.)
- (Please do not submit your package separately to Methods in Ecology and Evolution)
Code of conduct
- I agree to abide by rOpenSci's Code of Conduct during the review process and in maintaining my package should it be accepted.
Activity
ropensci-review-bot commentedon Nov 17, 2021
Thanks for submitting to rOpenSci, our editors and @ropensci-review-bot will reply soon. Type
@ropensci-review-bot helpfor help.ropensci-review-bot commentedon Nov 17, 2021
🚀
Error: Issue template has no 'repourl'
👋
ropensci-review-bot commentedon Nov 17, 2021
Missing values: author1, repourl
wlandau commentedon Nov 17, 2021
Sorry about that, should be fixed now.
ldecicco-USGS commentedon Nov 17, 2021
@ropensci-review-bot check package
ropensci-review-bot commentedon Nov 17, 2021
Thanks, about to send the query.
ropensci-review-bot commentedon Nov 17, 2021
🚀
Editor check started
👋
ropensci-review-bot commentedon Nov 17, 2021
Checks for gittargets (v0.0.0.9000)
git hash: b6eadc4b
Important: All failing checks above must be addressed prior to proceeding
Package License: MIT + file LICENSE
1. Statistical Properties
This package features some noteworthy statistical properties which may need to be clarified by a handling editor prior to progressing.
Details of statistical properties (click to open)
The package has:
Statistical properties of package structure as distributional percentiles in relation to all current CRAN packages
The following terminology is used:
loc= "Lines of Code"fn= "function"exp/not_exp= exported / not exportedThe final measure (
fn_call_network_size) is the total number of calls between functions (in R), or more abstract relationships between code objects in other languages. Values are flagged as "noteworthy" when they lie in the upper or lower 5th percentile.1a. Network visualisation
Click to see the interactive network visualisation of calls between objects in package
2.
goodpracticeand other checksDetails of goodpractice and other checks (click to open)
3a. Continuous Integration Badges
GitHub Workflow Results
3b.
goodpracticeresultsR CMD checkwith rcmdcheckrcmdcheck found no errors, warnings, or notes
Test coverage with covr
Package coverage: 13.35
The following files are not completely covered by tests:
Cyclocomplexity with cyclocomp
No functions have cyclocomplexity >= 15
Static code analyses with lintr
lintr found no issues with this package!
Package Versions
Editor-in-Chief Instructions:
Processing may not proceed until the items marked with ✖️ have been resolved.
wlandau commentedon Nov 17, 2021
gittargetsrequires command line Git in order forgit-lfsto work (related: r-lib/gert#160). The majority of tests will automatically be skipped iftar_git_ok()returnsFALSE. Is there still a path forward?ldecicco-USGS commentedon Nov 17, 2021
Yeah, that makes sense. I'll get started on getting this moving.
mpadge commentedon Nov 17, 2021
And I'll check out why coverage might have failed tomorrow, although git is definitely installed. @wlandau Nothing you need to worry about, thanks.
Edit: For the record, @wlandau helped debug there, and the bot checks now give coverage of 100% 🚀 💯
wlandau commentedon Nov 17, 2021
Thank you both!
Related: I have not been able to correctly set up Git on the Windows GitHub Actions for
gittargets. I tried a bunch of different approaches, but I still get errors claiming I need to configuregit config --global user.nameandgit config --global user.email. The other runners appear to work just fine though, including the one that checks coverage.ldecicco-USGS commentedon Nov 18, 2021
@ropensci-review-bot assign @adamhsparksas editor
ldecicco-USGS commentedon Nov 18, 2021
@ropensci-review-bot assign @adamhsparks as editor
49 remaining items
mdneuzerling commentedon Jan 12, 2022
@adamhsparks Sorry about that! Done.
adamhsparks commentedon Jan 12, 2022
Well done, @wlandau! Thanks for this new package submission to rOpenSci. I'm guessing you know the drill now. If you need assistance with anything, please let me know.
wlandau commentedon Jan 12, 2022
Amazing! Thanks @adamhsparks for facilitating the process and thanks @smwindecker and @mdneuzerling for the reviews!
gittargetsis in much better shape now, especially regarding documentation.@adamhsparks, would you be willing to grant me admin permissions at https://github.com/ropensci/gittargets? The rOpenSci transfer process still removes that on my end.
wlandau commentedon Jan 12, 2022
Ah, sorry I didn't see this:
wlandau commentedon Jan 12, 2022
@ropensci-review-bot finalize transfer gittargets
wlandau commentedon Jan 12, 2022
@ropensci-review-bot finalize transfer
wlandau commentedon Jan 12, 2022
@ropensci-review-bot finalize transfer of gittargets
ropensci-review-bot commentedon Jan 12, 2022
Transfer completed. The
gittargetsteam is now owner of the repositorywlandau commentedon Jan 12, 2022
I still do not have admin permissions. Did I need to add myself to the
gittargetsteam in advance?wlandau commentedon Jan 12, 2022
Other than that, I believe all the to-dos are now complete.
maelle commentedon Jan 13, 2022
@wlandau I've now added you to that team. You hadn't received any invitation to it beforehands, correct? Thanks for the bug catching. 🙏
wlandau commentedon Jan 13, 2022
Thanks, @maelle! I did not receive an invitation before, but I do have admin permissions now.
wlandau commentedon Jan 18, 2022
Very minor: on my end, it looks like the rOpenSci README badge still says "Under Review". Are these badges still supported?
mpadge commentedon Jan 18, 2022
Sorry @wlandau, our badge server went to sleep a month ago without anybody realising - I've re-enabled it, so it should update soon.
wlandau commentedon Jan 19, 2022
Thanks Mark! Looks to be fixed.