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

add repo branch to reproducibility table #85

Open
mariev opened this issue Oct 13, 2022 · 0 comments
Open

add repo branch to reproducibility table #85

mariev opened this issue Oct 13, 2022 · 0 comments

Comments

@mariev
Copy link

mariev commented Oct 13, 2022

problemadding the branch of install to the reproducibility table will allow for quick visual verification that input data is from a "release from use status" i.e. installed from the main trunk. Currently it is not possible to determine this without exhaustive examination of the report code.

proposed solution add value from package DESCRIPTION RemoteRef to the $packages_table output from VISCfunctions::get_session_info() as an additional variable. This value can be obtained via packageDescription(PACKAGE_NAME)$RemoteRef

sample code:

(my_session_info2 %>%
    filter(str_detect(source, pattern = "git2r")) %>%
    pull(package) %>%
    packageDescription())[c("Package", "DataVersion", "RemoteRef", "RemoteSha")] %>%
as_tibble()
    
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

No branches or pull requests

1 participant