CRAN Package Check Results for Package postpack

Last updated on 2022-12-03 23:56:23 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.3 3.90 44.78 48.68 OK
r-devel-linux-x86_64-debian-gcc 0.5.3 2.83 34.91 37.74 OK
r-devel-linux-x86_64-fedora-clang 0.5.3 73.09 ERROR
r-devel-linux-x86_64-fedora-gcc 0.5.3 86.00 ERROR
r-devel-windows-x86_64 0.5.3 11.00 87.00 98.00 OK
r-patched-linux-x86_64 0.5.3 4.15 40.98 45.13 OK
r-release-linux-x86_64 0.5.3 2.44 39.26 41.70 OK
r-release-macos-arm64 0.5.3 24.00 OK
r-release-macos-x86_64 0.5.3 50.00 NOTE
r-release-windows-x86_64 0.5.3 26.00 89.00 115.00 OK
r-oldrel-macos-arm64 0.5.3 37.00 NOTE
r-oldrel-macos-x86_64 0.5.3 31.00 OK
r-oldrel-windows-ix86+x86_64 0.5.3 8.00 70.00 78.00 OK

Check Details

Version: 0.5.3
Check: Rd cross-references
Result: NOTE
    Undeclared packages ‘rstan’, ‘R2WinBUGS’, ‘R2jags’, ‘R2OpenBUGS’, ‘nimble’, ‘rjags’, ‘jagsUI’ in Rd xrefs
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.5.3
Check: examples
Result: ERROR
    Running examples in ‘postpack-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: match_params
    > ### Title: Find matching node names
    > ### Aliases: match_params
    >
    > ### ** Examples
    >
    > # load example mcmc.list
    > data(cjs)
    >
    > # these produce same output b/c of regex pattern matching
    > match_params(cjs, params = c("b0", "b1"))
     [1] "b0[1]" "b0[2]" "b0[3]" "b0[4]" "b0[5]" "b1[1]" "b1[2]" "b1[3]" "b1[4]"
    [10] "b1[5]"
    > match_params(cjs, params = c("b"))
     [1] "b0[1]" "b0[2]" "b0[3]" "b0[4]" "b0[5]" "b1[1]" "b1[2]" "b1[3]" "b1[4]"
    [10] "b1[5]"
    >
    > # return only base names, not indices as well
    > match_params(cjs, params = "b", type = "base_only")
    [1] "b0" "b1"
    >
    > # force a match to start with B
    > match_params(cjs, "^B")
    [1] "B0" "B1"
    >
    > # force a match to end with 0
    > match_params(cjs, "0$")
    [1] "B0" "sig_B0"
    >
    > # use a wild card to get b0[3] and b1[3]
    > match_params(cjs, "b.[3]")
    [1] "b0[3]" "b1[3]"
    >
    > # repeat a wild card
    > match_params(cjs, "s.+0")
    [1] "sig_B0"
    >
    > # turn off auto escape to use [] in regex syntax rather than matching them as text
    > match_params(cjs, params = "[:digit:]$", auto_escape = FALSE)
    [1] "B0" "sig_B0" "B1" "sig_B1"
    >
    > # pass an empty string to match all (same as get_params)
    > match_params(cjs, "")
    Error in `stringr::str_detect()`:
    ! `pattern` can't be the empty string (`""`).
    Backtrace:
     ▆
     1. └─postpack::match_params(cjs, "")
     2. └─base::lapply(...)
     3. └─postpack (local) FUN(X[[i]], ...)
     4. └─stringr::str_detect(all_params, x)
     5. └─stringr:::no_empty()
     6. └─cli::cli_abort(...)
     7. └─rlang::abort(...)
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.5.3
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
    --- re-building ‘example-mcmclists.Rmd’ using rmarkdown
    --- finished re-building ‘example-mcmclists.Rmd’
    
    --- re-building ‘feature-overview.Rmd’ using rmarkdown
    Node(s) discarded:
     "SIG[1,1]", "SIG[2,1]", "SIG[1,2]", and "SIG[2,2]"
    Node(s) discarded:
     "SIG[2,1]"
    --- finished re-building ‘feature-overview.Rmd’
    
    --- re-building ‘multiple-models.Rmd’ using rmarkdown
    Quitting from lines 69-70 (multiple-models.Rmd)
    Error: processing vignette 'multiple-models.Rmd' failed with diagnostics:
    `pattern` can't be the empty string (`""`).
    --- failed re-building ‘multiple-models.Rmd’
    
    --- re-building ‘pattern-matching.Rmd’ using rmarkdown
    --- finished re-building ‘pattern-matching.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘multiple-models.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.5.3
Check: Rd cross-references
Result: NOTE
    Packages unavailable to check Rd xrefs: ‘R2jags’, ‘rjags’, ‘jagsUI’
Flavors: r-release-macos-x86_64, r-oldrel-macos-arm64