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: 42 × 34
#>    `Date/Publication`      Package Title Version `Authors@R` Description License
#>    <chr>                   <chr>   <chr> <chr>   <chr>       <chr>       <chr>  
#>  1 2023-12-10 11:40:05 UTC florabr "Exp… 1.0.1   "\nperson(… "A collect… GPL (>…
#>  2 2023-12-10 11:30:02 UTC shinyd… "Sim… 1.0.0.1 "person(\"… "Provides … GPL-3  
#>  3 2023-12-10 11:20:08 UTC AccelS… "Acc… 1.0.0   "\nc(perso… "Estimate … AGPL (…
#>  4 2023-12-10 11:20:05 UTC BTtest  "Est… 0.10    "\nperson(… "Implement… MIT + …
#>  5 2023-12-10 11:20:02 UTC pubmed… "'Pu… 1.0.1   "\nperson(… "Provides … AGPL (…
#>  6 2023-12-08 11:30:05 UTC MadanT… "Per… 0.1.0   "c(\nperso… "Provides … GPL-3  
#>  7 2023-12-08 11:30:02 UTC fishRm… "The… 1.2.2   "person('P… "A bundle … AGPL (…
#>  8 2023-12-08 11:20:21 UTC blackm… "Bla… 0.1.0   "\nc(perso… "Geographi… MIT + …
#>  9 2023-12-08 11:20:08 UTC dsem    "Fit… 1.0.0   "\nc(perso… "Applies d… GPL-3  
#> 10 2023-12-08 11:20:05 UTC mergen  "AI-… 0.1.0   "c(\nperso… "Employing… MIT + …
#> # ℹ 32 more rows
#> # ℹ 27 more variables: Encoding <chr>, RoxygenNote <chr>, LazyData <chr>,
#> #   VignetteBuilder <chr>, URL <chr>, BugReports <chr>, NeedsCompilation <chr>,
#> #   Packaged <chr>, Author <chr>, Maintainer <chr>, Repository <chr>,
#> #   crandb_file_date <chr>, MD5sum <chr>, date <chr>, dependencies <list>,
#> #   `Config/testthat/edition` <chr>, Language <chr>, Type <chr>, Date <chr>,
#> #   Collate <chr>, `X-schema.org-applicationCategory` <chr>, …

# Last month
cran_new("last-month")
#> # A data frame: 159 × 42
#>    `Date/Publication`      Package Title Version `Authors@R` Description License
#>    <chr>                   <chr>   <chr> <chr>   <chr>       <chr>       <chr>  
#>  1 2023-12-10 11:40:05 UTC florabr "Exp… 1.0.1   "\nperson(… "A collect… GPL (>…
#>  2 2023-12-10 11:30:02 UTC shinyd… "Sim… 1.0.0.1 "person(\"… "Provides … GPL-3  
#>  3 2023-12-10 11:20:08 UTC AccelS… "Acc… 1.0.0   "\nc(perso… "Estimate … AGPL (…
#>  4 2023-12-10 11:20:05 UTC BTtest  "Est… 0.10    "\nperson(… "Implement… MIT + …
#>  5 2023-12-10 11:20:02 UTC pubmed… "'Pu… 1.0.1   "\nperson(… "Provides … AGPL (…
#>  6 2023-12-08 11:30:05 UTC MadanT… "Per… 0.1.0   "c(\nperso… "Provides … GPL-3  
#>  7 2023-12-08 11:30:02 UTC fishRm… "The… 1.2.2   "person('P… "A bundle … AGPL (…
#>  8 2023-12-08 11:20:21 UTC blackm… "Bla… 0.1.0   "\nc(perso… "Geographi… MIT + …
#>  9 2023-12-08 11:20:08 UTC dsem    "Fit… 1.0.0   "\nc(perso… "Applies d… GPL-3  
#> 10 2023-12-08 11:20:05 UTC mergen  "AI-… 0.1.0   "c(\nperso… "Employing… MIT + …
#> # ℹ 149 more rows
#> # ℹ 35 more variables: Encoding <chr>, RoxygenNote <chr>, LazyData <chr>,
#> #   VignetteBuilder <chr>, URL <chr>, BugReports <chr>, NeedsCompilation <chr>,
#> #   Packaged <chr>, Author <chr>, Maintainer <chr>, Repository <chr>,
#> #   crandb_file_date <chr>, MD5sum <chr>, date <chr>, dependencies <list>,
#> #   `Config/testthat/edition` <chr>, Language <chr>, Type <chr>, Date <chr>,
#> #   Collate <chr>, `X-schema.org-applicationCategory` <chr>, …

# Last 5 days
cran_new(from = 5)
#> # A data frame: 28 × 33
#>    `Date/Publication`      Package Title Version `Authors@R` Description License
#>    <chr>                   <chr>   <chr> <chr>   <chr>       <chr>       <chr>  
#>  1 2023-12-10 11:40:05 UTC florabr "Exp… 1.0.1   "\nperson(… "A collect… GPL (>…
#>  2 2023-12-10 11:30:02 UTC shinyd… "Sim… 1.0.0.1 "person(\"… "Provides … GPL-3  
#>  3 2023-12-10 11:20:08 UTC AccelS… "Acc… 1.0.0   "\nc(perso… "Estimate … AGPL (…
#>  4 2023-12-10 11:20:05 UTC BTtest  "Est… 0.10    "\nperson(… "Implement… MIT + …
#>  5 2023-12-10 11:20:02 UTC pubmed… "'Pu… 1.0.1   "\nperson(… "Provides … AGPL (…
#>  6 2023-12-08 11:30:05 UTC MadanT… "Per… 0.1.0   "c(\nperso… "Provides … GPL-3  
#>  7 2023-12-08 11:30:02 UTC fishRm… "The… 1.2.2   "person('P… "A bundle … AGPL (…
#>  8 2023-12-08 11:20:21 UTC blackm… "Bla… 0.1.0   "\nc(perso… "Geographi… MIT + …
#>  9 2023-12-08 11:20:08 UTC dsem    "Fit… 1.0.0   "\nc(perso… "Applies d… GPL-3  
#> 10 2023-12-08 11:20:05 UTC mergen  "AI-… 0.1.0   "c(\nperso… "Employing… MIT + …
#> # ℹ 18 more rows
#> # ℹ 26 more variables: Encoding <chr>, RoxygenNote <chr>, LazyData <chr>,
#> #   VignetteBuilder <chr>, URL <chr>, BugReports <chr>, NeedsCompilation <chr>,
#> #   Packaged <chr>, Author <chr>, Maintainer <chr>, Repository <chr>,
#> #   crandb_file_date <chr>, MD5sum <chr>, date <chr>, dependencies <list>,
#> #   `Config/testthat/edition` <chr>, Language <chr>, Type <chr>, Date <chr>,
#> #   Collate <chr>, `X-schema.org-applicationCategory` <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 Title Version `Authors@R` Description License
#>    <chr>                   <chr>   <chr> <chr>   <chr>       <chr>       <chr>  
#>  1 2023-12-10 11:40:05 UTC florabr "Exp… 1.0.1   "\nperson(… "A collect… GPL (>…
#>  2 2023-12-10 11:30:02 UTC shinyd… "Sim… 1.0.0.1 "person(\"… "Provides … GPL-3  
#>  3 2023-12-10 11:20:08 UTC AccelS… "Acc… 1.0.0   "\nc(perso… "Estimate … AGPL (…
#>  4 2023-12-10 11:20:05 UTC BTtest  "Est… 0.10    "\nperson(… "Implement… MIT + …
#>  5 2023-12-10 11:20:02 UTC pubmed… "'Pu… 1.0.1   "\nperson(… "Provides … AGPL (…
#>  6 2023-12-08 11:30:05 UTC MadanT… "Per… 0.1.0   "c(\nperso… "Provides … GPL-3  
#>  7 2023-12-08 11:30:02 UTC fishRm… "The… 1.2.2   "person('P… "A bundle … AGPL (…
#>  8 2023-12-08 11:20:21 UTC blackm… "Bla… 0.1.0   "\nc(perso… "Geographi… MIT + …
#>  9 2023-12-08 11:20:08 UTC dsem    "Fit… 1.0.0   "\nc(perso… "Applies d… GPL-3  
#> 10 2023-12-08 11:20:05 UTC mergen  "AI-… 0.1.0   "c(\nperso… "Employing… MIT + …
#> # ℹ 20 more variables: Encoding <chr>, RoxygenNote <chr>, LazyData <chr>,
#> #   VignetteBuilder <chr>, URL <chr>, BugReports <chr>, NeedsCompilation <chr>,
#> #   Packaged <chr>, Author <chr>, Maintainer <chr>, Repository <chr>,
#> #   crandb_file_date <chr>, MD5sum <chr>, date <chr>, dependencies <list>,
#> #   `Config/testthat/edition` <chr>, Language <chr>, Type <chr>, Date <chr>,
#> #   Collate <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>, …