* using log directory 'd:/Rcompile/CRANpkg/local/4.5/rasciidoc.Rcheck' * using R Under development (unstable) (2024-06-03 r86679 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'rasciidoc/DESCRIPTION' ... OK * this is package 'rasciidoc' version '4.1.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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'rasciidoc' 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [0s] OK * checking loading without being on the library search path ... [0s] OK * checking whether startup messages can be suppressed ... [0s] 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 ... [3s] OK * checking Rd files ... [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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [0s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [38s] ERROR Running 'runit.R' [0s] Running 'testthat.R' [38s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(rasciidoc) Due to the CRAN policy of not writing "anywhere else on the file system apart from the R session's temporary directory" we work on a temporary copy of the input file. Thus all internal sourcing and internal links will be broken and any output is written to D:\temp\RtmpioXvQV. Set the option "write_to_disk" to TRUE (using options("write_to_disk" = TRUE) ) to bypass this. You may want to include the above line into your ~/.Rprofile. > > test_check("rasciidoc") Cloning into '/d/temp/RtmpioXvQV/asciidoc'... fatal: unable to access 'https://github.com/asciidoc-py/asciidoc-py/': Could not resolve host: github.com Cloning into '/d/temp/RtmpioXvQV/asciidoc'... fatal: unable to access 'https://github.com/asciidoc-py/asciidoc-py/': Could not resolve host: github.com Cloning into '/d/temp/RtmpioXvQV/asciidoc'... fatal: unable to access 'https://github.com/asciidoc-py/asciidoc-py/': Could not resolve host: github.com [ FAIL 4 | WARN 2 | SKIP 0 | PASS 2 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-main.R:20:29'): get asciidoc ───────────────────────────────── result[["asciidoc_source"]] has type 'NULL', not 'character'. ── Error ('test-main.R:23:29'): get asciidoc ─────────────────────────────────── Error in `file.exists(source_file)`: invalid 'file' argument Backtrace: ▆ 1. ├─testthat::expect_true(file.exists(source_file)) at test-main.R:23:29 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base::file.exists(source_file) ── Error ('test-main.R:38:13'): run asciidoc ─────────────────────────────────── Error in `libgit2::git_repository_open_ext`: could not find repository at 'D:\temp\RtmpioXvQV\asciidoc' Backtrace: ▆ 1. ├─withr::with_dir(...) at test-main.R:38:13 2. │ └─base::force(code) 3. ├─rasciidoc::rasciidoc(...) 4. │ └─rasciidoc:::get_asciidoc(tag = git_checkout_asciidoc_tag) 5. │ └─gert::git_reset_hard(repo = local_asciidoc_path, ref = as.character(the_tag)) 6. │ └─gert:::git_reset("hard", ref = ref, repo = repo) 7. │ └─gert::git_open(repo) 8. │ └─gert:::git_repository_open(path, search) 9. └─gert:::raise_libgit2_error(...) ── Error ('test-main.R:85:9'): render ────────────────────────────────────────── Error in `libgit2::git_repository_open_ext`: could not find repository at 'D:\temp\RtmpioXvQV\asciidoc' Backtrace: ▆ 1. ├─withr::with_dir(file.path(tempdir(), "files"), status <- render("simple.Rasciidoc")) at test-main.R:85:9 2. │ └─base::force(code) 3. ├─rasciidoc::render("simple.Rasciidoc") 4. │ └─rasciidoc::rasciidoc(...) 5. │ └─rasciidoc:::get_asciidoc(tag = git_checkout_asciidoc_tag) 6. │ └─gert::git_reset_hard(repo = local_asciidoc_path, ref = as.character(the_tag)) 7. │ └─gert:::git_reset("hard", ref = ref, repo = repo) 8. │ └─gert::git_open(repo) 9. │ └─gert:::git_repository_open(path, search) 10. └─gert:::raise_libgit2_error(...) [ FAIL 4 | WARN 2 | SKIP 0 | PASS 2 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [38s] ERROR Error(s) in re-building vignettes: --- re-building 'Knitting_Asciidoc_with_R.Rasciidoc' using rasciidoc Warning in run_knit(file_name, knit = knit, envir = envir, write_to_disk = write_to_disk) : Setting option knit to TRUE based on the file contents! processing file: D:\RCompile\CRANpkg\local\4.5\rasciidoc.Rcheck\vign_test\rasciidoc\vignettes\Knitting_Asciidoc_with_R.Rasciidoc Cloning into '/d/temp/RtmpYlt41E/asciidoc'... fatal: unable to access 'https://github.com/asciidoc-py/asciidoc-py/': Could not resolve host: github.com Cloning into '/d/temp/RtmpYlt41E/asciidoc'... fatal: unable to access 'https://github.com/asciidoc-py/asciidoc-py/': Could not resolve host: github.com Cloning into '/d/temp/RtmpYlt41E/asciidoc'... fatal: unable to access 'https://github.com/asciidoc-py/asciidoc-py/': Could not resolve host: github.com output file: D:/RCompile/CRANpkg/local/4.5/rasciidoc.Rcheck/vign_test/rasciidoc/vignettes/Knitting_Asciidoc_with_R.asciidoc Can't find program `source-highlight`. Please install first (http://www.gnu.org/software/src-highlite/). Can't find program `source-highlight`. Please install first (http://www.gnu.org/software/src-highlite/). Can't find program `asciidoc`. Please install first (http://www.asciidoc.org). Cloning into '/d/temp/RtmpYlt41E/asciidoc'... fatal: unable to access 'https://github.com/asciidoc-py/asciidoc-py/': Could not resolve host: github.com Error: processing vignette 'Knitting_Asciidoc_with_R.Rasciidoc' failed with diagnostics: could not find repository at 'D:\temp\RtmpYlt41E\asciidoc' --- failed re-building 'Knitting_Asciidoc_with_R.Rasciidoc' SUMMARY: processing the following file failed: 'Knitting_Asciidoc_with_R.Rasciidoc' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [1s] OK * DONE Status: 2 ERRORs