- using R Under development (unstable) (2025-02-02 r87676)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘tectonicr/DESCRIPTION’ ... OK
- this is package ‘tectonicr’ version ‘0.4.5’
- 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 ‘tectonicr’ can be installed ... [22s/47s] 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 code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [6s/7s] OK
- checking whether the package can be loaded with stated dependencies ... [6s/7s] OK
- checking whether the package can be unloaded cleanly ... [6s/7s] OK
- checking whether the namespace can be loaded with stated dependencies ... [6s/7s] OK
- checking whether the namespace can be unloaded cleanly ... [6s/7s] OK
- checking loading without being on the library search path ... [6s/7s] 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 ... [15s/15s] OK
- checking Rd files ... [1s/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 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [23s/23s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [16s/16s] ERROR
Running ‘testthat.R’ [16s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(tectonicr)
>
> test_check("tectonicr")
dev.new(): using pdf(file="Rplots28.pdf")
dev.new(): using pdf(file="Rplots29.pdf")
dev.new(): using pdf(file="Rplots30.pdf")
dev.new(): using pdf(file="Rplots31.pdf")
dev.new(): using pdf(file="Rplots32.pdf")
dev.new(): using pdf(file="Rplots33.pdf")
dev.new(): using pdf(file="Rplots34.pdf")
dev.new(): using pdf(file="Rplots35.pdf")
dev.new(): using pdf(file="Rplots36.pdf")
dev.new(): using pdf(file="Rplots37.pdf")
dev.new(): using pdf(file="Rplots38.pdf")
dev.new(): using pdf(file="Rplots39.pdf")
dev.new(): using pdf(file="Rplots40.pdf")
dev.new(): using pdf(file="Rplots41.pdf")
dev.new(): using pdf(file="Rplots42.pdf")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 57 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_that.R:184:3'): Azimuth back conversion ──────────────────────
PoR2Geo_azimuth(tibet, eu_in) (`actual`) not equal to tibet$azi%%180 (`expected`).
actual | expected
[606] 175.000000000 | 175.000000000 [606]
[607] 15.000000000 | 15.000000000 [607]
[608] 14.000000000 | 14.000000000 [608]
[609] 180.000000000 - 0.000000000 [609]
[610] 12.000000000 | 12.000000000 [610]
[611] 20.000000000 | 20.000000000 [611]
[612] 0.000000000 | 0.000000000 [612]
actual | expected
[692] 166.000000000 | 166.000000000 [692]
[693] 155.000000000 | 155.000000000 [693]
[694] 16.000000000 | 16.000000000 [694]
[695] 180.000000000 - 0.000000000 [695]
[696] 162.000000000 | 162.000000000 [696]
[697] 159.000000000 | 159.000000000 [697]
[698] 165.000000000 | 165.000000000 [698]
actual | expected
[973] 160.000000000 | 160.000000000 [973]
[974] 123.000000000 | 123.000000000 [974]
[975] 102.000000000 | 102.000000000 [975]
[976] 180.000000000 - 0.000000000 [976]
[977] 0.000000000 | 0.000000000 [977]
[978] 0.000000000 | 0.000000000 [978]
[979] 0.000000000 | 0.000000000 [979]
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 57 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [148s/148s] OK
- checking PDF version of manual ... [8s/8s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '