> check()
══ Documenting ════════════════════════════════════════════════════════════════
ℹ Updating tourr documentation
ℹ Loading tourr

══ Building ═══════════════════════════════════════════════════════════════════
Setting env vars:
• CFLAGS    : -Wall -pedantic -fdiagnostics-color=always
• CXXFLAGS  : -Wall -pedantic -fdiagnostics-color=always
• CXX11FLAGS: -Wall -pedantic -fdiagnostics-color=always
• CXX14FLAGS: -Wall -pedantic -fdiagnostics-color=always
• CXX17FLAGS: -Wall -pedantic -fdiagnostics-color=always
• CXX20FLAGS: -Wall -pedantic -fdiagnostics-color=always
── R CMD build ────────────────────────────────────────────────────────────────
✔  checking for file ‘/Users/cookd/Rpackages/tourr/DESCRIPTION’ ...
─  preparing ‘tourr’: (3.8s)
✔  checking DESCRIPTION meta-information
─  installing the package to build vignettes
✔  creating vignettes (6.9s)
─  checking for LF line-endings in source and make files and shell scripts (5.9s)
─  checking for empty or unneeded directories
─  building ‘tourr_1.2.3.tar.gz’
   Warning: invalid uid value replaced by that for user 'nobody'
   Warning: invalid gid value replaced by that for user 'nobody'
   
══ Checking ═══════════════════════════════════════════════════════════════════
Setting env vars:
• _R_CHECK_CRAN_INCOMING_REMOTE_               : FALSE
• _R_CHECK_CRAN_INCOMING_                      : FALSE
• _R_CHECK_FORCE_SUGGESTS_                     : FALSE
• _R_CHECK_PACKAGES_USED_IGNORE_UNUSED_IMPORTS_: FALSE
• NOT_CRAN                                     : true
── R CMD check ────────────────────────────────────────────────────────────────
─  using log directory ‘/private/var/folders/z0/8wx4nmk11ts56s77dt_pjq6xw13lmk/T/Rtmpmc7Wlk/filec45d415c5bc3/tourr.Rcheck’
─  using R version 4.4.1 (2024-06-14)
─  using platform: aarch64-apple-darwin20
─  R was compiled by
       Apple clang version 14.0.0 (clang-1400.0.29.202)
       GNU Fortran (GCC) 12.2.0
─  running under: macOS Sonoma 14.6.1
─  using session charset: UTF-8
─  using options ‘--no-manual --as-cran’
✔  checking for file ‘tourr/DESCRIPTION’
─  this is package ‘tourr’ version ‘1.2.3’
─  package encoding: UTF-8
✔  checking package namespace information
N  checking package dependencies (1.4s)
   Packages suggested but not available for checking:
     'aplpack', 'covr', 'minerva'
✔  checking if this is a source package ...
✔  checking if there is a namespace
✔  checking for executable files (562ms)
✔  checking for hidden files and directories
✔  checking for portable file names
✔  checking for sufficient/correct file permissions
✔  checking whether package ‘tourr’ can be installed (2s)
✔  checking installed package size ...
✔  checking package directory
✔  checking for future file timestamps ...
✔  checking ‘build’ directory
✔  checking DESCRIPTION meta-information ...
✔  checking top-level files ...
✔  checking for left-over files
✔  checking index information ...
✔  checking package subdirectories (663ms)
✔  checking code files for non-ASCII characters ...
✔  checking R files for syntax errors ...
✔  checking whether the package can be loaded ...
✔  checking whether the package can be loaded with stated dependencies ...
✔  checking whether the package can be unloaded cleanly ...
✔  checking whether the namespace can be loaded with stated dependencies ...
✔  checking whether the namespace can be unloaded cleanly ...
W  checking dependencies in R code (1.1s)
   '::' or ':::' import not declared from: ‘purrr’
✔  checking S3 generic/method consistency ...
✔  checking replacement functions ...
✔  checking foreign function calls ...
N  checking R code for possible problems (4.1s)
   loess2d : <anonymous>: no visible global function definition for
     ‘loess’
   search_jellyfish: no visible global function definition for ‘runif’
   search_jellyfish : <anonymous>: no visible global function definition
     for ‘runif’
   search_jellyfish : update_typeB: no visible global function definition
     for ‘runif’
   search_jellyfish: no visible binding for global variable ‘loop’
   Undefined global functions or variables:
     loess loop runif
   Consider adding
     importFrom("stats", "loess", "runif")
   to your NAMESPACE file.
✔  checking Rd files (345ms)
✔  checking Rd metadata ...
✔  checking Rd line widths ...
N  checking Rd cross-references (3.8s)
   Package unavailable to check Rd xrefs: ‘TeachingDemos’
✔  checking for missing documentation entries ...
✔  checking for code/documentation mismatches (494ms)
W  checking Rd \usage sections ...
   Undocumented arguments in Rd file 'guided_tour.Rd'
     ‘n_jellies’
   
   Functions with \usage entries need to have the appropriate \alias
   entries, and all their arguments documented.
   The \usage entries must correspond to syntactically valid R code.
   See chapter ‘Writing R documentation files’ in the ‘Writing R
   Extensions’ manual.
✔  checking Rd contents (454ms)
✔  checking for unstated dependencies in examples ...
✔  checking contents of ‘data’ directory
✔  checking data for non-ASCII characters ...
✔  checking LazyData
✔  checking data for ASCII and uncompressed saves ...
✔  checking installed files from ‘inst/doc’ ...
✔  checking files in ‘vignettes’ ...
E  checking examples (9s)
   Running examples in ‘tourr-Ex.R’ failed
   The error most likely occurred in:
   
   > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
   > ### Name: display_faces
   > ### Title: Chernoff faces tour path animation.
   > ### Aliases: display_faces animate_faces
   > ### Keywords: hplot
   > 
   > ### ** Examples
   > 
   > # The drawing code is fairly slow, so this animation works best with a
   > # limited number of cases
   > flea_s <- rescale(flea[,1:6])
   > animate_faces(flea_s[19:24, 1:6])
   Error: Please install the aplpack package
   Execution halted
─  checking examples with --run-donttest ... [2s/19s] ERROR (19.1s)
   Running examples in ‘tourr-Ex.R’ failed
   The error most likely occurred in:
   
   > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
   > ### Name: display_faces
   > ### Title: Chernoff faces tour path animation.
   > ### Aliases: display_faces animate_faces
   > ### Keywords: hplot
   > 
   > ### ** Examples
   > 
   > # The drawing code is fairly slow, so this animation works best with a
   > # limited number of cases
   > flea_s <- rescale(flea[,1:6])
   > animate_faces(flea_s[19:24, 1:6])
   Error: Please install the aplpack package
   Execution halted
✔  checking for unstated dependencies in vignettes ...
✔  checking package vignettes ...
✔  checking re-building of vignette outputs (5s)
✔  checking for non-standard things in the check directory ...
✔  checking for detritus in the temp directory
   
   See
     ‘/private/var/folders/z0/8wx4nmk11ts56s77dt_pjq6xw13lmk/T/Rtmpmc7Wlk/filec45d415c5bc3/tourr.Rcheck/00check.log’
   for details.
   
   
── R CMD check results ─────────────────────────────────────── tourr 1.2.3 ────
Duration: 52.6s

❯ checking examples ... ERROR
  Running examples in ‘tourr-Ex.R’ failed
  The error most likely occurred in:
  
  > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
  > ### Name: display_faces
  > ### Title: Chernoff faces tour path animation.
  > ### Aliases: display_faces animate_faces
  > ### Keywords: hplot
  > 
  > ### ** Examples
  > 
  > # The drawing code is fairly slow, so this animation works best with a
  > # limited number of cases
  > flea_s <- rescale(flea[,1:6])
  > animate_faces(flea_s[19:24, 1:6])
  Error: Please install the aplpack package
  Execution halted

❯ checking examples with --run-donttest ... [2s/19s] ERROR
  Running examples in ‘tourr-Ex.R’ failed
  The error most likely occurred in:
  
  > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
  > ### Name: display_faces
  > ### Title: Chernoff faces tour path animation.
  > ### Aliases: display_faces animate_faces
  > ### Keywords: hplot
  > 
  > ### ** Examples
  > 
  > # The drawing code is fairly slow, so this animation works best with a
  > # limited number of cases
  > flea_s <- rescale(flea[,1:6])
  > animate_faces(flea_s[19:24, 1:6])
  Error: Please install the aplpack package
  Execution halted

❯ checking dependencies in R code ... WARNING
  '::' or ':::' import not declared from: ‘purrr’

❯ checking Rd \usage sections ... WARNING
  Undocumented arguments in Rd file 'guided_tour.Rd'
    ‘n_jellies’
  
  Functions with \usage entries need to have the appropriate \alias
  entries, and all their arguments documented.
  The \usage entries must correspond to syntactically valid R code.
  See chapter ‘Writing R documentation files’ in the ‘Writing R
  Extensions’ manual.

❯ checking package dependencies ... NOTE
  Packages suggested but not available for checking:
    'aplpack', 'covr', 'minerva'

❯ checking R code for possible problems ... NOTE
  loess2d : <anonymous>: no visible global function definition for
    ‘loess’
  search_jellyfish: no visible global function definition for ‘runif’
  search_jellyfish : <anonymous>: no visible global function definition
    for ‘runif’
  search_jellyfish : update_typeB: no visible global function definition
    for ‘runif’
  search_jellyfish: no visible binding for global variable ‘loop’
  Undefined global functions or variables:
    loess loop runif
  Consider adding
    importFrom("stats", "loess", "runif")
  to your NAMESPACE file.

❯ checking Rd cross-references ... NOTE
  Package unavailable to check Rd xrefs: ‘TeachingDemos’

2 errors ✖ | 2 warnings ✖ | 3 notes ✖
> 