CRAN Package Check Results for Maintainer ‘Tom Jenkins <tom.l.jenkins at outlook.com>’

Last updated on 2024-05-01 21:57:39 CEST.

Package ERROR OK
mapmixture 3 10

Package mapmixture

Current CRAN status: ERROR: 3, OK: 10

Additional issues

rlibro

Version: 1.1.1
Check: examples
Result: ERROR Running examples in ‘mapmixture-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: mapmixture > ### Title: Plot Pie Charts on Map > ### Aliases: mapmixture > > ### ** Examples > > # Admixture Format 1 > file <- system.file("extdata", "admixture1.csv", package = "mapmixture") > admixture1 <- read.csv(file) > > # Admixture Format 2 > file <- system.file("extdata", "admixture2.csv", package = "mapmixture") > admixture2 <- read.csv(file) > > # Admixture Format 3 > file <- system.file("extdata", "admixture3.csv", package = "mapmixture") > admixture3 <- read.csv(file) > > # Coordinates Format > file <- system.file("extdata", "coordinates.csv", package = "mapmixture") > coordinates <- read.csv(file) > > # Plot using default parameters > mapmixture(admixture1, coordinates) Downloading countries10 data from Natural Earth... Warning in utils::download.file(url, destfile = desfile, mode = "wb") : URL https://github.com/ropensci/rnaturalearthhires/raw/master/data/countries10.rda: cannot open destfile '/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/mapmixture/extdata/countries10.rda', reason 'Read-only file system' Warning in utils::download.file(url, destfile = desfile, mode = "wb") : download had nonzero exit status Data downloaded to 'mapmixture/inst/extdata' folder. Warning in readChar(con, 5L, useBytes = TRUE) : cannot open compressed file '', probable reason 'No such file or directory' Error in readChar(con, 5L, useBytes = TRUE) : cannot open the connection Calls: mapmixture -> load -> readChar Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/8s] 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(shinytest2) > library(mapmixture) > > test_check("mapmixture") Loading required package: shiny Downloading countries10 data from Natural Earth... Data downloaded to 'mapmixture/inst/extdata' folder. Downloading countries10 data from Natural Earth... Data downloaded to 'mapmixture/inst/extdata' folder. [ FAIL 2 | WARN 6 | SKIP 0 | PASS 50 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-mapmixture.R:18:3'): mapmixture() outputs a ggplot object ──── Expected `mapmixture(obj_admix1, obj_coords)` to run without any errors. i Actually got a <simpleError> with text: cannot open the connection ── Error ('test-mapmixture.R:19:3'): mapmixture() outputs a ggplot object ────── Error in `readChar(con, 5L, useBytes = TRUE)`: cannot open the connection Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-mapmixture.R:19:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─mapmixture::mapmixture(obj_admix1, obj_coords) 5. └─base::load(system.file("extdata", "countries10.rda", package = "mapmixture")) 6. └─base::readChar(con, 5L, useBytes = TRUE) [ FAIL 2 | WARN 6 | SKIP 0 | PASS 50 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.1.1
Check: examples
Result: ERROR Running examples in ‘mapmixture-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: mapmixture > ### Title: Plot Pie Charts on Map > ### Aliases: mapmixture > > ### ** Examples > > # Admixture Format 1 > file <- system.file("extdata", "admixture1.csv", package = "mapmixture") > admixture1 <- read.csv(file) > > # Admixture Format 2 > file <- system.file("extdata", "admixture2.csv", package = "mapmixture") > admixture2 <- read.csv(file) > > # Admixture Format 3 > file <- system.file("extdata", "admixture3.csv", package = "mapmixture") > admixture3 <- read.csv(file) > > # Coordinates Format > file <- system.file("extdata", "coordinates.csv", package = "mapmixture") > coordinates <- read.csv(file) > > # Plot using default parameters > mapmixture(admixture1, coordinates) Downloading countries10 data from Natural Earth... Warning in utils::download.file(url, destfile = desfile, mode = "wb") : URL https://github.com/ropensci/rnaturalearthhires/raw/master/data/countries10.rda: cannot open destfile '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/mapmixture/extdata/countries10.rda', reason 'Read-only file system' Warning in utils::download.file(url, destfile = desfile, mode = "wb") : download had nonzero exit status Data downloaded to 'mapmixture/inst/extdata' folder. Warning in readChar(con, 5L, useBytes = TRUE) : cannot open compressed file '', probable reason 'No such file or directory' Error in readChar(con, 5L, useBytes = TRUE) : cannot open the connection Calls: mapmixture -> load -> readChar Execution halted Flavor: r-patched-linux-x86_64

Version: 1.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/5s] 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(shinytest2) > library(mapmixture) > > test_check("mapmixture") Loading required package: shiny Downloading countries10 data from Natural Earth... Data downloaded to 'mapmixture/inst/extdata' folder. Downloading countries10 data from Natural Earth... Data downloaded to 'mapmixture/inst/extdata' folder. [ FAIL 2 | WARN 6 | SKIP 0 | PASS 50 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-mapmixture.R:18:3'): mapmixture() outputs a ggplot object ──── Expected `mapmixture(obj_admix1, obj_coords)` to run without any errors. i Actually got a <simpleError> with text: cannot open the connection ── Error ('test-mapmixture.R:19:3'): mapmixture() outputs a ggplot object ────── Error in `readChar(con, 5L, useBytes = TRUE)`: cannot open the connection Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-mapmixture.R:19:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─mapmixture::mapmixture(obj_admix1, obj_coords) 5. └─base::load(system.file("extdata", "countries10.rda", package = "mapmixture")) 6. └─base::readChar(con, 5L, useBytes = TRUE) [ FAIL 2 | WARN 6 | SKIP 0 | PASS 50 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64

Version: 1.1.1
Check: examples
Result: ERROR Running examples in ‘mapmixture-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: mapmixture > ### Title: Plot Pie Charts on Map > ### Aliases: mapmixture > > ### ** Examples > > # Admixture Format 1 > file <- system.file("extdata", "admixture1.csv", package = "mapmixture") > admixture1 <- read.csv(file) > > # Admixture Format 2 > file <- system.file("extdata", "admixture2.csv", package = "mapmixture") > admixture2 <- read.csv(file) > > # Admixture Format 3 > file <- system.file("extdata", "admixture3.csv", package = "mapmixture") > admixture3 <- read.csv(file) > > # Coordinates Format > file <- system.file("extdata", "coordinates.csv", package = "mapmixture") > coordinates <- read.csv(file) > > # Plot using default parameters > mapmixture(admixture1, coordinates) Downloading countries10 data from Natural Earth... Warning in utils::download.file(url, destfile = desfile, mode = "wb") : URL https://github.com/ropensci/rnaturalearthhires/raw/master/data/countries10.rda: cannot open destfile '/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/mapmixture/extdata/countries10.rda', reason 'Read-only file system' Warning in utils::download.file(url, destfile = desfile, mode = "wb") : download had nonzero exit status Data downloaded to 'mapmixture/inst/extdata' folder. Warning in readChar(con, 5L, useBytes = TRUE) : cannot open compressed file '', probable reason 'No such file or directory' Error in readChar(con, 5L, useBytes = TRUE) : cannot open the connection Calls: mapmixture -> load -> readChar Execution halted Flavor: r-release-linux-x86_64

Version: 1.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/7s] 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(shinytest2) > library(mapmixture) > > test_check("mapmixture") Loading required package: shiny Downloading countries10 data from Natural Earth... Data downloaded to 'mapmixture/inst/extdata' folder. Downloading countries10 data from Natural Earth... Data downloaded to 'mapmixture/inst/extdata' folder. [ FAIL 2 | WARN 6 | SKIP 0 | PASS 50 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-mapmixture.R:18:3'): mapmixture() outputs a ggplot object ──── Expected `mapmixture(obj_admix1, obj_coords)` to run without any errors. i Actually got a <simpleError> with text: cannot open the connection ── Error ('test-mapmixture.R:19:3'): mapmixture() outputs a ggplot object ────── Error in `readChar(con, 5L, useBytes = TRUE)`: cannot open the connection Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-mapmixture.R:19:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─mapmixture::mapmixture(obj_admix1, obj_coords) 5. └─base::load(system.file("extdata", "countries10.rda", package = "mapmixture")) 6. └─base::readChar(con, 5L, useBytes = TRUE) [ FAIL 2 | WARN 6 | SKIP 0 | PASS 50 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.