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

Automatic detection of most recent released version #4

Open
amstilp opened this issue Feb 5, 2024 · 0 comments
Open

Automatic detection of most recent released version #4

amstilp opened this issue Feb 5, 2024 · 0 comments

Comments

@amstilp
Copy link
Contributor

amstilp commented Feb 5, 2024

Noting in case we need this for later. If a release is in progress, the code pulls the in-progress information, not the most recently released version.

The node for the first released version can be identified using this syntax:

study_xml %>% xml_find_first(".//Status[@name='released']") %>% xml_parent()

Do we want to add an argument or flag somewhere that lets you choose between most recently released version and current version? Or maybe something like find_most_recent_released_version to pull the most recent released version, which can then be passed to the other xml_* functions?

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