You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.Rmd
+25-17
Original file line number
Diff line number
Diff line change
@@ -124,38 +124,46 @@ on which lgr is built and the **only Package lgr will ever depend on**.
124
124
125
125
### Optional Dependencies
126
126
127
-
These optional dependencies that are not necessary to use lgr, but
128
-
that are required for some extra appenders. To leverage the power of the most
129
-
central features of **lgr** it is recommended (but not necessary) that you
130
-
at least install the packages **data.table**, **jsonlite**,
131
-
and possibly **crayon**. Care was taken to choose packages that are slim,
132
-
stable, have minimal dependencies, and are well
133
-
maintained :
134
-
135
-
*[crayon](https://github.com/r-lib/crayon) for colored console output.
136
-
*[data.table](https://github.com/Rdatatable/) for fast in-memory logging
137
-
with `AppenderDt`.
138
-
*[jsonlite](https://github.com/jeroen/jsonlite) for JSON logging via
127
+
lgr comes with a long list of optional dependencies. These are not necessary to
128
+
use lgr, but that are required for some extra functions. Most of these
129
+
dependencies are tied to specific Appenders, though **crayon** and
130
+
**data.table** are also relevant to interactive use of lgr.
131
+
132
+
Care was taken to choose packages that are slim, stable, have minimal
133
+
dependencies, and are well maintained :
134
+
135
+
-[crayon](https://github.com/r-lib/crayon) for colored console output.
136
+
-[glue](https://glue.tidyverse.org/) for a more flexible formatting syntax
137
+
via LoggerGlue and LayoutGlue.
138
+
-[data.table](https://github.com/Rdatatable/) for fast in-memory
139
+
logging with `AppenderDt`, and also by all database / DBI Appenders.
140
+
-[jsonlite](https://github.com/jeroen/jsonlite) for JSON logging via
139
141
`LayoutJson`. JSON is a popular plaintext based file format that is easy to
140
142
read for humans and machines alike.
141
-
*[DBI](https://github.com/r-dbi/DBI) for logging to databases. Logging with
143
+
-[DBI](https://github.com/r-dbi/DBI) for logging to databases. Logging with
142
144
lgr has been tested with the following backends:
143
145
-[RSQLite](https://github.com/r-dbi/RSQLite),
144
146
-[RMySQL](https://cran.r-project.org/package=RMySQL) for MariaDB and MySQL (RMariaDB is currently broken, see [this issue](https://github.com/r-dbi/RMariaDB/issues/119)),
For more examples please see the package [vignette](https://s-fleck.github.io/lgr/articles/lgr.html) and [documentation](https://s-fleck.github.io/lgr/)
@@ -80,21 +80,27 @@ Dependencies
80
80
81
81
### Optional Dependencies
82
82
83
-
These optional dependencies that are not necessary to use lgr, but that are required for some extra appenders. To leverage the power of the most central features of **lgr** it is recommended (but not necessary) that you at least install the packages **data.table**, **jsonlite**, and possibly **crayon**. Care was taken to choose packages that are slim, stable, have minimal dependencies, and are well maintained :
83
+
lgr comes with a long list of optional dependencies. These are not necessary to use lgr, but that are required for some extra functions. Most of these dependencies are tied to specific Appenders, though **crayon** and **data.table** are also relevant to interactive use of lgr.
84
+
85
+
Care was taken to choose packages that are slim, stable, have minimal dependencies, and are well maintained :
84
86
85
87
-[crayon](https://github.com/r-lib/crayon) for colored console output.
86
-
-[data.table](https://github.com/Rdatatable/) for fast in-memory logging with `AppenderDt`.
88
+
-[glue](https://glue.tidyverse.org/) for a more flexible formatting syntax via LoggerGlue and LayoutGlue.
89
+
-[data.table](https://github.com/Rdatatable/) for fast in-memory logging with `AppenderDt`, and also by all database / DBI Appenders.
87
90
-[jsonlite](https://github.com/jeroen/jsonlite) for JSON logging via `LayoutJson`. JSON is a popular plaintext based file format that is easy to read for humans and machines alike.
88
91
-[DBI](https://github.com/r-dbi/DBI) for logging to databases. Logging with lgr has been tested with the following backends:
89
92
-[RSQLite](https://github.com/r-dbi/RSQLite),
90
93
-[RMySQL](https://cran.r-project.org/package=RMySQL) for MariaDB and MySQL (RMariaDB is currently broken, see [this issue](https://github.com/r-dbi/RMariaDB/issues/119)),
In theory all DBI compliant database packages should work. If you are using lgr with a database backend, please report your (positive and negative) experiences, as database support is still somewhat experimental.
95
98
-[gmailr](https://cran.r-project.org/package=gmailr) or [sendmailR](https://cran.r-project.org/package=sendmailR) for email notifications.
96
99
-[RPushbullet](https://github.com/eddelbuettel/rpushbullet) for push notifications.
97
100
-[whoami](https://github.com/r-lib/whoami/blob/master/DESCRIPTION) for guessing the user name from various sources. You can also set the user name manually if you want to use it for logging.
101
+
-[desc](https://CRAN.R-project.org/package=desc) for the package development convenince function `use_logger()`
102
+
103
+
Other optional dependencies (future, future.apply) do not provide any extra functionallity but had to be included for some of the automated unit tests run by lgr.
0 commit comments