Last updated on 2024-06-13 05:59:45 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
listcompr | 1 | 12 | |
rPref | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.4.0
Check: package dependencies
Result: NOTE
Packages suggested but not available for checking: 'testthat', 'dplyr'
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.4.0
Check: examples
Result: ERROR
Running examples in ‘listcompr-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: gen.logical.and
> ### Title: Generate Logical Conditions with List Comprehension
> ### Aliases: gen.logical.and gen.logical.or
>
> ### ** Examples
>
> # Returns a_1 == 1 & a_2 == 2 & a_3 == 3
> gen.logical.and(a_i == i, i = 1:3)
a_1 == 1L & (a_2 == 2L & a_3 == 3L)
>
> # A data frame of tuples (x_1, x_2, x_3, x_4) summing up to 10 with x_i <= x_(i+1)
> gen.data.frame(c(x_1, ..., x_4), x_ = 1:10, x_1 + ... + x_4 == 10,
+ gen.logical.and(x_i <= x_(i+1), i = 1:3))
x_1 x_2 x_3 x_4
1 2 2 3 3
2 1 3 3 3
3 2 2 2 4
4 1 2 3 4
5 1 1 4 4
6 1 2 2 5
7 1 1 3 5
8 1 1 2 6
9 1 1 1 7
>
> # Get all permutations of 1:4
> gen.data.frame(c(a_1, ..., a_4), a_ = 1:4,
+ gen.logical.and(a_i != a_j, i = 1:4, j = (i+1):4))
a_1 a_2 a_3 a_4
1 4 3 2 1
2 3 4 2 1
3 4 2 3 1
4 2 4 3 1
5 3 2 4 1
6 2 3 4 1
7 4 3 1 2
8 3 4 1 2
9 4 1 3 2
10 1 4 3 2
11 3 1 4 2
12 1 3 4 2
13 4 2 1 3
14 2 4 1 3
15 4 1 2 3
16 1 4 2 3
17 2 1 4 3
18 1 2 4 3
19 3 2 1 4
20 2 3 1 4
21 3 1 2 4
22 1 3 2 4
23 2 1 3 4
24 1 2 3 4
>
> # Get again the permutations of 1:4, using filter from dplyr
> df <- gen.data.frame(c(a_1, ..., a_4), a_ = 1:4)
> dplyr::filter(df, !!gen.logical.and(a_i != a_j, i = 1:3, j = (i+1):4))
Error in loadNamespace(x) : there is no package called ‘dplyr’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.r’ [0s/1s]
Running the tests in ‘tests/testthat.r’ failed.
Complete output:
> library(testthat)
Error in library(testthat) : there is no package called 'testthat'
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.4.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘introduction.Rmd’ using rmarkdown
Quitting from lines 132-135 [unnamed-chunk-12] (introduction.Rmd)
Error: processing vignette 'introduction.Rmd' failed with diagnostics:
there is no package called 'dplyr'
--- failed re-building ‘introduction.Rmd’
SUMMARY: processing the following file failed:
‘introduction.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: ERROR: 1, NOTE: 12
Version: 1.4.0
Check: C++ specification
Result: NOTE
Specified C++11: please drop specification unless essential
Flavors: r-devel-linux-x86_64-debian-clang, 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, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 1.4.0
Check: Rd files
Result: NOTE
checkRd: (-1) psel.Rd:83: Lost braces; missing escapes or markup?
83 | For example, a \code{top=1} preference selection on the tuples {(a=1, b=1), (a=1, b=2)}
| ^
Flavors: r-devel-linux-x86_64-debian-clang, 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: 1.4.0
Check: for GNU extensions in Makefiles
Result: NOTE
GNU make is a SystemRequirements.
Flavors: r-devel-linux-x86_64-debian-clang, 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, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 1.4.0
Check: package dependencies
Result: ERROR
Packages required but not available: 'dplyr', 'igraph'
Packages suggested but not available for checking: 'testthat', 'ggplot2'
See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Flavor: r-devel-linux-x86_64-debian-gcc