- using R version 4.3.3 (2024-02-29)
- using platform: aarch64-apple-darwin20 (64-bit)
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.4
- using session charset: UTF-8
- checking for file ‘DrugUtilisation/DESCRIPTION’ ... OK
- this is package ‘DrugUtilisation’ version ‘0.6.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- 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 ‘DrugUtilisation’ can be installed ... [3s/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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] 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 ... [3s/4s] OK
- checking Rd files ... [0s/0s] 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 ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [94s/81s] OK
Running ‘testthat.R’ [94s/81s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking running R code from vignettes ... [87s/98s] ERROR
Errors in running code in vignettes:
when running code in ‘a01_introCreateCohort.Rmd’
...
> cdm <- mockDrugUtilisation(numberIndividual = 200)
> conceptSet_json <- codesFromConceptSet(here::here("inst/Concept"),
+ cdm)
When sourcing ‘a01_introCreateCohort.R’:
Error: Invalid path:
/private/var/folders/k4/0jwzxmln0nb8y6rkzprptb640000gq/T/RtmpQgdk2i/file12f8f4d89e932/vignettes/inst/Concept
Execution halted
Warning: Connection is garbage-collected, use dbDisconnect() to avoid this.
‘a01_introCreateCohort.Rmd’ using ‘UTF-8’... failed
‘a02_scalingOfInstantiateCohorts.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘a03_addIndications-example.Rmd’ using ‘UTF-8’... [20s/25s] OK
‘a04_addDrugInfo.Rmd’ using ‘UTF-8’... [45s/51s] OK
‘a05_treatmentDiscontinuation.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘a06_treatmentSummary.Rmd’ using ‘UTF-8’... [5s/5s] OK
‘a07_characteriseACohort.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘routePatternDose.Rmd’ using ‘UTF-8’... [14s/14s] OK
- checking re-building of vignette outputs ... [92s/91s] OK
- checking PDF version of manual ... [2s/2s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '