本書の執筆環境

セッション情報

sessionInfo()
R version 4.3.0 (2023-04-21)
Platform: x86_64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.3.1

Matrix products: default
BLAS:   /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/lib/libRblas.0.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/lib/libRlapack.dylib;  LAPACK version 3.11.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: Asia/Tokyo
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] digest_0.6.31     fastmap_1.1.1     xfun_0.39         knitr_1.43       
 [5] htmltools_0.5.5   rmarkdown_2.22    cli_3.6.1         textshaping_0.3.6
 [9] systemfonts_1.0.4 compiler_4.3.0    rstudioapi_0.14   tools_4.3.0      
[13] ragg_1.2.5        evaluate_0.21     yaml_2.3.7        rlang_1.1.1      
[17] jsonlite_1.8.4    htmlwidgets_1.6.2

インストール済みパッケージ

pacman::p_load(tidyverse)
installed.packages() %>%
  as_tibble() %>%
  select(Package, Version, Built) %>%
  print(n = Inf)
# A tibble: 431 × 3
    Package            Version    Built
    <chr>              <chr>      <chr>
  1 abind              1.4-5      4.3.0
  2 AER                1.2-10     4.3.0
  3 anytime            0.3.9      4.3.0
  4 arm                1.13-1     4.3.0
  5 AsioHeaders        1.22.1-2   4.3.0
  6 askpass            1.1        4.3.0
  7 assertthat         0.2.1      4.3.0
  8 attachment         0.4.0      4.3.0
  9 attempt            0.3.1      4.3.0
 10 backports          1.4.1      4.3.0
 11 BalanceR           0.8.0      4.3.0
 12 base               4.3.0      4.3.0
 13 base64enc          0.1-3      4.3.0
 14 bayestestR         0.13.1     4.3.0
 15 BH                 1.81.0-1   4.3.0
 16 bibtex             0.5.1      4.3.0
 17 bigD               0.2.0      4.3.0
 18 bit                4.0.5      4.3.0
 19 bit64              4.0.5      4.3.0
 20 bitops             1.0-7      4.3.0
 21 blob               1.2.4      4.3.0
 22 blogdown           1.17       4.3.0
 23 bookdown           0.34       4.3.0
 24 boot               1.3-28.1   4.3.0
 25 brew               1.0-8      4.3.0
 26 brio               1.1.3      4.3.0
 27 broom              1.0.4      4.3.0
 28 bsicons            0.1        4.3.0
 29 bslib              0.4.2.9000 4.3.0
 30 cachem             1.0.8      4.3.0
 31 callr              3.7.3      4.3.0
 32 car                3.1-2      4.3.0
 33 carData            3.0-5      4.3.0
 34 cellranger         1.1.0      4.3.0
 35 checkmate          2.2.0      4.3.0
 36 chromote           0.1.1.9001 4.3.0
 37 cjoint             2.1.0      4.3.0
 38 class              7.3-22     4.3.0
 39 classInt           0.4-9      4.3.0
 40 cli                3.6.1      4.3.0
 41 clipr              0.8.0      4.3.0
 42 cluster            2.1.4      4.3.0
 43 coda               0.19-4     4.3.0
 44 codetools          0.2-19     4.3.0
 45 collections        0.3.7      4.3.0
 46 colorspace         2.1-0      4.3.0
 47 colourpicker       1.2.0      4.3.0
 48 commonmark         1.9.0      4.3.0
 49 compiler           4.3.0      4.3.0
 50 config             0.3.1      4.3.0
 51 conflicted         1.2.0      4.3.0
 52 corpcor            1.6.10     4.3.0
 53 corrplot           0.92       4.3.0
 54 countrycode        1.5.0      4.3.0
 55 cowplot            1.1.1      4.3.0
 56 cpp11              0.4.3      4.3.0
 57 cranlogs           2.1.1      4.3.0
 58 crayon             1.5.2      4.3.0
 59 credentials        1.3.2      4.3.0
 60 cregg              0.4.0      4.3.0
 61 crosstalk          1.2.0      4.3.0
 62 crul               1.4.0      4.3.0
 63 cshapes            2.0        4.3.0
 64 curl               5.0.0      4.3.0
 65 cyclocomp          1.1.0      4.3.0
 66 dagitty            0.3-1      4.3.0
 67 data.table         1.14.8     4.3.0
 68 data.tree          1.0.0      4.3.0
 69 DataCombine        0.2.21     4.3.0
 70 datasets           4.3.0      4.3.0
 71 datawizard         0.7.1      4.3.0
 72 DBI                1.1.3      4.3.0
 73 dbplyr             2.3.2      4.3.0
 74 dcurver            0.9.2      4.3.0
 75 democracyData      0.5.0      4.3.0
 76 dendextend         1.17.1     4.3.0
 77 Deriv              4.1.3      4.3.0
 78 desc               1.4.2      4.3.0
 79 DescTools          0.99.49    4.3.0
 80 devtools           2.4.5      4.3.0
 81 diffobj            0.3.5      4.3.0
 82 digest             0.6.31     4.3.0
 83 downlit            0.4.2      4.3.0
 84 dplyr              1.1.2      4.3.0
 85 DT                 0.28       4.3.0
 86 dtplyr             1.3.1      4.3.0
 87 e1071              1.7-13     4.3.0
 88 ellipsis           0.3.2      4.3.0
 89 estimatr           1.0.0      4.3.0
 90 evaluate           0.21       4.3.0
 91 Exact              3.2        4.3.0
 92 expm               0.999-7    4.3.0
 93 extrafont          0.19       4.3.0
 94 extrafontdb        1.0        4.3.0
 95 fansi              1.0.4      4.3.0
 96 farver             2.1.1      4.3.0
 97 fastDummies        1.6.3      4.3.0
 98 fastmap            1.1.1      4.3.0
 99 fontawesome        0.5.1      4.3.0
100 fontBitstreamVera  0.1.1      4.3.0
101 fontLiberation     0.1.0      4.3.0
102 fontquiver         0.2.1      4.3.0
103 forcats            1.0.0      4.3.0
104 foreign            0.8-84     4.3.0
105 formatR            1.14       4.3.0
106 Formula            1.2-5      4.3.0
107 fs                 1.6.2      4.3.0
108 furrr              0.3.1      4.3.0
109 fusen              0.4.1      4.3.0
110 future             1.32.0     4.3.0
111 fuzzyjoin          0.1.6      4.3.0
112 gamlss.dist        6.0-5      4.3.0
113 gapminder          1.0.0      4.3.0
114 gargle             1.4.0      4.3.0
115 gdtools            0.3.3      4.3.0
116 generics           0.1.3      4.3.0
117 geojsonsf          2.0.3      4.3.0
118 geometries         0.2.2      4.3.0
119 geosphere          1.5-18     4.3.0
120 gert               1.9.2      4.3.0
121 gfonts             0.2.0      4.3.0
122 ggalluvial         0.12.5     4.3.0
123 GGally             2.1.2      4.3.0
124 ggbump             0.1.0      4.3.0
125 ggdag              0.2.10     4.3.0
126 ggdendro           0.1.23     4.3.0
127 ggExtra            0.10.0     4.3.0
128 ggfittext          0.10.0     4.3.0
129 ggforce            0.4.1      4.3.0
130 ggfortify          0.4.16     4.3.0
131 gghighlight        0.4.0      4.3.0
132 ggmosaic           0.3.3      4.3.0
133 ggplot2            3.4.2      4.3.0
134 ggpubr             0.6.0      4.3.0
135 ggraph             2.1.0      4.3.0
136 ggrepel            0.9.3      4.3.0
137 ggridges           0.5.4      4.3.0
138 ggsci              3.0.0      4.3.0
139 ggsignif           0.6.4      4.3.0
140 ggstance           0.3.6      4.3.0
141 gh                 1.4.0      4.3.0
142 ghibli             0.3.3      4.3.0
143 gitcreds           0.1.2      4.3.0
144 gld                2.6.6      4.3.0
145 globals            0.16.2     4.3.0
146 glue               1.6.2      4.3.0
147 golem              0.4.0      4.3.0
148 googledrive        2.1.0      4.3.0
149 googlePolylines    0.8.3      4.3.0
150 googlesheets4      1.1.0      4.3.0
151 GPArotation        2023.3-1   4.3.0
152 graphics           4.3.0      4.3.0
153 graphlayouts       1.0.0      4.3.0
154 grDevices          4.3.0      4.3.0
155 grid               4.3.0      4.3.0
156 gridExtra          2.3        4.3.0
157 gridlayout         0.2.0      4.3.0
158 gridtext           0.1.5      4.3.0
159 gt                 0.9.0      4.3.0
160 gtable             0.3.3      4.3.0
161 gtExtras           0.4.5      4.3.0
162 gtools             3.9.4      4.3.0
163 haven              2.5.2      4.3.0
164 here               1.0.1      4.3.0
165 highr              0.10       4.3.0
166 hms                1.1.3      4.3.0
167 hrbrthemes         0.8.0      4.3.0
168 htmltools          0.5.5      4.3.0
169 htmlwidgets        1.6.2      4.3.0
170 httpcode           0.3.0      4.3.0
171 httpuv             1.6.11     4.3.0
172 httr               1.4.6      4.3.0
173 httr2              0.2.3      4.3.0
174 icons              0.2.0      4.3.0
175 ids                1.0.1      4.3.0
176 igraph             1.4.3      4.3.0
177 ini                0.3.1      4.3.0
178 inline             0.3.19     4.3.0
179 insight            0.19.2     4.3.0
180 isoband            0.2.7      4.3.0
181 jpeg               0.1-10     4.3.0
182 jpmesh             2.1.0      4.3.0
183 jpndistrict        0.3.9.9000 4.3.0
184 jquerylib          0.1.4      4.3.0
185 jsonify            1.2.2      4.3.0
186 jsonlite           1.8.4      4.3.0
187 juicyjuice         0.1.0      4.3.0
188 kableExtra         1.3.4      4.3.0
189 KernSmooth         2.23-21    4.3.0
190 knitr              1.43       4.3.0
191 labeling           0.4.2      4.3.0
192 languageserver     0.3.15     4.3.0
193 later              1.3.1      4.3.0
194 latex2exp          0.9.6      4.3.0
195 lattice            0.21-8     4.3.0
196 lazyeval           0.2.2      4.3.0
197 leaflet            2.1.2      4.3.0
198 leaflet.providers  1.9.0      4.3.0
199 learnr             0.11.3     4.3.0
200 lifecycle          1.0.3      4.3.0
201 lintr              3.0.2      4.3.0
202 list               9.2.4      4.3.0
203 listenv            0.9.0      4.3.0
204 lme4               1.1-33     4.3.0
205 lmom               2.9        4.3.0
206 lmtest             0.9-40     4.3.0
207 lobstr             1.1.2      4.3.0
208 loo                2.6.0      4.3.0
209 lpdensity          2.4        4.3.0
210 lubridate          1.9.2      4.3.0
211 magic              1.6-1      4.3.0
212 magick             2.7.4      4.3.0
213 magrittr           2.0.3      4.3.0
214 makedummies        1.2.1      4.3.0
215 marginaleffects    0.12.0     4.3.0
216 margins            0.3.26     4.3.0
217 markdown           1.7        4.3.0
218 MASS               7.3-60     4.3.0
219 Matrix             1.5-4.1    4.3.0
220 MatrixModels       0.5-1      4.3.0
221 matrixStats        0.63.0     4.3.0
222 memoise            2.0.1      4.3.0
223 methods            4.3.0      4.3.0
224 mgcv               1.8-42     4.3.0
225 mime               0.12       4.3.0
226 miniUI             0.1.1.1    4.3.0
227 minqa              1.2.5      4.3.0
228 mirt               1.39       4.3.0
229 mitools            2.4        4.3.0
230 modelr             0.1.11     4.3.0
231 modelsummary       1.4.1      4.3.0
232 munsell            0.5.0      4.3.0
233 mvtnorm            1.1-3      4.3.0
234 nlme               3.1-162    4.3.0
235 nloptr             2.0.3      4.3.0
236 nnet               7.3-19     4.3.0
237 numDeriv           2016.8-1.1 4.3.0
238 openssl            2.0.6      4.3.0
239 openxlsx           4.2.5.2    4.3.0
240 packrat            0.9.1      4.3.0
241 pacman             0.5.1      4.3.0
242 pagedown           0.20       4.3.0
243 paletteer          1.5.0      4.3.0
244 pander             0.6.5      4.3.0
245 parallel           4.3.0      4.3.0
246 parallelly         1.36.0     4.3.0
247 parameters         0.21.1     4.3.0
248 parsermd           0.1.2      4.3.0
249 pbapply            1.7-0      4.3.0
250 pbkrtest           0.5.2      4.3.0
251 performance        0.10.3     4.3.0
252 permute            0.9-7      4.3.0
253 pillar             1.9.0      4.3.0
254 pkgbuild           1.4.0      4.3.0
255 pkgconfig          2.0.3      4.3.0
256 pkgdown            2.0.7      4.3.0
257 pkgload            1.3.2      4.3.0
258 plotly             4.10.1     4.3.0
259 plyr               1.8.8      4.3.0
260 png                0.1-8      4.3.0
261 polyclip           1.10-4     4.3.0
262 polynom            1.4-1      4.3.0
263 praise             1.0.0      4.3.0
264 PRcalc             0.7.0      4.3.0
265 prediction         0.3.14     4.3.0
266 prettyunits        1.1.1      4.3.0
267 prismatic          1.1.1      4.3.0
268 processx           3.8.1      4.3.0
269 productplots       0.1.1      4.3.0
270 profvis            0.3.8      4.3.0
271 progress           1.2.2      4.3.0
272 promises           1.2.0.1    4.3.0
273 proxy              0.4-27     4.3.0
274 pryr               0.1.6      4.3.0
275 ps                 1.7.5      4.3.0
276 psData             0.2.2      4.3.0
277 purrr              1.0.1      4.3.0
278 q2c                0.2.0      4.3.0
279 quadprog           1.5-8      4.3.0
280 qualtRics          3.1.7      4.3.0
281 quantreg           5.95       4.3.0
282 quarto             1.2        4.3.0
283 R.cache            0.16.0     4.3.0
284 R.methodsS3        1.8.2      4.3.0
285 R.oo               1.25.0     4.3.0
286 R.utils            2.12.2     4.3.0
287 R6                 2.5.1      4.3.0
288 ragg               1.2.5      4.3.0
289 rapidjsonr         1.2.0      4.3.0
290 rappdirs           0.3.3      4.3.0
291 rapportools        1.1        4.3.0
292 raster             3.6-20     4.3.0
293 rcmdcheck          1.4.0      4.3.0
294 RColorBrewer       1.1-3      4.3.0
295 Rcpp               1.0.10     4.3.0
296 RcppArmadillo      0.12.4.0.0 4.3.0
297 RcppEigen          0.3.3.9.3  4.3.0
298 RcppParallel       5.1.7      4.3.0
299 rdd                0.57       4.3.0
300 rddensity          2.4        4.3.0
301 rdrobust           2.1.1      4.3.0
302 reactable          0.4.4      4.3.0
303 reactR             0.4.4      4.3.0
304 readr              2.1.4      4.3.0
305 readxl             1.4.2      4.3.0
306 RefManageR         1.4.0      4.3.0
307 rematch            1.0.1      4.3.0
308 rematch2           2.1.2      4.3.0
309 remotes            2.4.2      4.3.0
310 renderthis         0.2.1      4.3.0
311 renv               0.17.3     4.3.0
312 reprex             2.0.2      4.3.0
313 reshape            0.8.9      4.3.0
314 reshape2           1.4.4      4.3.0
315 rex                1.2.1      4.3.0
316 rgeos              0.6-3      4.3.0
317 rio                0.5.29     4.3.0
318 rJava              1.0-6      4.3.0
319 rlang              1.1.1      4.3.0
320 rmapshaper         0.5.0      4.3.0
321 rmarkdown          2.22       4.3.0
322 rmdja              0.4.6.9    4.3.0
323 rnaturalearth      0.3.2      4.3.0
324 rnaturalearthdata  0.1.0      4.3.0
325 rnaturalearthhires 0.2.1      4.3.0
326 rootSolve          1.8.2.3    4.3.0
327 roxygen2           7.2.3      4.3.0
328 rpart              4.1.19     4.3.0
329 rprojroot          2.0.3      4.3.0
330 rqog               0.4.2023   4.3.0
331 rsconnect          0.8.29     4.3.0
332 rstan              2.21.8     4.3.0
333 rstatix            0.7.2      4.3.0
334 rstudioapi         0.14       4.3.0
335 Rttf2pt1           1.3.12     4.3.0
336 rversions          2.1.2      4.3.0
337 rvest              1.0.3      4.3.0
338 s2                 1.1.4      4.3.0
339 sandwich           3.0-2      4.3.0
340 sass               0.4.6      4.3.0
341 scales             1.2.1      4.3.0
342 selectr            0.4-2      4.3.0
343 servr              0.27       4.3.0
344 sessioninfo        1.2.2      4.3.0
345 sf                 1.0-13     4.3.0
346 sfheaders          0.4.2      4.3.0
347 shades             1.4.0      4.3.0
348 shiny              1.7.4      4.3.0
349 shiny.i18n         0.3.0      4.3.0
350 shinyBS            0.61.1     4.3.0
351 shinyglide         0.1.4      4.3.0
352 shinyjs            2.1.0      4.3.0
353 shinythemes        1.2.0      4.3.0
354 shinyuieditor      0.4.3      4.3.0
355 shinyWidgets       0.7.6      4.3.0
356 SimpleConjoint     0.1.1      4.3.0
357 sjlabelled         1.2.0      4.3.0
358 sortable           0.5.0      4.3.0
359 sourcetools        0.1.7-1    4.3.0
360 sp                 1.6-1      4.3.0
361 SparseM            1.81       4.3.0
362 spatial            7.3-16     4.3.0
363 splines            4.3.0      4.3.0
364 StanHeaders        2.26.26    4.3.0
365 stargazer          5.2.3      4.3.0
366 stats              4.3.0      4.3.0
367 stats4             4.3.0      4.3.0
368 stringdist         0.9.10     4.3.0
369 stringi            1.7.12     4.3.0
370 stringr            1.5.0      4.3.0
371 styler             1.10.0     4.3.0
372 summarytools       1.0.1      4.3.0
373 survey             4.2-1      4.3.0
374 survival           3.5-5      4.3.0
375 svglite            2.1.1      4.3.0
376 sys                3.4.2      4.3.0
377 systemfonts        1.0.4      4.3.0
378 tables             0.9.17     4.3.0
379 tcltk              4.3.0      4.3.0
380 terra              1.7-29     4.3.0
381 testthat           3.1.8      4.3.0
382 textshaping        0.3.6      4.3.0
383 tibble             3.2.1      4.3.0
384 tidyfast           0.2.1      4.3.0
385 tidygraph          1.2.3      4.3.0
386 tidyr              1.3.0      4.3.0
387 tidyselect         1.2.0      4.3.0
388 tidyverse          2.0.0      4.3.0
389 timechange         0.2.0      4.3.0
390 tinytex            0.45       4.3.0
391 titanic            0.1.0      4.3.0
392 tools              4.3.0      4.3.0
393 treemapify         2.5.5      4.3.0
394 triebeard          0.4.1      4.3.0
395 tweenr             2.0.2      4.3.0
396 tzdb               0.4.0      4.3.0
397 units              0.8-2      4.3.0
398 urlchecker         1.0.1      4.3.0
399 urlshorteneR       1.5.7      4.3.0
400 urltools           1.7.3      4.3.0
401 usethis            2.1.6      4.3.0
402 utf8               1.2.3      4.3.0
403 utils              4.3.0      4.3.0
404 uuid               1.1-0      4.3.0
405 V8                 4.3.0      4.3.0
406 vctrs              0.6.2      4.3.0
407 vdemdata           13.0       4.3.0
408 vegan              2.6-4      4.3.0
409 VGAM               1.1-8      4.3.0
410 viridis            0.6.3      4.3.0
411 viridisLite        0.4.2      4.3.0
412 vroom              1.6.3      4.3.0
413 waldo              0.5.1      4.3.0
414 webshot            0.5.4      4.3.0
415 websocket          1.4.1      4.3.0
416 whisker            0.4.1      4.3.0
417 withr              2.5.0      4.3.0
418 wk                 0.7.3      4.3.0
419 woRdle             0.0.1      4.3.0
420 xaringan           0.28       4.3.0
421 xaringanExtra      0.7.0.9000 4.3.0
422 xfun               0.39       4.3.0
423 xlsx               0.6.5      4.3.0
424 xlsxjars           0.6.1      4.3.0
425 xml2               1.3.4      4.3.0
426 xmlparsedata       1.0.5      4.3.0
427 xopen              1.0.0      4.3.0
428 xtable             1.8-4      4.3.0
429 yaml               2.3.7      4.3.0
430 zip                2.3.0      4.3.0
431 zoo                1.8-12     4.3.0