android.version_append_minor_version: Fix invalid android version strings with assumed values

Description Usage Arguments Examples

Description

This function attmepts to fix invalid android version strings that are a single number. The fix makes the assumption that the number represents the major version number of the release. However, prior to Android 5.0 the major version number was shared across a number of releases: i.e. 4.0 Ice Cream Sandwich, 4.1 Jellybean, and 4.4 KitKat. See Android: Codenames, Tags, and Build Numbers

Usage

1
android.version_append_minor_version(version_string, snap_to_min = FALSE)

Arguments

version_string

A string indicating the major version number to be fixed

snap_to_min

A logical value indicating whether the version number should snap to the minimum version for the given major value otherwise it will snap to the latest known version for the major version number provided.

Examples

1
2
android_version_append_minor_version("5")
[1] "5.1.1"

dctrotz/aprocessor documentation built on May 15, 2019, 3:27 p.m.