* using log directory ‘/srv/hornik/tmp/CRAN/RJalaliDate.Rcheck’ * using R Under development (unstable) (2024-08-23 r87049) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.8 (9) Debian flang-new version 18.1.8 (9) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘RJalaliDate/DESCRIPTION’ ... OK * this is package ‘RJalaliDate’ version ‘0.0.0.9000’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/5s] NOTE Maintainer: ‘Hosein Rabiee ’ New submission Version contains large components (0.0.0.9000) Possibly misspelled words in DESCRIPTION: Handeling (2:8) Hijri (2:47, 7:40) Jalali (7:14, 9:46) JalaliDate (10:25) jalali (2:18) The Title field should be in title case. Current version is: ‘Handeling jalali date (Persian / solar Hijri)’ In title case that is: ‘Handeling Jalali Date (Persian / Solar Hijri)’ * 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 serialization versions ... OK * checking whether package ‘RJalaliDate’ can be installed ... [2s/2s] OK * checking package directory ... OK * checking for future file timestamps ... 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/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/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 ... [4s/4s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... 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 examples ... [2s/2s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [2s/2s] ERROR Running ‘testthat.R’ [1s/1s] 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(RJalaliDate) > > test_check("RJalaliDate") [ FAIL 2 | WARN 0 | SKIP 1 | PASS 123 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-jalali_year_weeks.R:3:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-JalaliDate.R:96:3'): unauthorized arguments ────────────────── as.character(JalaliDate(mxv)) (`actual`) not equal to `res` (`expected`). actual vs expected - "492191765124503632673866416901004025727381494805487151967281463523538987817143951654456988588234284521783268260935366395680882363162048374031986171750409934167318957173711193517059970113917260394761768241437338423386357722311089045223827556815913465563698516041062970241930757221709493006620432378045136896/01/01" + "492191765124503632728422606480602002620880602242442848662044648002826604408820824408864604664822064284084844062426688064082680228248066846820800286868608606666446880642222044262620288862004664646064064082080662008004042800682222466206604402042662866644600022244824602406446640046622022224246062226006248626/01/01" Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-JalaliDate.R:96:3 2. │ └─base::withCallingHandlers(...) 3. └─testthat::expect_equal(as.character(JalaliDate(mxv)), res) ── Failure ('test-JalaliDate.R:113:3'): unauthorized arguments ───────────────── eval(ekspr) (`actual`) not equal to `res` (`expected`). `actual`: "-273790757487762421086896822623363733127168/01/01" `expected`: "-273790757487762421088466428688264806206268/01/01" Backtrace: ▆ 1. ├─base::suppressWarnings(expect_equal(eval(ekspr), res)) at test-JalaliDate.R:113:3 2. │ └─base::withCallingHandlers(...) 3. └─testthat::expect_equal(eval(ekspr), res) [ FAIL 2 | WARN 0 | SKIP 1 | PASS 123 ] Error: Test failures Execution halted * checking PDF version of manual ... [4s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE