--------------------------------------------------------------------------------
-                                logrx Metadata                                -
--------------------------------------------------------------------------------
This log was generated using logrx 0.1.1.9002
logrx package version: 0.1.1.9002
logrx build: load_all()
logrx link to repository: https://github.com/pharmaverse/logrx
--------------------------------------------------------------------------------
-                          User and File Information                           -
--------------------------------------------------------------------------------
User: r590548
File Name: risk_diff.R
File Path: /cloud/project/data-raw/risk_diff
File HashSum: 8befccfaf92d2bbed15432aa39303043f7eb8209
--------------------------------------------------------------------------------
-                             Session Information                              -
--------------------------------------------------------------------------------
─ Session info ─────────────────────────────────────────────────────────────────
 setting  value
 version  R version 4.2.2 (2022-10-31)
 os       Ubuntu 20.04.5 LTS
 system   x86_64, linux-gnu
 ui       RStudio
 language (EN)
 collate  C.UTF-8
 ctype    C.UTF-8
 tz       UTC
 date     2022-12-13
 rstudio  2022.07.2+576.pro12 Spotted Wakerobin (server)
 pandoc   2.19.2 @ /usr/lib/rstudio-server/bin/quarto/bin/tools/ (via rmarkdown)

─ Packages ─────────────────────────────────────────────────────────────────────
 ! package     * version    date (UTC) lib source
   assertthat    0.2.1      2019-03-21 [1] RSPM (R 4.2.0)
   bslib         0.4.0      2022-07-16 [1] RSPM (R 4.2.0)
   cachem        1.0.6      2021-08-19 [1] RSPM (R 4.2.0)
   callr         3.7.2      2022-08-22 [1] RSPM (R 4.2.0)
   cli           3.4.1      2022-09-23 [1] RSPM (R 4.2.0)
   commonmark    1.8.0      2022-03-09 [1] RSPM (R 4.2.0)
   crayon        1.5.1      2022-03-26 [1] RSPM (R 4.2.0)
   cyclocomp     1.1.0      2016-09-10 [1] RSPM (R 4.2.0)
   desc          1.4.2      2022-09-08 [1] RSPM (R 4.2.0)
   devtools      2.4.4      2022-07-20 [1] RSPM (R 4.2.0)
   digest        0.6.29     2021-12-01 [1] RSPM (R 4.2.0)
   dplyr         1.0.10     2022-09-01 [1] RSPM (R 4.2.0)
   ellipsis      0.3.2      2021-04-29 [1] RSPM (R 4.2.0)
   evaluate      0.16       2022-08-09 [1] RSPM (R 4.2.0)
   fansi         1.0.3      2022-03-24 [1] RSPM (R 4.2.0)
   fastmap       1.1.0      2021-01-25 [1] RSPM (R 4.2.0)
   forcats       0.5.2      2022-08-19 [1] RSPM (R 4.2.0)
   fs            1.5.2      2021-12-08 [1] RSPM (R 4.2.0)
   generics      0.1.3      2022-07-05 [1] RSPM (R 4.2.0)
   glue          1.6.2      2022-02-24 [1] RSPM (R 4.2.0)
   haven       * 2.5.1      2022-08-22 [1] RSPM (R 4.2.0)
   hms           1.1.2      2022-08-19 [1] RSPM (R 4.2.0)
   htmltools     0.5.3      2022-07-18 [1] RSPM (R 4.2.0)
   htmlwidgets   1.5.4      2021-09-08 [1] RSPM (R 4.2.0)
   httpuv        1.6.6      2022-09-08 [1] RSPM (R 4.2.0)
   jquerylib     0.1.4      2021-04-26 [1] RSPM (R 4.2.0)
   jsonlite      1.8.0      2022-02-22 [1] RSPM (R 4.2.0)
   knitr         1.40       2022-08-24 [1] RSPM (R 4.2.0)
   later         1.3.0      2021-08-18 [1] RSPM (R 4.2.0)
   lazyeval      0.2.2      2019-03-15 [1] RSPM (R 4.2.0)
   lifecycle     1.0.2      2022-09-09 [1] RSPM (R 4.2.0)
   lintr         3.0.1      2022-09-13 [1] RSPM (R 4.2.0)
 P logrx       * 0.1.1.9002 2022-12-08 [?] load_all()
   magrittr    * 2.0.3      2022-03-30 [1] RSPM (R 4.2.0)
   memoise       2.0.1      2021-11-26 [1] RSPM (R 4.2.0)
   mime          0.12       2021-09-28 [1] RSPM (R 4.2.0)
   miniUI        0.1.1.1    2018-05-18 [1] RSPM (R 4.2.0)
   pillar        1.8.1      2022-08-19 [1] RSPM (R 4.2.0)
   pkgbuild      1.3.1      2021-12-20 [1] RSPM (R 4.2.0)
   pkgconfig     2.0.3      2019-09-22 [1] RSPM (R 4.2.0)
   pkgdown       2.0.6      2022-07-16 [1] RSPM (R 4.2.0)
   pkgload       1.3.0      2022-06-27 [1] RSPM (R 4.2.0)
   prettyunits   1.1.1      2020-01-24 [1] RSPM (R 4.2.0)
   processx      3.7.0      2022-07-07 [1] RSPM (R 4.2.0)
   profvis       0.3.7      2020-11-02 [1] RSPM (R 4.2.0)
   promises      1.2.0.1    2021-02-11 [1] RSPM (R 4.2.0)
   ps            1.7.1      2022-06-18 [1] RSPM (R 4.2.0)
   purrr         0.3.4      2020-04-17 [1] RSPM (R 4.2.0)
   R6            2.5.1      2021-08-19 [1] RSPM (R 4.2.0)
   Rcpp          1.0.9      2022-07-08 [1] RSPM (R 4.2.0)
   readr         2.1.2      2022-01-30 [1] RSPM (R 4.2.0)
   remotes       2.4.2      2021-11-30 [1] RSPM (R 4.2.0)
   rex           1.2.1      2021-11-26 [1] RSPM (R 4.2.0)
   rlang         1.0.6      2022-09-24 [1] RSPM (R 4.2.0)
   rmarkdown     2.16       2022-08-24 [1] RSPM (R 4.2.0)
   roxygen2      7.2.1      2022-07-18 [1] RSPM (R 4.2.0)
   rprojroot     2.0.3      2022-04-02 [1] RSPM (R 4.2.0)
   rstudioapi    0.14       2022-08-22 [1] RSPM (R 4.2.0)
   sass          0.4.2      2022-07-16 [1] RSPM (R 4.2.0)
   sessioninfo   1.2.2      2021-12-06 [1] RSPM (R 4.2.0)
   shiny       * 1.7.2      2022-07-19 [1] RSPM (R 4.2.0)
   stringi       1.7.8      2022-07-11 [1] RSPM (R 4.2.0)
   stringr       1.4.1      2022-08-20 [1] RSPM (R 4.2.0)
   tibble        3.1.8      2022-07-22 [1] RSPM (R 4.2.0)
   tidyr         1.2.1      2022-09-08 [1] RSPM (R 4.2.0)
   tidyselect    1.1.2      2022-02-21 [1] RSPM (R 4.2.0)
   Tplyr       * 0.4.4      2022-01-27 [1] RSPM (R 4.2.0)
   tzdb          0.3.0      2022-03-28 [1] RSPM (R 4.2.0)
   urlchecker    1.0.1      2021-11-30 [1] RSPM (R 4.2.0)
   usethis       2.1.6      2022-05-25 [1] RSPM (R 4.2.0)
   utf8          1.2.2      2021-07-24 [1] RSPM (R 4.2.0)
   vctrs         0.4.1      2022-04-13 [1] RSPM (R 4.2.0)
   waiter        0.2.5      2022-01-03 [1] RSPM (R 4.2.0)
   withr         2.5.0      2022-03-03 [1] RSPM (R 4.2.0)
   xfun          0.33       2022-09-12 [1] RSPM (R 4.2.0)
   xml2          1.3.3      2021-11-30 [1] RSPM (R 4.2.0)
   xtable        1.8-4      2019-04-21 [1] RSPM (R 4.2.0)
   yaml          2.3.5      2022-02-21 [1] RSPM (R 4.2.0)

 [1] /cloud/lib/x86_64-pc-linux-gnu-library/4.2
 [2] /opt/R/4.2.2/lib/R/library

 P ── Loaded and on-disk path mismatch.

─ External software ────────────────────────────────────────────────────────────
 setting        value
 cairo          1.16.0
 cairoFT
 pango          1.44.7
 png            1.6.37
 jpeg           8.0
 tiff           LIBTIFF, Version 4.1.0
 tcl            8.6.10
 curl           7.68.0
 zlib           1.2.11
 bzlib          1.0.8, 13-Jul-2019
 xz             5.2.4
 PCRE           10.34 2019-11-21
 ICU            66.1
 TRE            TRE 0.8.0 R_fixes (BSD)
 iconv          glibc 2.31
 readline       8.0
 BLAS           /usr/lib/x86_64-linux-gnu/atlas/libblas.so.3.10.3
 lapack         /usr/lib/x86_64-linux-gnu/atlas/liblapack.so.3.10.3
 lapack_version 3.9.0

─ Python configuration ─────────────────────────────────────────────────────────
 Python is not available

────────────────────────────────────────────────────────────────────────────────
--------------------------------------------------------------------------------
-                               Masked Functions                               -
--------------------------------------------------------------------------------
function `actionButton` from {package:logrx} by package:shiny
function `checkboxInput` from {package:logrx} by package:shiny
function `column` from {package:logrx} by package:shiny
function `fluidRow` from {package:logrx} by package:shiny
function `HTML` from {package:logrx} by package:shiny
function `observeEvent` from {package:logrx} by package:shiny
function `reactiveValues` from {package:logrx} by package:shiny
function `renderText` from {package:logrx} by package:shiny
function `runGadget` from {package:logrx} by package:shiny
function `stopApp` from {package:logrx} by package:shiny
function `tags` from {package:logrx} by package:shiny
function `textInput` from {package:logrx} by package:shiny
function `uiOutput` from {package:logrx} by package:shiny
function `system.file` from {package:logrx, package:base} by devtools_shims
function `?` from {package:utils} by devtools_shims
function `help` from {package:utils} by devtools_shims
function `aggregate` from {package:stats} by package:logrx
function `filter` from {package:stats} by package:logrx
function `capture.output` from {package:utils} by package:logrx
function `getParseData` from {package:utils} by package:logrx
function `library.dynam` from {package:base} by package:logrx
function `library.dynam.unload` from {package:base} by package:logrx
function `plot` from {package:base} by package:graphics
function `body<-` from {package:base} by package:methods
function `kronecker` from {package:base} by package:methods
--------------------------------------------------------------------------------
-                          Used Package and Functions                          -
--------------------------------------------------------------------------------
{package:base} library, c
{package:haven} read_xpt
{package:magrittr} %>%
{package:Tplyr} tplyr_table, add_layer, group_count, set_distinct_by, add_risk_diff, build
--------------------------------------------------------------------------------
-                         Program Run Time Information                         -
--------------------------------------------------------------------------------
Start time: 2022-12-13 20:38:06 UTC
End time: 2022-12-13 20:38:07 UTC
Run time: 1 seconds
--------------------------------------------------------------------------------
-                             Errors and Warnings                              -
--------------------------------------------------------------------------------
Errors:
    

Warnings:
    Chi-squared approximation may be incorrect
    Chi-squared approximation may be incorrect
    Chi-squared approximation may be incorrect
    Chi-squared approximation may be incorrect
--------------------------------------------------------------------------------
-                         Messages, Output, and Result                         -
--------------------------------------------------------------------------------
Messages:
    Attaching package: ‘magrittr’
    The following object is masked from ‘package:logrx’:    set_names
Output:
    

Result:
    # A tibble: 3 × 8
      row_label1                       var1_Placebo   var1_Xanomel…¹ var1_…² ord_l…³ rdiff…⁴ rdiff…⁵ ord_l…⁶
      <chr>                            <chr>          <chr>          <chr>     <int> <chr>   <chr>     <dbl>
    1 AMERICAN INDIAN OR ALASKA NATIVE "  0 (  0.0%)" "  1 (  1.3%)" "  0 (…       1 " 0.01… " 0.00…       1
    2 BLACK OR AFRICAN AMERICAN        "  6 (  8.7%)" "  8 ( 10.1%)" "  4 (…       1 " 0.01… "-0.03…       2
    3 WHITE                            " 63 ( 91.3%)" " 70 ( 88.6%)" " 73 (…       1 "-0.02… " 0.03…       3
    # … with abbreviated variable names ¹​`var1_Xanomeline High Dose`, ²​`var1_Xanomeline Low Dose`,
    #   ³​ord_layer_index, ⁴​`rdiff_Xanomeline High Dose_Placebo`, ⁵​`rdiff_Xanomeline Low Dose_Placebo`,
    #   ⁶​ord_layer_1
--------------------------------------------------------------------------------
-                               Log Output File                                -
--------------------------------------------------------------------------------
Log name: risk_diff.log
Log path: /cloud/project/data-raw/risk_diff