Anirban166 / testComplexity

Asymptotic complexity testing framework
https://anirban166.github.io/testComplexity/
Other
36 stars 2 forks source link

RCMD check() issuing namespace error locally #8

Closed Anirban166 closed 4 years ago

Anirban166 commented 4 years ago

while pushing asymptoticMemoryUsage from Memtest branch (It does not affect this issue and build will work/deploy successfully on Travis, since this is a local case) I checked locally in my RStudio session for any issues:

library(devtools)
library(covr)
> package_coverage()
testComplexity Coverage: 100.00%
R/asymptoticMemoryUsage.R: 100.00%
R/asymptoticTimeComplexityClass.R: 100.00%
R/asymptoticTimings.R: 100.00%
R/plotTimings.R: 100.00%
> load_all()
Loading testComplexity
> check()
Updating testComplexity documentation
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  namespace ‘purrr’ 0.3.2 is already loaded, but >= 0.3.3 is required

The last two lines show the error that threw up on the basis of package purrr, which seemed to be a rather common issue (based on package dependencies, and not isolated to that package) which could be resolved by updating/installing the package, so I tried that:

> install.packages("purrr")
Installing package into ‘C:/Users/HP/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/purrr_0.3.4.zip'
Content type 'application/zip' length 430172 bytes (420 KB)
downloaded 420 KB

package ‘purrr’ successfully unpacked and MD5 sums checked
Warning in install.packages :
  cannot remove prior installation of package ‘purrr’
Warning in install.packages :
  problem copying C:\Users\HP\Documents\R\win-library\3.6\00LOCK\purrr\libs\x64\purrr.dll to C:\Users\HP\Documents\R\win-library\3.6\purrr\libs\x64\purrr.dll: Permission denied
Warning in install.packages :
  restored ‘purrr’

The downloaded binary packages are in
    C:\Users\HP\AppData\Local\Temp\RtmpszRB1y\downloaded_packages
> update.packages("purrr")
> detach("package:purrr", unload = TRUE)
Warning message:
‘purrr’ namespace cannot be unloaded:
  namespace ‘purrr’ is imported by ‘tidyselect’ so cannot be unloaded 
> remove.packages("purrr", lib="~/R/win-library/3.6")
> install.packages("purrr")
Error in install.packages : Updating loaded packages
> install.packages("purrr")
Installing package into ‘C:/Users/HP/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/purrr_0.3.4.zip'
Content type 'application/zip' length 430172 bytes (420 KB)
downloaded 420 KB

package ‘purrr’ successfully unpacked and MD5 sums checked
Warning in install.packages :
  cannot remove prior installation of package ‘purrr’
Warning in install.packages :
  problem copying C:\Users\HP\Documents\R\win-library\3.6\00LOCK\purrr\libs\x64\purrr.dll to C:\Users\HP\Documents\R\win-library\3.6\purrr\libs\x64\purrr.dll: Permission denied
Warning in install.packages :
  restored ‘purrr’

The downloaded binary packages are in
    C:\Users\HP\AppData\Local\Temp\RtmpszRB1y\downloaded_packages

As you can see, neither worked.

So I resorted to remove it manually from the package window. Then, to make sure I install a version equal to or above 0.3.3 (as specified in the namespace compilation error), I went to their CRAN page, copied the latest source download link (0.3.4) and accordingly installed that source version:

> purr.package.v3.4.source.URL <- "https://cran.r-project.org/src/contrib/purrr_0.3.4.tar.gz"
> install.packages(purr.package.v3.4.source.URL, repos = NULL, type = 'source')

Here is the result:

Installing package into ‘C:/Users/HP/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://cran.r-project.org/src/contrib/purrr_0.3.4.tar.gz'
Content type 'application/x-gzip' length 375062 bytes (366 KB)
downloaded 366 KB

* installing *source* package 'purrr' ...
** package 'purrr' successfully unpacked and MD5 sums checked
** using staged installation
** libs

*** arch - i386
C:/Rtools/mingw_32/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.1/include" -DNDEBUG          -O3 -Wall  -std=gnu99 -mtune=generic -c backports.c -o backports.o
C:/Rtools/mingw_32/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.1/include" -DNDEBUG          -O3 -Wall  -std=gnu99 -mtune=generic -c coerce.c -o coerce.o
C:/Rtools/mingw_32/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.1/include" -DNDEBUG          -O3 -Wall  -std=gnu99 -mtune=generic -c conditions.c -o conditions.o
C:/Rtools/mingw_32/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.1/include" -DNDEBUG          -O3 -Wall  -std=gnu99 -mtune=generic -c flatten.c -o flatten.o
C:/Rtools/mingw_32/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.1/include" -DNDEBUG          -O3 -Wall  -std=gnu99 -mtune=generic -c init.c -o init.o
C:/Rtools/mingw_32/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.1/include" -DNDEBUG          -O3 -Wall  -std=gnu99 -mtune=generic -c map.c -o map.o
C:/Rtools/mingw_32/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.1/include" -DNDEBUG          -O3 -Wall  -std=gnu99 -mtune=generic -c pluck.c -o pluck.o
C:/Rtools/mingw_32/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.1/include" -DNDEBUG          -O3 -Wall  -std=gnu99 -mtune=generic -c transpose.c -o transpose.o
C:/Rtools/mingw_32/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.1/include" -DNDEBUG          -O3 -Wall  -std=gnu99 -mtune=generic -c utils.c -o utils.o
C:/Rtools/mingw_32/bin/gcc -shared -s -static-libgcc -o purrr.dll tmp.def backports.o coerce.o conditions.o flatten.o init.o map.o pluck.o transpose.o utils.o -LC:/PROGRA~1/R/R-36~1.1/bin/i386 -lR
installing to C:/Users/HP/Documents/R/win-library/3.6/00LOCK-purrr/00new/purrr/libs/i386

*** arch - x64
C:/Rtools/mingw_64/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.1/include" -DNDEBUG          -O2 -Wall  -std=gnu99 -mtune=generic -c backports.c -o backports.o
C:/Rtools/mingw_64/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.1/include" -DNDEBUG          -O2 -Wall  -std=gnu99 -mtune=generic -c coerce.c -o coerce.o
C:/Rtools/mingw_64/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.1/include" -DNDEBUG          -O2 -Wall  -std=gnu99 -mtune=generic -c conditions.c -o conditions.o
C:/Rtools/mingw_64/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.1/include" -DNDEBUG          -O2 -Wall  -std=gnu99 -mtune=generic -c flatten.c -o flatten.o
C:/Rtools/mingw_64/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.1/include" -DNDEBUG          -O2 -Wall  -std=gnu99 -mtune=generic -c init.c -o init.o
C:/Rtools/mingw_64/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.1/include" -DNDEBUG          -O2 -Wall  -std=gnu99 -mtune=generic -c map.c -o map.o
C:/Rtools/mingw_64/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.1/include" -DNDEBUG          -O2 -Wall  -std=gnu99 -mtune=generic -c pluck.c -o pluck.o
C:/Rtools/mingw_64/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.1/include" -DNDEBUG          -O2 -Wall  -std=gnu99 -mtune=generic -c transpose.c -o transpose.o
C:/Rtools/mingw_64/bin/gcc  -I"C:/PROGRA~1/R/R-36~1.1/include" -DNDEBUG          -O2 -Wall  -std=gnu99 -mtune=generic -c utils.c -o utils.o
C:/Rtools/mingw_64/bin/gcc -shared -s -static-libgcc -o purrr.dll tmp.def backports.o coerce.o conditions.o flatten.o init.o map.o pluck.o transpose.o utils.o -LC:/PROGRA~1/R/R-36~1.1/bin/x64 -lR
installing to C:/Users/HP/Documents/R/win-library/3.6/00LOCK-purrr/00new/purrr/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'purrr'
    finding HTML links ... done
    accumulate                              html  
    along                                   html  
    array-coercion                          html  
    as_mapper                               html  
    as_vector                               html  
    at_depth                                html  
    attr_getter                             html  
    compose                                 html  
    cross                                   html  
    detect                                  html  
    done                                    html  
    every                                   html  
    exec                                    html  
    faq-adverbs-export                      html  
    flatten                                 html  
    get-attr                                html  
    has_element                             html  
    head_while                              html  
    imap                                    html  
    insistently                             html  
    invoke                                  html  
    is_numeric                              html  
    keep                                    html  
    lift                                    html  
    list_modify                             html  
    lmap                                    html  
    map                                     html  
    map2                                    html  
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/map2.Rd:111: file link 'pmax' in package 'base' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/map2.Rd:111: file link 'pmin' in package 'base' does not exist and so has been treated as a topic
    map_if                                  html  
    modify                                  html  
    modify_in                               html  
    negate                                  html  
    null-default                            html  
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/null-default.Rd:13: file link '%||%' in package 'rlang' does not exist and so has been treated as a topic
    partial                                 html  
    pipe                                    html  
    pluck                                   html  
    prepend                                 html  
    purrr-package                           html  
    rate-helpers                            html  
    rate_sleep                              html  
    rbernoulli                              html  
    rdunif                                  html  
    reduce                                  html  
    reduce_right                            html  
    reexports                               html  
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_atomic' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_bare_atomic' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_bare_character' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_bare_double' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_bare_integer' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_bare_list' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_bare_logical' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_bare_numeric' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_bare_vector' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_character' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_double' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_integer' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_list' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_logical' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_null' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_scalar_atomic' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_scalar_character' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_scalar_double' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_scalar_integer' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_scalar_list' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_scalar_logical' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_scalar_vector' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/HP/AppData/Local/Temp/Rtmp6jrhY4/R.INSTALL42543ac742ff/purrr/man/reexports.Rd:39: file link 'is_vector' in package 'rlang' does not exist and so has been treated as a topic
    rep_along                               html  
    rerun                                   html  
    safely                                  html  
    set_names                               html  
    splice                                  html  
    transpose                               html  
    vec_depth                               html  
    when                                    html  
    zap                                     html  
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
*** arch - x64
WARNING: moving package to final location failed, copying instead
Warning in file.copy(instdir, dirname(final_instdir), recursive = TRUE,  :
  problem copying C:\Users\HP\Documents\R\win-library\3.6\00LOCK-purrr\00new\purrr\libs\x64\purrr.dll to C:\Users\HP\Documents\R\win-library\3.6\purrr\libs\x64\purrr.dll: Permission denied
** testing if installed package can be loaded from final location
*** arch - i386
*** arch - x64
** testing if installed package keeps a record of temporary installation path
* DONE (purrr)

As one can see, there were some warnings midway regarding rlang. This again, leads to:

> load_all()
Loading testComplexity
> check()
Updating testComplexity documentation
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  namespace ‘purrr’ 0.3.2 is already loaded, but >= 0.3.3 is required
Anirban166 commented 4 years ago

Resolved by creating a fresh RStudio session, installing Rlang and purrr (packages which showed warnings/errors previously) and thereby running RCMD devtools::check(): (successfully)

Log:


R version 3.6.1 (2019-07-05) -- "Action of the Toes"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> install.packages("rlang")
Installing package into ‘C:/Users/HP/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/rlang_0.4.6.zip'
Content type 'application/zip' length 1130356 bytes (1.1 MB)
downloaded 1.1 MB

package ‘rlang’ successfully unpacked and MD5 sums checked
Warning in install.packages :
  cannot remove prior installation of package ‘rlang’
Warning in install.packages :
  problem copying C:\Users\HP\Documents\R\win-library\3.6\00LOCK\rlang\libs\x64\rlang.dll to C:\Users\HP\Documents\R\win-library\3.6\rlang\libs\x64\rlang.dll: Permission denied
Warning in install.packages :
  restored ‘rlang’

The downloaded binary packages are in
    C:\Users\HP\AppData\Local\Temp\RtmpKCiReW\downloaded_packages
> install.packages("purrr")
Installing package into ‘C:/Users/HP/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/purrr_0.3.4.zip'
Content type 'application/zip' length 430172 bytes (420 KB)
downloaded 420 KB

package ‘purrr’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    C:\Users\HP\AppData\Local\Temp\RtmpKCiReW\downloaded_packages
> library(devtools)
Loading required package: usethis
Warning messages:
1: package ‘devtools’ was built under R version 3.6.3 
2: package ‘usethis’ was built under R version 3.6.3 
> load_all()
Loading testComplexity

Attaching package: ‘testthat’

The following object is masked from ‘package:devtools’:

    test_file

Warning message:
package ‘testthat’ was built under R version 3.6.3 
> check()
Updating testComplexity documentation
Updating roxygen version in F:\testComplexity/DESCRIPTION
Loading testComplexity
Writing NAMESPACE
Writing NAMESPACE
Writing asymptoticMemoryUsage.Rd
Writing plotTimings.Rd
-- Building -------------------------------------------------- testComplexity --
Setting env vars:
* CFLAGS    : -Wall -pedantic
* CXXFLAGS  : -Wall -pedantic
* CXX11FLAGS: -Wall -pedantic
--------------------------------------------------------------------------------
√  checking for file 'F:\testComplexity/DESCRIPTION' (434ms)
-  preparing 'testComplexity': (1.4s)
√  checking DESCRIPTION meta-information ... 
-  checking for LF line-endings in source and make files and shell scripts (955ms)
-  checking for empty or unneeded directories
-  building 'testComplexity_0.0.0.9000.tar.gz'

-- Checking -------------------------------------------------- testComplexity --
Setting env vars:
* _R_CHECK_CRAN_INCOMING_REMOTE_: FALSE
* _R_CHECK_CRAN_INCOMING_       : FALSE
* _R_CHECK_FORCE_SUGGESTS_      : FALSE
* NOT_CRAN                      : true
-- R CMD check -------------------------------------------------------------------------------------------
-  using log directory 'C:/Users/HP/AppData/Local/Temp/RtmpKCiReW/testComplexity.Rcheck' (538ms)
-  using R version 3.6.1 (2019-07-05)
-  using platform: x86_64-w64-mingw32 (64-bit)
-  using session charset: ISO8859-1
-  using options '--no-manual --as-cran'
√  checking for file 'testComplexity/DESCRIPTION' ... 
-  this is package 'testComplexity' version '0.0.0.9000'
-  package encoding: UTF-8
√  checking package namespace information
√  checking package dependencies (3.1s)
√  checking if this is a source package ... 
√  checking if there is a namespace
√  checking for .dll and .exe files
√  checking for hidden files and directories ... 
√  checking for portable file names ... 
√  checking serialization versions
√  checking whether package 'testComplexity' can be installed (11.5s)
√  checking package directory (524ms)
√  checking for future file timestamps (1.5s)
√  checking DESCRIPTION meta-information (808ms)
N  checking top-level files
   Non-standard files/directories found at top level:
     'Images' '_config.yml'
√  checking for left-over files
√  checking index information ...
√  checking package subdirectories ... 
√  checking R files for non-ASCII characters ... 
√  checking R files for syntax errors ... 
√  checking whether the package can be loaded (956ms)
√  checking whether the package can be loaded with stated dependencies (832ms)
√  checking whether the package can be unloaded cleanly (1.1s)
√  checking whether the namespace can be loaded with stated dependencies (974ms)
√  checking whether the namespace can be unloaded cleanly (1s)
√  checking loading without being on the library search path (980ms)
√  checking dependencies in R code (870ms)
√  checking S3 generic/method consistency (1.4s)
√  checking replacement functions (758ms)
√  checking foreign function calls (860ms)
N  checking R code for possible problems (6s)
   asymptoticTimeComplexityClass: no visible global function definition
     for 'glm'
   plotTimings: no visible binding for global variable 'Data set sizes'
   plotTimings: no visible binding for global variable 'Timings'
   Undefined global functions or variables:
     Data set sizes Timings glm
   Consider adding
     importFrom("stats", "glm")
   to your NAMESPACE file.
√  checking Rd files (336ms)
√  checking Rd metadata ... 
√  checking Rd line widths ... 
√  checking Rd cross-references (533ms)
√  checking for missing documentation entries (957ms)
√  checking for code/documentation mismatches (2.4s)
√  checking Rd \usage sections (1.8s)
√  checking Rd contents ... 
√  checking for unstated dependencies in examples ... 
-  checking examples ... NONE
√  checking for unstated dependencies in 'tests' ... 
-  checking tests ...
√  Running 'testthat.R' (4.8s)

   See
     'C:/Users/HP/AppData/Local/Temp/RtmpKCiReW/testComplexity.Rcheck/00check.log'
   for details.

-- R CMD check results ---------------------------------------------------- testComplexity 0.0.0.9000 ----
Duration: 46.7s

> checking top-level files ... NOTE
  Non-standard files/directories found at top level:
    'Images' '_config.yml'

> checking R code for possible problems ... NOTE
  asymptoticTimeComplexityClass: no visible global function definition
    for 'glm'
  plotTimings: no visible binding for global variable 'Data set sizes'
  plotTimings: no visible binding for global variable 'Timings'
  Undefined global functions or variables:
    Data set sizes Timings glm
  Consider adding
    importFrom("stats", "glm")
  to your NAMESPACE file.

0 errors √ | 0 warnings √ | 2 notes x
> 

Kept for future reference.