List the latest new CRAN packages.

cran_new(from = "last-week", to = "now", last = Inf)

Arguments

from

Start of the time interval to query. Possible values:

  • "last-week"

  • "last-month"

  • A Date object to be used as a start date.

  • A POSIXt object to be used as the start date.

  • A difftime object to used as the time interval until now.

  • An integer scalar, the number of days until today.

  • A character string that is converted to a start date using as.POSIXct().

to

End of the time interval to query. It accepts the same kinds of values as from, and additionally it can also be the string "now", to specify the current date and time.

last

Integer to limit the number of returned packages.

Value

Data frame of package descriptions.

Examples

# Last week
cran_new("last-week")
#> # A data frame: 35 × 34
#>    `Date/Publication`  Package Type  Title Version `Authors@R` Description URL  
#>    <chr>               <chr>   <chr> <chr> <chr>   <chr>       <chr>       <chr>
#>  1 2025-01-09 18:10:0… RLesca… Pack… "Opt… 1.0.1   "c(\nperso… "An implem… "htt…
#>  2 2025-01-09 18:10:0… bayese… NA    "Est… 1.0.0   "c(person(… "A Bayesia… "htt…
#>  3 2025-01-09 18:00:0… IVCor   Pack… "A R… 0.1.0   "c(\nperso… "A integra…  NA  
#>  4 2025-01-09 17:40:0… hydReng Pack… "Hyd… 0.1.0   "c(\nperso… "The 'hydR… "htt…
#>  5 2025-01-09 15:00:0… Colomb… Pack… "Acc… 0.1.0   "person(gi… "Provides … "htt…
#>  6 2025-01-09 14:50:0… QAEnse… NA    "Ens… 1.0.0   "c(person(… "The Ensem…  NA  
#>  7 2025-01-09 14:50:0… jetty   Pack… "Exe… 0.1.0   "person(gi… "The goal … "htt…
#>  8 2025-01-09 14:30:1… collett Pack… "Dat… 0.1.0   "c(person(… "Datasets … "htt…
#>  9 2025-01-09 14:30:0… invivo… Pack… "Fit… 2.0.0   "c(person(… "Takes in …  NA  
#> 10 2025-01-09 14:10:0… VARcpD… NA    "Seq… 0.1.0   "c(\nperso… "Implement… "htt…
#> # ℹ 25 more rows
#> # ℹ 26 more variables: BugReports <chr>, VignetteBuilder <chr>, License <chr>,
#> #   Encoding <chr>, Language <chr>, RoxygenNote <chr>, Collate <chr>,
#> #   NeedsCompilation <chr>, Packaged <chr>, Author <chr>, Maintainer <chr>,
#> #   Repository <chr>, crandb_file_date <chr>, MD5sum <chr>, date <chr>,
#> #   dependencies <list>, LazyData <chr>, `Config/testthat/edition` <chr>,
#> #   Date <chr>, `Config/Needs/website` <chr>, …

# Last month
cran_new("last-month")
#> # A data frame: 100 × 38
#>    `Date/Publication`  Package Type  Title Version `Authors@R` Description URL  
#>    <chr>               <chr>   <chr> <chr> <chr>   <chr>       <chr>       <chr>
#>  1 2025-01-09 18:10:0… RLesca… Pack… "Opt… 1.0.1   "c(\nperso… "An implem… "htt…
#>  2 2025-01-09 18:10:0… bayese… NA    "Est… 1.0.0   "c(person(… "A Bayesia… "htt…
#>  3 2025-01-09 18:00:0… IVCor   Pack… "A R… 0.1.0   "c(\nperso… "A integra…  NA  
#>  4 2025-01-09 17:40:0… hydReng Pack… "Hyd… 0.1.0   "c(\nperso… "The 'hydR… "htt…
#>  5 2025-01-09 15:00:0… Colomb… Pack… "Acc… 0.1.0   "person(gi… "Provides … "htt…
#>  6 2025-01-09 14:50:0… QAEnse… NA    "Ens… 1.0.0   "c(person(… "The Ensem…  NA  
#>  7 2025-01-09 14:50:0… jetty   Pack… "Exe… 0.1.0   "person(gi… "The goal … "htt…
#>  8 2025-01-09 14:30:1… collett Pack… "Dat… 0.1.0   "c(person(… "Datasets … "htt…
#>  9 2025-01-09 14:30:0… invivo… Pack… "Fit… 2.0.0   "c(person(… "Takes in …  NA  
#> 10 2025-01-09 14:10:0… VARcpD… NA    "Seq… 0.1.0   "c(\nperso… "Implement… "htt…
#> # ℹ 90 more rows
#> # ℹ 30 more variables: BugReports <chr>, VignetteBuilder <chr>, License <chr>,
#> #   Encoding <chr>, Language <chr>, RoxygenNote <chr>, Collate <chr>,
#> #   NeedsCompilation <chr>, Packaged <chr>, Author <chr>, Maintainer <chr>,
#> #   Repository <chr>, crandb_file_date <chr>, MD5sum <chr>, date <chr>,
#> #   dependencies <list>, LazyData <chr>, `Config/testthat/edition` <chr>,
#> #   Date <chr>, `Config/Needs/website` <chr>, …

# Last 5 days
cran_new(from = 5)
#> # A data frame: 35 × 34
#>    `Date/Publication`  Package Type  Title Version `Authors@R` Description URL  
#>    <chr>               <chr>   <chr> <chr> <chr>   <chr>       <chr>       <chr>
#>  1 2025-01-09 18:10:0… RLesca… Pack… "Opt… 1.0.1   "c(\nperso… "An implem… "htt…
#>  2 2025-01-09 18:10:0… bayese… NA    "Est… 1.0.0   "c(person(… "A Bayesia… "htt…
#>  3 2025-01-09 18:00:0… IVCor   Pack… "A R… 0.1.0   "c(\nperso… "A integra…  NA  
#>  4 2025-01-09 17:40:0… hydReng Pack… "Hyd… 0.1.0   "c(\nperso… "The 'hydR… "htt…
#>  5 2025-01-09 15:00:0… Colomb… Pack… "Acc… 0.1.0   "person(gi… "Provides … "htt…
#>  6 2025-01-09 14:50:0… QAEnse… NA    "Ens… 1.0.0   "c(person(… "The Ensem…  NA  
#>  7 2025-01-09 14:50:0… jetty   Pack… "Exe… 0.1.0   "person(gi… "The goal … "htt…
#>  8 2025-01-09 14:30:1… collett Pack… "Dat… 0.1.0   "c(person(… "Datasets … "htt…
#>  9 2025-01-09 14:30:0… invivo… Pack… "Fit… 2.0.0   "c(person(… "Takes in …  NA  
#> 10 2025-01-09 14:10:0… VARcpD… NA    "Seq… 0.1.0   "c(\nperso… "Implement… "htt…
#> # ℹ 25 more rows
#> # ℹ 26 more variables: BugReports <chr>, VignetteBuilder <chr>, License <chr>,
#> #   Encoding <chr>, Language <chr>, RoxygenNote <chr>, Collate <chr>,
#> #   NeedsCompilation <chr>, Packaged <chr>, Author <chr>, Maintainer <chr>,
#> #   Repository <chr>, crandb_file_date <chr>, MD5sum <chr>, date <chr>,
#> #   dependencies <list>, LazyData <chr>, `Config/testthat/edition` <chr>,
#> #   Date <chr>, `Config/Needs/website` <chr>, …

# From a given date, but at most 10
cran_new(from = "2021-04-06", last = 10)
#> # A data frame: 10 × 27
#>    `Date/Publication`  Package Type  Title Version `Authors@R` Description URL  
#>    <chr>               <chr>   <chr> <chr> <chr>   <chr>       <chr>       <chr>
#>  1 2025-01-09 18:10:0… RLesca… Pack… "Opt… 1.0.1   "c(\nperso… "An implem… "htt…
#>  2 2025-01-09 18:10:0… bayese… NA    "Est… 1.0.0   "c(person(… "A Bayesia… "htt…
#>  3 2025-01-09 18:00:0… IVCor   Pack… "A R… 0.1.0   "c(\nperso… "A integra…  NA  
#>  4 2025-01-09 17:40:0… hydReng Pack… "Hyd… 0.1.0   "c(\nperso… "The 'hydR… "htt…
#>  5 2025-01-09 15:00:0… Colomb… Pack… "Acc… 0.1.0   "person(gi… "Provides … "htt…
#>  6 2025-01-09 14:50:0… QAEnse… NA    "Ens… 1.0.0   "c(person(… "The Ensem…  NA  
#>  7 2025-01-09 14:50:0… jetty   Pack… "Exe… 0.1.0   "person(gi… "The goal … "htt…
#>  8 2025-01-09 14:30:1… collett Pack… "Dat… 0.1.0   "c(person(… "Datasets … "htt…
#>  9 2025-01-09 14:30:0… invivo… Pack… "Fit… 2.0.0   "c(person(… "Takes in …  NA  
#> 10 2025-01-09 14:10:0… VARcpD… NA    "Seq… 0.1.0   "c(\nperso… "Implement… "htt…
#> # ℹ 19 more variables: BugReports <chr>, VignetteBuilder <chr>, License <chr>,
#> #   Encoding <chr>, Language <chr>, RoxygenNote <chr>, Collate <chr>,
#> #   NeedsCompilation <chr>, Packaged <chr>, Author <chr>, Maintainer <chr>,
#> #   Repository <chr>, crandb_file_date <chr>, MD5sum <chr>, date <chr>,
#> #   dependencies <list>, LazyData <chr>, `Config/testthat/edition` <chr>,
#> #   Date <chr>

# March of 2021
cran_new(from = "2021-03-01", to = "2021-04-01")
#> # A data frame: 231 × 48
#>    `Date/Publication`      Package    Type  Title Version `Authors@R` Maintainer
#>    <chr>                   <chr>      <chr> <chr> <chr>   <chr>       <chr>     
#>  1 2021-03-31 12:00:05 UTC ClustAsse… Pack… "Too… 0.1.0   "c(person(… "Arash Sh…
#>  2 2021-03-31 11:00:02 UTC complexNet Pack… "Com… 0.1.0   "c(person(… "Marco Sm…
#>  3 2021-03-31 09:40:02 UTC BayesRGMM  Pack… "Bay… 1.0     "\nc(perso… "Kuo-Jung…
#>  4 2021-03-31 09:20:02 UTC ggfx       NA    "Pix… 1.0.0   "\nc(perso… "Thomas L…
#>  5 2021-03-31 09:10:09 UTC codeColle… Pack… "Col… 0.1.2   "\nperson(… "Jari Hau…
#>  6 2021-03-31 09:10:02 UTC kindisper… NA    "Sim… 0.9.2   "\nperson(… "Moshe-El…
#>  7 2021-03-31 09:00:05 UTC NonParRol… Pack… "a N… 0.4.0   "c(person(… "Josue M.…
#>  8 2021-03-31 09:00:02 UTC forplo     Pack… "Fle… 0.1.0   "person(\"… "\"Vincen…
#>  9 2021-03-31 08:50:16 UTC OpenSpecy  Pack… "Ana… 0.8.2   "c(person(… "Win Cowg…
#> 10 2021-03-31 08:50:13 UTC cmR        Pack… "Ana… 1.0.1   "c(person(… "Volker S…
#> # ℹ 221 more rows
#> # ℹ 41 more variables: Description <chr>, License <chr>, Encoding <chr>,
#> #   RoxygenNote <chr>, URL <chr>, VignetteBuilder <chr>,
#> #   NeedsCompilation <chr>, Packaged <chr>, Author <chr>, Repository <chr>,
#> #   crandb_file_date <chr>, MD5sum <chr>, date <chr>, dependencies <list>,
#> #   LazyData <chr>, BugReports <chr>, Date <chr>, RdMacros <chr>,
#> #   Language <chr>, LazyLoad <chr>, `Config/testthat/edition` <chr>, …