Drops last entry in the list x if this entry is character
droplast.RdDrops last entry in the list x if this entry is character
Examples
a <- list(x = 5, y = "last")
cbr:::droplast(a)
#> $x
#> [1] 5
#>
droplast.RdDrops last entry in the list x if this entry is character
a <- list(x = 5, y = "last")
cbr:::droplast(a)
#> $x
#> [1] 5
#>