Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Version: 1.18.99
Title: Extension of `data.frame`
Depends: R (>= 3.5.0)
Imports: methods
Suggests: bit64 (>= 4.0.0), bit (>= 4.0.4), R.utils, xts, zoo (>= 1.8-1), yaml, litedown
Suggests: bit64 (>= 4.0.0), bit (>= 4.0.4), R.utils, xts, zoo (>= 1.8-1), yaml, litedown, codetools
Enhances: knitr, xfun
Description: Fast aggregation of large data (e.g. 100GB in RAM), fast ordered joins, fast add/modify/delete of columns by group using no copies at all, list columns, friendly and fast character-separated-value read/write. Offers a natural and flexible syntax, for faster development.
License: MPL-2.0 | file LICENSE
URL: https://r-datatable.com, https://Rdatatable.gitlab.io/data.table, https://github.com/Rdatatable/data.table
URL: https://r-datatable.com, https://rdatatable.gitlab.io/data.table, https://github.com/Rdatatable/data.table
BugReports: https://github.com/Rdatatable/data.table/issues
VignetteBuilder: litedown
Encoding: UTF-8
Expand Down
2 changes: 1 addition & 1 deletion NEWS.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@

16. `merge.data.table` will raise warning if any of data.tables to join has 0 columns. Closes [#597](https://github.com/Rdatatable/data.table/issues/597).

17. Travis-CI will now automatically deploy package to drat repository hosted on [data.table@gh-pages](https://github.com/Rdatatable/data.table/tree/gh-pages) branch allowing to install latest devel from **source** via `install.packages("data.table", repos = "https://Rdatatable.github.io/data.table", type = "source")`. Closes [#1505](https://github.com/Rdatatable/data.table/issues/1505).
17. Travis-CI will now automatically deploy package to drat repository hosted on [data.table@gh-pages](https://github.com/Rdatatable/data.table/tree/gh-pages) branch allowing to install latest devel from **source** via `install.packages("data.table", repos = "https://rdatatable.github.io/data.table", type = "source")`. Closes [#1505](https://github.com/Rdatatable/data.table/issues/1505).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one is github; we still use Rdatatable for github in a few other places.

(generally I might put this change separately, AFAICT there is only the tiny , codetools diff that matters in this PR... might be a good place for jj stacking)


18. Dependency on `chron` package has been changed to *suggested*. Closes [#1558](https://github.com/Rdatatable/data.table/issues/1558).

Expand Down
4 changes: 2 additions & 2 deletions R/devel.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dcf.repo = function(pkg, repo, field, type) {
dcf[dcf[,"Package"]==pkg, field][[1L]]
}

update_dev_pkg = function(pkg="data.table", repo="https://Rdatatable.gitlab.io/data.table", field="Revision", type=getOption("pkgType"), lib=NULL, ...) {
update_dev_pkg = function(pkg="data.table", repo="https://rdatatable.gitlab.io/data.table", field="Revision", type=getOption("pkgType"), lib=NULL, ...) {
# this works for any package, not just data.table
# perform package upgrade when new Revision present
stopifnot(is.character(pkg), length(pkg)==1L, !is.na(pkg),
Expand Down Expand Up @@ -50,7 +50,7 @@ update_dev_pkg = function(pkg="data.table", repo="https://Rdatatable.gitlab.io/d
.git = function(quiet=FALSE, lib.loc=NULL) {
ans = unname(read.dcf(system.file("DESCRIPTION", package="data.table", lib.loc=lib.loc, mustWork=TRUE), fields="Revision")[, "Revision"])
if (!quiet && is.na(ans))
catf("Git revision is not available. Most likely data.table was installed from CRAN or local archive.\nGit revision is available when installing from our repositories 'https://Rdatatable.gitlab.io/data.table' and 'https://Rdatatable.github.io/data.table'.\n")
catf("Git revision is not available. Most likely data.table was installed from CRAN or local archive.\nGit revision is available when installing from our repositories 'https://rdatatable.gitlab.io/data.table' and 'https://rdatatable.github.io/data.table'.\n")
ans
}

Expand Down
9 changes: 5 additions & 4 deletions man/update_dev_pkg.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Downloads and installs latest development version, only when a new commit is available. Defaults are set to update \code{data.table}, other packages can be used as well. Repository of a package has to include git commit SHA information in PACKAGES file.
}
\usage{update_dev_pkg(pkg="data.table",
repo="https://Rdatatable.gitlab.io/data.table",
repo="https://rdatatable.gitlab.io/data.table",
field="Revision", type=getOption("pkgType"), lib=NULL, \dots)
}
\arguments{
Expand All @@ -23,8 +23,8 @@
In case if a devel repository does not provide binaries user will need development tools installed for package compilation, like \emph{Rtools} on Windows, or alternatively eventually set \code{type="source"}.
}
\section{data.table repositories}{
By default the function uses our GitLab-hosted R repository at \code{https://Rdatatable.gitlab.io/data.table}. This repository is updated nightly. It runs multiple test jobs (on top of GitHub tests jobs run upstream) and publish the package (sources and binaries), even if GitLab test jobs are failing. Status of GitLab test jobs can be checked at \href{https://rdatatable.gitlab.io/data.table/web/checks/check_results_data.table.html}{Package Check Results}.\cr
We also publish bleeding edge version of the package on GitHub-hosted R repository at \code{https://Rdatatable.gitlab.io/data.table} (just minor change in url from \emph{lab} to \emph{hub}). GitHub version should be considered less stable than GitLab one. It publishes only package sources.\cr
By default the function uses our GitLab-hosted R repository at \code{https://rdatatable.gitlab.io/data.table}. This repository is updated nightly. It runs multiple test jobs (on top of GitHub tests jobs run upstream) and publish the package (sources and binaries), even if GitLab test jobs are failing. Status of GitLab test jobs can be checked at \href{https://rdatatable.gitlab.io/data.table/web/checks/check_results_data.table.html}{Package Check Results}.\cr
We also publish bleeding edge version of the package on GitHub-hosted R repository at \code{https://rdatatable.gitlab.io/data.table} (just minor change in url from \emph{lab} to \emph{hub}). GitHub version should be considered less stable than GitLab one. It publishes only package sources.\cr
There are also other repositories maintained by R community, for example \code{https://rdatatable.r-universe.dev}. Those can be used as well, but as they are unlikely to provide git commit SHA, the function will install the package even if latest version is already installed.
}
\note{
Expand All @@ -34,7 +34,8 @@
Invisibly \code{TRUE} if package was updated, otherwise \code{FALSE}.
}
\examples{
\dontshow{ # using if(FALSE) because \dontrun could still be run by --run-dontrun; #5421 }
\dontshow{ # using if(FALSE) because \dontrun could still be run by --run-dontrun; #5421
}
if (FALSE) data.table::update_dev_pkg()
}
\seealso{
Expand Down
2 changes: 1 addition & 1 deletion po/R-data.table.pot
Original file line number Diff line number Diff line change
Expand Up @@ -1417,7 +1417,7 @@ msgid ""
"Git revision is not available. Most likely data.table was installed from "
"CRAN or local archive.\n"
"Git revision is available when installing from our repositories 'https://"
"Rdatatable.gitlab.io/data.table' and 'https://Rdatatable.github.io/data."
"rdatatable.gitlab.io/data.table' and 'https://rdatatable.github.io/data."
"table'."
msgstr ""

Expand Down
6 changes: 3 additions & 3 deletions po/R-es.po
Original file line number Diff line number Diff line change
Expand Up @@ -1736,13 +1736,13 @@ msgid ""
"Git revision is not available. Most likely data.table was installed from "
"CRAN or local archive.\n"
"Git revision is available when installing from our repositories 'https://"
"Rdatatable.gitlab.io/data.table' and 'https://Rdatatable.github.io/data."
"rdatatable.gitlab.io/data.table' and 'https://rdatatable.github.io/data."
"table'."
msgstr ""
"Revisión de Git no disponible. Probablmeente instaló data.table desde CRAN o "
"desde un arcihvo local. La revisión de Git está disponible cuando se instala "
"data.table desde nuestros repositorios 'https://Rdatatable.gitlab.io/data."
"table' y 'https://Rdatatable.github.io/data.table'."
"data.table desde nuestros repositorios 'https://rdatatable.gitlab.io/data."
"table' y 'https://rdatatable.github.io/data.table'."

#: duplicated.R:7
#, c-format
Expand Down
4 changes: 2 additions & 2 deletions po/R-fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -1765,13 +1765,13 @@ msgid ""
"Git revision is not available. Most likely data.table was installed from "
"CRAN or local archive.\n"
"Git revision is available when installing from our repositories 'https://"
"Rdatatable.gitlab.io/data.table' and 'https://Rdatatable.github.io/data."
"rdatatable.gitlab.io/data.table' and 'https://rdatatable.github.io/data."
"table'."
msgstr ""
"La révision Git n'est pas disponible. Probablement data.table a été installé "
"de CRAN ou d'une archive locale.\n"
"La révision Git est disponible quand l'installation se fait à partir de nos "
"dépôts 'https://Rdatatable.gitlab.io/data.table' et 'https://Rdatatable."
"dépôts 'https://rdatatable.gitlab.io/data.table' et 'https://rdatatable."
"github.io/data.table'."

#: duplicated.R:7
Expand Down
4 changes: 2 additions & 2 deletions po/R-pt_BR.po
Original file line number Diff line number Diff line change
Expand Up @@ -1733,13 +1733,13 @@ msgid ""
"Git revision is not available. Most likely data.table was installed from "
"CRAN or local archive.\n"
"Git revision is available when installing from our repositories 'https://"
"Rdatatable.gitlab.io/data.table' and 'https://Rdatatable.github.io/"
"rdatatable.gitlab.io/data.table' and 'https://rdatatable.github.io/"
"data.table'."
msgstr ""
"A revisão do Git não está disponível. Provavelmente data.table foi instalado "
"do CRAN ou do arquivo local.\n"
"A revisão do Git está disponível ao instalar de nossos repositórios 'https://"
"Rdatatable.gitlab.io/data.table' e 'https://Rdatatable.github.io/data.table'."
"rdatatable.gitlab.io/data.table' e 'https://rdatatable.github.io/data.table'."

#: duplicated.R:7
#, c-format
Expand Down
4 changes: 2 additions & 2 deletions po/R-ru.po
Original file line number Diff line number Diff line change
Expand Up @@ -1733,13 +1733,13 @@ msgid ""
"Git revision is not available. Most likely data.table was installed from "
"CRAN or local archive.\n"
"Git revision is available when installing from our repositories 'https://"
"Rdatatable.gitlab.io/data.table' and 'https://Rdatatable.github.io/data."
"rdatatable.gitlab.io/data.table' and 'https://rdatatable.github.io/data."
"table'."
msgstr ""
"Не указан Git-коммит для установленной версии data.table. Вероятно, пакет "
"был установлен с CRAN (или из локального архива).\n"
"Git-коммит станет известен при установке из наших репозиториев 'https://"
"Rdatatable.gitlab.io/data.table' и 'https://Rdatatable.github.io/data.table'."
"rdatatable.gitlab.io/data.table' и 'https://rdatatable.github.io/data.table'."

#: duplicated.R:7
#, c-format
Expand Down
2 changes: 1 addition & 1 deletion po/R-zh_CN.po
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,7 @@ msgid ""
"Git revision is not available. Most likely data.table was installed from "
"CRAN or local archive.\n"
"Git revision is available when installing from our repositories 'https://"
"Rdatatable.gitlab.io/data.table' and 'https://Rdatatable.github.io/"
"rdatatable.gitlab.io/data.table' and 'https://rdatatable.github.io/"
"data.table'."
msgstr ""

Expand Down
2 changes: 1 addition & 1 deletion vignettes/datatable-sd-usage.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ Teams[ , .SD[which.max(R)], by = teamID]

Note that this approach can of course be combined with `.SDcols` to return only portions of the `data.table` for each `.SD` (with the caveat that `.SDcols` should be fixed across the various subsets).

_NB_: `.SD[1L]` is currently optimized by [_`GForce`_](https://Rdatatable.gitlab.io/data.table/library/data.table/html/datatable-optimize.html) ([see also](https://stackoverflow.com/questions/22137591/about-gforce-in-data-table-1-9-2)), `data.table` internals which massively speed up the most common grouped operations like `sum` or `mean` -- see `?GForce` for more details and keep an eye on/voice support for feature improvement requests for updates on this front: [1](https://github.com/Rdatatable/data.table/issues/735), [2](https://github.com/Rdatatable/data.table/issues/2778), [3](https://github.com/Rdatatable/data.table/issues/523), [4](https://github.com/Rdatatable/data.table/issues/971), [5](https://github.com/Rdatatable/data.table/issues/1197), [6](https://github.com/Rdatatable/data.table/issues/1414).
_NB_: `.SD[1L]` is currently optimized by [_`GForce`_](https://rdatatable.gitlab.io/data.table/library/data.table/html/datatable-optimize.html) ([see also](https://stackoverflow.com/questions/22137591/about-gforce-in-data-table-1-9-2)), `data.table` internals which massively speed up the most common grouped operations like `sum` or `mean` -- see `?GForce` for more details and keep an eye on/voice support for feature improvement requests for updates on this front: [1](https://github.com/Rdatatable/data.table/issues/735), [2](https://github.com/Rdatatable/data.table/issues/2778), [3](https://github.com/Rdatatable/data.table/issues/523), [4](https://github.com/Rdatatable/data.table/issues/971), [5](https://github.com/Rdatatable/data.table/issues/1197), [6](https://github.com/Rdatatable/data.table/issues/1414).

## Grouped Regression

Expand Down
2 changes: 1 addition & 1 deletion vignettes/fr/datatable-sd-usage.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ Teams[ , .SD[which.max(R)], by = teamID]

Notez que cette approche peut bien sûr être combinée avec `.SDcols` pour renvoyer uniquement les portions de `data.table` pour chaque `.SD` (avec la mise en garde que `.SDcols` soit initialisé en fonction des différents sous-ensembles)

*NB* : `.SD[1L]` est actuellement optimisé par [*`GForce`*](https://Rdatatable.gitlab.io/data.table/library/data.table/html/datatable-optimize.html) ([voir aussi](https://stackoverflow.com/questions/22137591/about-gforce-in-data-table-1-9-2)), `data.table` interne qui accélère massivement les opérations groupées les plus courantes comme `sum` ou `mean` -- voir ` ?GForce` pour plus de détails et gardez un oeil sur le support pour les demandes d'amélioration des fonctionnalités pour les mises à jour sur ce front : [1](https://github.com/Rdatatable/data.table/issues/735), [2](https://github.com/Rdatatable/data.table/issues/2778), [3](https://github.com/Rdatatable/data.table/issues/523), [4](https://github.com/Rdatatable/data.table/issues/971), [5](https://github.com/Rdatatable/data.table/issues/1197), [6](https://github.com/Rdatatable/data.table/issues/1414)
*NB* : `.SD[1L]` est actuellement optimisé par [*`GForce`*](https://rdatatable.gitlab.io/data.table/library/data.table/html/datatable-optimize.html) ([voir aussi](https://stackoverflow.com/questions/22137591/about-gforce-in-data-table-1-9-2)), `data.table` interne qui accélère massivement les opérations groupées les plus courantes comme `sum` ou `mean` -- voir ` ?GForce` pour plus de détails et gardez un oeil sur le support pour les demandes d'amélioration des fonctionnalités pour les mises à jour sur ce front : [1](https://github.com/Rdatatable/data.table/issues/735), [2](https://github.com/Rdatatable/data.table/issues/2778), [3](https://github.com/Rdatatable/data.table/issues/523), [4](https://github.com/Rdatatable/data.table/issues/971), [5](https://github.com/Rdatatable/data.table/issues/1197), [6](https://github.com/Rdatatable/data.table/issues/1414)

## Régression groupée

Expand Down
Loading