Skip to content

base packages listed as available on CRAN #82

Open
@jmbarbone

Description

@jmbarbone

Most of the base R packages return TRUE for available_on_cran(). Feels like all of these should return FALSE.

# # get base packages 
# installed.packages() |>
#   as.data.frame() |>
#   # Priority == "base" excludes {translations}
#   subset(grepl("^Part of R", License), "Package", drop = TRUE)

pkgs <- c("base", "compiler", "datasets", "graphics", "grDevices", "grid", 
          "methods", "parallel", "splines", "stats", "stats4", "tcltk", 
          "tools", "translations", "utils")

found <- sapply(pkgs, available::available_on_cran)
split(found, found)
#> $`FALSE`
#>    grid splines   tcltk 
#>   FALSE   FALSE   FALSE 
#> 
#> $`TRUE`
#>         base     compiler     datasets     graphics    grDevices      methods 
#>         TRUE         TRUE         TRUE         TRUE         TRUE         TRUE 
#>     parallel        stats       stats4        tools translations        utils 
#>         TRUE         TRUE         TRUE         TRUE         TRUE         TRUE

Created on 2022-10-24 with reprex v2.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions