Set build releases
set_build_releases.Rd
This function generates new users and release lengths, calculates cumulative release lengths, and sets release dates for each build. Defaults to maximum length of 7 days.
Arguments
- builds
A data frame of builds generated by the
get_builds
function.- release_length_max
The maximum release length. This is used to generate a random release length for each build.
Examples
builds <- get_versions()
set_build_releases(builds, release_length_max = 30)
#> # A tibble: 6 × 4
#> build release_length release_start release_end
#> <chr> <int> <date> <date>
#> 1 0.0.0 11 2023-01-07 2023-01-17
#> 2 0.0.1 7 2023-01-18 2023-01-24
#> 3 0.1.0 21 2023-01-25 2023-02-14
#> 4 1.0.0 6 2023-02-15 2023-02-20
#> 5 1.1.0 9 2023-02-21 2023-03-01
#> 6 1.1.1 22 2023-03-02 2023-03-23