• using R version 4.2.0 (2022-04-22)
  • using platform: x86_64-apple-darwin17.0 (64-bit)
  • using session charset: UTF-8
  • checking for file ‘sandwich/DESCRIPTION’ ... OK
  • this is package ‘sandwich’ version ‘3.0-2’
  • checking package namespace information ... OK
  • checking package dependencies ... NOTE
    Package suggested but not available for checking: ‘pcse’
  • checking if this is a source package ... OK
  • checking if there is a namespace ... OK
  • checking for executable files ... OK
  • checking for hidden files and directories ... OK
  • checking for portable file names ... OK
  • checking for sufficient/correct file permissions ... OK
  • checking whether package ‘sandwich’ can be installed ... [4s/4s] OK
    See the install log for details.
  • checking installed package size ... OK
  • checking package directory ... OK
  • checking ‘build’ directory ... OK
  • checking DESCRIPTION meta-information ... OK
  • checking top-level files ... OK
  • checking for left-over files ... OK
  • checking index information ... OK
  • checking package subdirectories ... OK
  • checking R files for non-ASCII characters ... OK
  • checking R files for syntax errors ... OK
  • checking whether the package can be loaded ... OK
  • checking whether the package can be loaded with stated dependencies ... OK
  • checking whether the package can be unloaded cleanly ... OK
  • checking whether the namespace can be loaded with stated dependencies ... OK
  • checking whether the namespace can be unloaded cleanly ... OK
  • checking loading without being on the library search path ... OK
  • checking dependencies in R code ... OK
  • checking S3 generic/method consistency ... OK
  • checking replacement functions ... OK
  • checking foreign function calls ... OK
  • checking R code for possible problems ... [4s/4s] OK
  • checking Rd files ... [1s/1s] OK
  • checking Rd metadata ... OK
  • checking Rd cross-references ... OK
  • checking for missing documentation entries ... OK
  • checking for code/documentation mismatches ... OK
  • checking Rd \usage sections ... OK
  • checking Rd contents ... OK
  • checking for unstated dependencies in examples ... OK
  • checking contents of ‘data’ directory ... OK
  • checking data for non-ASCII characters ... OK
  • checking data for ASCII and uncompressed saves ... OK
  • checking sizes of PDF files under ‘inst/doc’ ... OK
  • checking installed files from ‘inst/doc’ ... OK
  • checking files in ‘vignettes’ ... OK
  • checking examples ... [8s/8s] OK
  • checking differences from ‘sandwich-Ex.Rout’ to ‘sandwich-Ex.Rout.save’ ... OK
  • checking for unstated dependencies in ‘tests’ ... OK
  • checking tests ... [77s/77s] OK
      Running ‘vcovCL.R’ [71s/72s]
      Comparing ‘vcovCL.Rout’ to ‘vcovCL.Rout.save’ ...199,200c199,200
    < (Intercept) 0.139728 -1.754e-03
    < institutions -0.001754 3.822e-05
    ---
    > (Intercept) 0.139697 -1.751e-03
    > institutions -0.001751 3.815e-05
    203,204c203,204
    < (Intercept) 0.138537 -1.754e-03
    < institutions -0.001754 3.715e-05
    ---
    > (Intercept) 0.138509 -1.752e-03
    > institutions -0.001752 3.708e-05
      Running ‘vcovPC.R’ [3s/3s]
      Comparing ‘vcovPC.Rout’ to ‘vcovPC.Rout.save’ ...38,43c38,66
    < > proc.time()
    < user system elapsed
    < 2.165 1.071 3.222
    < Warning message:
    < In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
    < there is no package called 'pcse'
    ---
    >
    > Attaching package: 'pcse'
    >
    > The following object is masked from 'package:sandwich':
    >
    > vcovPC
    >
    > > (pc3 <- pcse::vcovPC(u_m, PU$firm, PU$year, pairwise = FALSE))
    > X.Intercept. x
    > X.Intercept. 5.108853e-04 -8.787789e-05
    > x -8.787789e-05 6.371175e-04
    > > (pc4 <- sandwich::vcovPC(u_m, cluster = ~ firm + year, pairwise = FALSE))
    > (Intercept) x
    > (Intercept) 5.108853e-04 -8.787789e-05
    > x -8.787789e-05 6.371175e-04
    > > (pc5 <- pcse::vcovPC(u_m, PU$firm, PU$year, pairwise = TRUE))
    > X.Intercept. x
    > X.Intercept. 4.870754e-04 -4.566605e-05
    > x -4.566605e-05 6.419998e-04
    > > (pc6 <- sandwich::vcovPC(u_m, cluster = ~ firm + year, pairwise = TRUE))
    > (Intercept) x
    > (Intercept) 4.870754e-04 -4.566605e-05
    > x -4.566605e-05 6.419998e-04
    > > rownames(pc3) <- colnames(pc3) <- rownames(pc5) <- colnames(pc5) <- c("(Intercept)", "x")
    > > all.equal(pc3, pc4)
    > [1] TRUE
    > > all.equal(pc5, pc6)
    > [1] TRUE
    > >
      Running ‘vcovPL.R’ [2s/2s]
      Comparing ‘vcovPL.Rout’ to ‘vcovPL.Rout.save’ ... OK
  • checking for unstated dependencies in vignettes ... OK
  • checking package vignettes in ‘inst/doc’ ... OK
  • checking running R code from vignettes ... [10s/10s] NOTE
      ‘sandwich-CL.Rnw’... [7s/7s] NOTE
    differences from ‘sandwich-CL.Rout.save’
    63,64c63,69
    < Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
    < there is no package called 'pcse'
    ---
    >
    > Attaching package: 'pcse'
    >
    > The following object is masked from 'package:sandwich':
    >
    > vcovPC
    >
    165,166c170,171
    < (Intercept) 0.022201 0.028359
    < x 0.025276 0.028583
    ---
    > (Intercept) 0.022201 0.022201
    > x 0.025276 0.025276
    176,177c181,182
    < (Intercept) 0.022070 0.028359 0.022603 0.028359
    < x 0.025338 0.028581 0.025241 0.028581
    ---
    > (Intercept) 0.022070 0.022070 0.022603 0.022603
    > x 0.025338 0.025338 0.025241 0.025241
      ‘sandwich-OOP.Rnw’... [2s/2s] OK
      ‘sandwich.Rnw’... [1s/1s] OK
  • checking re-building of vignette outputs ... [25s/25s] OK
  • checking PDF version of manual ... OK
  • DONE
    Status: 2 NOTEs
  • using check arguments '--no-clean-on-error '