* using log directory 'd:/Rcompile/CRANpkg/local/3.6/diyar.Rcheck' * using R version 3.6.3 (2020-02-29) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'diyar/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'diyar' version '0.3.0' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'diyar' can be installed ... OK * 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 use of S3 registration ... 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 ... [36s] OK * checking Rd files ... 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... ERROR Running examples in 'diyar-Ex.R' failed The error most likely occurred in: > ### Name: set_operations > ### Title: Set operations on number line objects > ### Aliases: set_operations union_number_lines intersect_number_lines > ### subtract_number_lines > > ### ** Examples > > nl_1 <- c(number_line(1, 5), number_line(1, 5), number_line(5, 9)) > nl_2 <- c(number_line(1, 2), number_line(2, 3), number_line(0, 6)) > > # Union > nl_1; nl_2; union_number_lines(nl_1, nl_2) [1] "1 -> 5" "1 -> 5" "5 -> 9" [1] "1 -> 2" "2 -> 3" "0 -> 6" [1] "1 -> 5" "1 -> 5" "0 -> 9" > > > nl_3 <- number_line(as.Date(c("01/01/2020", "03/01/2020","09/01/2020"), "%d/%m/%Y"), + as.Date(c("09/01/2020", "09/01/2020","25/12/2020"), "%d/%m/%Y")) > > nl_4 <- number_line(as.Date(c("04/01/2020","01/01/2020","01/01/2020"), "%d/%m/%Y"), + as.Date(c("05/01/2020","05/01/2020","03/01/2020"), "%d/%m/%Y")) > > # Intersect > nl_3; nl_4; intersect_number_lines(nl_3, nl_4) [1] "2020-01-01 -> 2020-01-09" "2020-01-03 -> 2020-01-09" [3] "2020-01-09 -> 2020-12-25" [1] "2020-01-04 -> 2020-01-05" "2020-01-01 -> 2020-01-05" [3] "2020-01-01 -> 2020-01-03" Error in as.Date.numeric(value) : 'origin' must be supplied Calls: intersect_number_lines ... rbind -> [<- -> [<-.Date -> as.Date -> as.Date.numeric Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [65s] WARNING Error(s) in re-building vignettes: --- re-building 'episodes.Rmd' using rmarkdown --- finished re-building 'episodes.Rmd' --- re-building 'links.Rmd' using rmarkdown --- finished re-building 'links.Rmd' --- re-building 'number_line.Rmd' using rmarkdown Quitting from lines 127-144 (number_line.Rmd) Error: processing vignette 'number_line.Rmd' failed with diagnostics: 'origin' must be supplied --- failed re-building 'number_line.Rmd' SUMMARY: processing the following file failed: 'number_line.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... OK * DONE Status: 1 ERROR, 1 WARNING