CRAN Package Check Results for Package GermaParl

Last updated on 2021-04-25 14:47:31 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.5.2 4.07 44.84 48.91 ERROR
r-devel-linux-x86_64-debian-gcc 1.5.2 3.09 34.13 37.22 OK
r-devel-linux-x86_64-fedora-clang 1.5.2 76.76 OK
r-devel-linux-x86_64-fedora-gcc 1.5.2 59.06 OK
r-devel-windows-ix86+x86_64 1.5.2 10.00 69.00 79.00 ERROR
r-devel-windows-x86_64-gcc10-UCRT 1.5.2 ERROR
r-patched-linux-x86_64 1.5.2 3.96 43.60 47.56 OK
r-patched-solaris-x86 1.5.2 93.20 OK
r-release-linux-x86_64 1.5.2 4.31 43.59 47.90 OK
r-release-macos-x86_64 1.5.2 OK
r-release-windows-ix86+x86_64 1.5.2 11.00 62.00 73.00 ERROR
r-oldrel-macos-x86_64 1.5.2 OK
r-oldrel-windows-ix86+x86_64 1.5.2 9.00 54.00 63.00 ERROR

Check Details

Version: 1.5.2
Check: examples
Result: ERROR
    Running examples in 'GermaParl-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: germaparl_download_lda
    > ### Title: Use topicmodels prepared for GermaParl.
    > ### Aliases: germaparl_download_lda topics germaparl_load_lda
    >
    > ### ** Examples
    >
    > # This example assumes that the directories used by the CWB do not yet exist, so
    > # temporary directories are created.
    > cwb_dirs <- cwbtools::create_cwb_directories(prefix = tempdir(), ask = FALSE)
    -- Create CWB directories ------------------------------------------------------
    i Using existing directory /tmp/RtmpEQtlUP as parent directory for registry
     directory and the corpus directory.
    i registry directory /tmp/RtmpEQtlUP/registry already exists
    i corpus directory /tmp/RtmpEQtlUP/indexed_corpora already exists
    v environment variable `CORPUS_REGISTRY` set as: /tmp/RtmpEQtlUP/registry
    >
    > samplemode <- TRUE
    > corpus_id <- "GERMAPARLSAMPLE" # for full corpus: corpus_id <- "GERMAPARL"
    >
    > dir.create(file.path(cwb_dirs[["corpus_dir"]], tolower(corpus_id)))
    >
    > # Download topic model
    > germaparl_download_lda(
    + k = 30, # k = 250 recommended for full GERMAPARL corpus
    + data_dir = file.path(cwb_dirs[["corpus_dir"]], tolower(corpus_id)),
    + sample = samplemode
    + )
    i get Zenodo record for doi 10.5281/zenodo.3823245
    x get Zenodo record for doi 10.5281/zenodo.3823245 ... failed
    
    > lda <- germaparl_load_lda(
    + k = 30L, registry_dir = cwb_dirs[["registry_dir"]],
    + sample = samplemode
    + )
    ... loading topicmodel for k = 30
    Warning in germaparl_load_lda(k = 30L, registry_dir = cwb_dirs[["registry_dir"]], :
     no topicmodel available for k provided
    > lda_terms <- topicmodels::terms(lda, 10)
    Error in x$terms %||% attr(x, "terms") %||% stop("no terms component nor attribute") :
     no terms component nor attribute
    Calls: <Anonymous> -> <Anonymous> -> terms.default -> %||%
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.5.2
Check: examples
Result: ERROR
    Running examples in 'GermaParl-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: germaparl_download_lda
    > ### Title: Use topicmodels prepared for GermaParl.
    > ### Aliases: germaparl_download_lda topics germaparl_load_lda
    >
    > ### ** Examples
    >
    > # This example assumes that the directories used by the CWB do not yet exist, so
    > # temporary directories are created.
    > cwb_dirs <- cwbtools::create_cwb_directories(prefix = tempdir(), ask = FALSE)
    -- Create CWB directories ------------------------------------------------------
    i Using existing directory D:\temp\RtmpWUTsy4 as parent directory for registry
     directory and the corpus directory.
    i registry directory D:\temp\RtmpWUTsy4/registry already exists
    i corpus directory D:\temp\RtmpWUTsy4/indexed_corpora already exists
    v environment variable `CORPUS_REGISTRY` set as: D:\temp\RtmpWUTsy4/registry
    >
    > samplemode <- TRUE
    > corpus_id <- "GERMAPARLSAMPLE" # for full corpus: corpus_id <- "GERMAPARL"
    >
    > dir.create(file.path(cwb_dirs[["corpus_dir"]], tolower(corpus_id)))
    Warning in dir.create(file.path(cwb_dirs[["corpus_dir"]], tolower(corpus_id))) :
     'D:\temp\RtmpWUTsy4\indexed_corpora\germaparlsample' already exists
    >
    > # Download topic model
    > germaparl_download_lda(
    + k = 30, # k = 250 recommended for full GERMAPARL corpus
    + data_dir = file.path(cwb_dirs[["corpus_dir"]], tolower(corpus_id)),
    + sample = samplemode
    + )
    i get Zenodo record for doi 10.5281/zenodo.3823245
    v get Zenodo record for doi 10.5281/zenodo.3823245 ... done
    
    i starting to download LDA model
    trying URL 'https://zenodo.org/api/files/1f191114-a9fa-4dc9-a4df-950c23b1ff60/germaparlsample_lda_30.rds'
    Warning in download.file(url = lda_remote, destfile = lda_local) :
     InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
    x cannot download file from https://zenodo.org/api/files/1f191114-a9fa-4dc9-a4df-950c23b1ff60/germaparlsample_lda_30.rds
    > lda <- germaparl_load_lda(
    + k = 30L, registry_dir = cwb_dirs[["registry_dir"]],
    + sample = samplemode
    + )
    ... loading topicmodel for k = 30
    Warning in germaparl_load_lda(k = 30L, registry_dir = cwb_dirs[["registry_dir"]], :
     no topicmodel available for k provided
    > lda_terms <- topicmodels::terms(lda, 10)
    Error in x$terms %||% attr(x, "terms") %||% stop("no terms component nor attribute") :
     no terms component nor attribute
    Calls: <Anonymous> -> <Anonymous> -> terms.default -> %||%
    Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 1.5.2
Check: package dependencies
Result: ERROR
    Packages required but not available: 'cwbtools', 'cli', 'zen4R'
    
    Packages suggested but not available for checking:
     'topicmodels', 'knitr', 'rmarkdown', 'testthat'
    
    VignetteBuilder package required for checking but not installed: 'knitr'
    
    See section 'The DESCRIPTION file' in the 'Writing R Extensions'
    manual.
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 1.5.2
Check: examples
Result: ERROR
    Running examples in 'GermaParl-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: germaparl_download_lda
    > ### Title: Use topicmodels prepared for GermaParl.
    > ### Aliases: germaparl_download_lda topics germaparl_load_lda
    >
    > ### ** Examples
    >
    > # This example assumes that the directories used by the CWB do not yet exist, so
    > # temporary directories are created.
    > cwb_dirs <- cwbtools::create_cwb_directories(prefix = tempdir(), ask = FALSE)
    -- Create CWB directories ------------------------------------------------------
    i Using existing directory D:\temp\RtmpkZfIjy as parent directory for registry
     directory and the corpus directory.
    i registry directory D:\temp\RtmpkZfIjy/registry already exists
    i corpus directory D:\temp\RtmpkZfIjy/indexed_corpora already exists
    v environment variable `CORPUS_REGISTRY` set as: D:\temp\RtmpkZfIjy/registry
    >
    > samplemode <- TRUE
    > corpus_id <- "GERMAPARLSAMPLE" # for full corpus: corpus_id <- "GERMAPARL"
    >
    > dir.create(file.path(cwb_dirs[["corpus_dir"]], tolower(corpus_id)))
    Warning in dir.create(file.path(cwb_dirs[["corpus_dir"]], tolower(corpus_id))) :
     'D:\temp\RtmpkZfIjy\indexed_corpora\germaparlsample' already exists
    >
    > # Download topic model
    > germaparl_download_lda(
    + k = 30, # k = 250 recommended for full GERMAPARL corpus
    + data_dir = file.path(cwb_dirs[["corpus_dir"]], tolower(corpus_id)),
    + sample = samplemode
    + )
    i get Zenodo record for doi 10.5281/zenodo.3823245
    v get Zenodo record for doi 10.5281/zenodo.3823245 ... done
    
    i starting to download LDA model
    trying URL 'https://zenodo.org/api/files/1f191114-a9fa-4dc9-a4df-950c23b1ff60/germaparlsample_lda_30.rds'
    Warning in download.file(url = lda_remote, destfile = lda_local) :
     InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
    x cannot download file from https://zenodo.org/api/files/1f191114-a9fa-4dc9-a4df-950c23b1ff60/germaparlsample_lda_30.rds
    > lda <- germaparl_load_lda(
    + k = 30L, registry_dir = cwb_dirs[["registry_dir"]],
    + sample = samplemode
    + )
    ... loading topicmodel for k = 30
    Warning in germaparl_load_lda(k = 30L, registry_dir = cwb_dirs[["registry_dir"]], :
     no topicmodel available for k provided
    > lda_terms <- topicmodels::terms(lda, 10)
    Error in terms.default(lda, 10) : no terms component nor attribute
    Calls: <Anonymous> -> <Anonymous> -> terms.default
    Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 1.5.2
Check: examples
Result: ERROR
    Running examples in 'GermaParl-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: germaparl_download_lda
    > ### Title: Use topicmodels prepared for GermaParl.
    > ### Aliases: germaparl_download_lda topics germaparl_load_lda
    >
    > ### ** Examples
    >
    > # This example assumes that the directories used by the CWB do not yet exist, so
    > # temporary directories are created.
    > cwb_dirs <- cwbtools::create_cwb_directories(prefix = tempdir(), ask = FALSE)
    -- Create CWB directories ------------------------------------------------------
    i Using existing directory D:\temp\RtmpwFsMJt as parent directory for registry
     directory and the corpus directory.
    i registry directory D:\temp\RtmpwFsMJt/registry already exists
    i corpus directory D:\temp\RtmpwFsMJt/indexed_corpora already exists
    v environment variable `CORPUS_REGISTRY` set as: D:\temp\RtmpwFsMJt/registry
    >
    > samplemode <- TRUE
    > corpus_id <- "GERMAPARLSAMPLE" # for full corpus: corpus_id <- "GERMAPARL"
    >
    > dir.create(file.path(cwb_dirs[["corpus_dir"]], tolower(corpus_id)))
    Warning in dir.create(file.path(cwb_dirs[["corpus_dir"]], tolower(corpus_id))) :
     'D:\temp\RtmpwFsMJt\indexed_corpora\germaparlsample' already exists
    >
    > # Download topic model
    > germaparl_download_lda(
    + k = 30, # k = 250 recommended for full GERMAPARL corpus
    + data_dir = file.path(cwb_dirs[["corpus_dir"]], tolower(corpus_id)),
    + sample = samplemode
    + )
    i get Zenodo record for doi 10.5281/zenodo.3823245
    v get Zenodo record for doi 10.5281/zenodo.3823245 ... done
    
    i starting to download LDA model
    trying URL 'https://zenodo.org/api/files/1f191114-a9fa-4dc9-a4df-950c23b1ff60/germaparlsample_lda_30.rds'
    Warning in download.file(url = lda_remote, destfile = lda_local) :
     InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
    x cannot download file from https://zenodo.org/api/files/1f191114-a9fa-4dc9-a4df-950c23b1ff60/germaparlsample_lda_30.rds
    > lda <- germaparl_load_lda(
    + k = 30L, registry_dir = cwb_dirs[["registry_dir"]],
    + sample = samplemode
    + )
    ... loading topicmodel for k = 30
    Warning in germaparl_load_lda(k = 30L, registry_dir = cwb_dirs[["registry_dir"]], :
     no topicmodel available for k provided
    > lda_terms <- topicmodels::terms(lda, 10)
    Error in terms.default(lda, 10) : no terms component nor attribute
    Calls: <Anonymous> -> <Anonymous> -> terms.default
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64