Last updated on 2025-02-10 11:49:46 CET.
Package | ERROR | NOTE | OK |
---|---|---|---|
adea | 1 | 12 | |
orloca | 13 | ||
orloca.es | 10 | 3 | |
RcmdrPlugin.orloca | 13 | ||
RcmdrPlugin.UCA | 8 | 5 |
Current CRAN status: ERROR: 1, OK: 12
Version: 1.5.2
Check: examples
Result: ERROR
Running examples in 'adea-Ex.R' failed
The error most likely occurred in:
> ### Name: cadea
> ### Title: Make a constrained ADEA analysis
> ### Aliases: cadea
>
> ### ** Examples
>
> data('cardealers4')
> input <- cardealers4[, c('Employees', 'Depreciation')]
> output <- cardealers4[, c('CarsSold', 'WorkOrders')]
>
> # Compute adea model
> model <- adea(input, output)
> model
Dealer A Dealer B Dealer C Dealer D Dealer E Dealer F
0.9915929 1.0000000 0.8928571 0.8653846 1.0000000 0.6515044
> # Dealer A Dealer B Dealer C Dealer D Dealer E Dealer F
> # 0.9915929 1.0000000 0.8928571 0.8653846 1.0000000 0.6515044
>
> # Get input variable loads
> model$loads$input
Employees Depreciation
0.6666667 1.3333333
> # Employees Depreciation
> # 0.6666667 1.3333333
> # Get output variable loads
> model$loads$output
CarsSold WorkOrders
1.1025075 0.8974925
> # CarsSold WorkOrders
> # 1.2663476 0.7336524
>
> # Compute a constrained adea model to force load between .8 and 1.5
> cmodel <- cadea(input, output, load.min = .8, load.max = 1.5)
Warning in download.file(url = url, destfile = dest, method = method, cacheOK = FALSE, :
URL 'http://roi.r-forge.r-project.org/db/SOLVERS.rds': status was 'Could not resolve hostname'
Error in .ROI_available_solvers(method) :
The requested URL 'http://roi.r-forge.r-project.org' was not found.
Calls: cadea ... ROI_available_solvers.NULL -> .ROI_available_solvers
Execution halted
Flavor: r-release-windows-x86_64
Version: 1.5.2
Check: tests
Result: ERROR
Running 'testthat.R' [13s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(adea)
Loading required package: rmarkdown
Loading required package: ROI.plugin.glpk
Loading required package: ROI.plugin.lpsolve
Loading required package: ROI.plugin.symphony
>
> test_check("adea")
Starting 2 test processes
[ FAIL 4 | WARN 1 | SKIP 56 | PASS 138 ]
══ Skipped tests (56) ══════════════════════════════════════════════════════════
• On CRAN (56): 'testadea.R:33:5', 'testadea.R:61:5', 'testadea.R:69:5',
'testadea.R:77:5', 'testadea.R:85:5', 'testadea.R:93:5', 'testdea.R:8:5',
'testdea.R:42:5', 'testdea.R:66:5', 'testdea.R:74:5', 'testdea.R:82:5',
'testdea.R:90:5', 'testdea.R:98:5', 'testdemo.R:20:5', 'testdemo.R:31:5',
'testfsdea.R:7:5', 'testfsdea.R:53:5', 'testfsdea.R:76:5',
'testfsdea.R:84:5', 'testfsdea.R:92:5', 'testfsdea.R:100:5',
'testfsdea.R:108:5', 'testfsdea.R:119:5', 'testfsdea.R:130:5',
'testfsdea.R:141:5', 'testfsdea.R:153:5', 'testfsdea.R:165:5',
'testhierarchical.R:37:5', 'testhierarchical.R:47:5',
'testhierarchical.R:59:5', 'testhierarchical.R:71:5',
'testhierarchical.R:83:5', 'testleverage.R:8:5', 'testleverage.R:18:5',
'testleverage.R:28:5', 'testleverage.R:38:5', 'testleverage.R:48:5',
'testleverage.R:58:5', 'testleverage.R:69:5', 'testparametric.R:38:5',
'testparametric.R:48:5', 'testparametric.R:60:5', 'testparametric.R:72:5',
'testparametric.R:84:5', 'testsolvers.R:19:5', 'testsolvers.R:26:5',
'testsolvers.R:34:5', 'testsolvers.R:42:5', 'testcadea.R:35:5',
'testcadea.R:44:5', 'testcadea.R:50:5', 'testcadea.R:79:5',
'testcadea.R:87:5', 'testcadea.R:95:5', 'testcadea.R:103:5',
'testcadea.R:111:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('testcadea.R:9:5'): Test CADEA: General case (default orientation) and single bound ──
`sol` inherits from 'try-error' not 'cadea'.
── Failure ('testcadea.R:10:5'): Test CADEA: General case (default orientation) and single bound ──
`sol` has length 1, not length 13.
── Failure ('testcadea.R:11:5'): Test CADEA: General case (default orientation) and single bound ──
names(sol) (`actual`) not equal to c(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('name', 'orientation', 'load.orientation', 'inputnames', 'outputnames', ...)
── Error ('testcadea.R:12:5'): Test CADEA: General case (default orientation) and single bound ──
Error in `sol$name`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─testthat::expect_equal(sol$name, "Test cadea") at testcadea.R:12:5
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
[ FAIL 4 | WARN 1 | SKIP 56 | PASS 138 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
Current CRAN status: OK: 13
Current CRAN status: NOTE: 10, OK: 3
Version: 4.9
Check: Rd files
Result: NOTE
checkRd: (-1) distsumlpmin.Rd:69: Lost braces
69 | \code{Véase}{Vease} \enc{también}{tambien} \code{\link{distsummin}}, \code{\link{orloca.es-package}}, \code{\link{loca.p}} y \code{\link{distsum}}.
| ^
checkRd: (-1) distsummin.Rd:80: Lost braces
80 | \code{Véase}{Vease} \enc{también}{tambien} \code{\link{orloca.es-package}}, \code{\link{loca.p}} y \code{\link{distsum}}.
| ^
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
Version: 4.9
Check: Rd cross-references
Result: NOTE
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
distsumgra.Rd: orloca-package
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64
Current CRAN status: OK: 13
Current CRAN status: NOTE: 8, OK: 5
Version: 5.1-2
Check: package dependencies
Result: NOTE
Depends: includes the non-default packages:
'IQCC', 'qcc', 'qicharts2', 'randtests', 'rmarkdown',
'TeachingDemos', 'tseries'
Adding so many packages to the search path is excessive and importing
selectively is preferable.
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64