CRAN Package Check Results for Package pak

Last updated on 2020-11-16 07:51:56 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.2 7.16 48.74 55.90 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.2 7.74 40.74 48.48 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.2 82.51 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.2 77.34 ERROR
r-devel-windows-ix86+x86_64 0.1.2 12.00 51.00 63.00 ERROR
r-patched-linux-x86_64 0.1.2 9.28 47.45 56.73 ERROR
r-patched-solaris-x86 0.1.2 87.80 ERROR
r-release-linux-x86_64 0.1.2 7.38 46.02 53.40 ERROR
r-release-macos-x86_64 0.1.2 OK
r-release-windows-ix86+x86_64 0.1.2 12.00 68.00 80.00 ERROR
r-oldrel-macos-x86_64 0.1.2 OK
r-oldrel-windows-ix86+x86_64 0.1.2 8.00 46.00 54.00 ERROR

Check Details

Version: 0.1.2
Check: tests
Result: ERROR
     Running 'test-pkgdepends.R' [0s/1s]
     Running 'test-pkginstall.R' [0s/0s]
     Running 'testthat.R' [6s/10s]
    Running the tests in 'tests/test-pkgdepends.R' failed.
    Complete output:
     >
     > do <- function() {
     + old <- Sys.getenv("R_PKG_CACHE_DIR", NA_character_)
     + if (is.na(old)) {
     + on.exit(Sys.unsetenv("R_PKG_CACHE_DIR"), add = TRUE)
     + } else {
     + on.exit(Sys.setenv("R_PKG_CACHE_DIR" = old), add = TRUE)
     + }
     + Sys.setenv("R_PKG_CACHE_DIR" = tempfile())
     +
     + if (file.exists("pkgdepends")) {
     + library(testthat)
     + library(pak)
     + test <- function() {
     + package <- "pak"
     + env_test <- asNamespace("testthat")$env_test
     + env_test$in_test <- TRUE
     + env_test$package <- package
     + on.exit({
     + env_test$in_test <- FALSE
     + env_test$package <- NULL
     + }, add = TRUE)
     + test_path <- "pkgdepends"
     + asNamespace("testthat")$test_package_dir(
     + package = package, test_path = test_path,
     + filter = NULL, reporter = "check")
     + }
     + test()
     + }
     + }
     >
     > do()
     Error in asNamespace("testthat")$test_package_dir(package = package, test_path = test_path, :
     attempt to apply non-function
     Calls: do -> test
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.2
Check: tests
Result: ERROR
     Running ‘test-pkgdepends.R’ [0s/1s]
     Running ‘test-pkginstall.R’ [0s/1s]
     Running ‘testthat.R’ [5s/10s]
    Running the tests in ‘tests/test-pkgdepends.R’ failed.
    Complete output:
     >
     > do <- function() {
     + old <- Sys.getenv("R_PKG_CACHE_DIR", NA_character_)
     + if (is.na(old)) {
     + on.exit(Sys.unsetenv("R_PKG_CACHE_DIR"), add = TRUE)
     + } else {
     + on.exit(Sys.setenv("R_PKG_CACHE_DIR" = old), add = TRUE)
     + }
     + Sys.setenv("R_PKG_CACHE_DIR" = tempfile())
     +
     + if (file.exists("pkgdepends")) {
     + library(testthat)
     + library(pak)
     + test <- function() {
     + package <- "pak"
     + env_test <- asNamespace("testthat")$env_test
     + env_test$in_test <- TRUE
     + env_test$package <- package
     + on.exit({
     + env_test$in_test <- FALSE
     + env_test$package <- NULL
     + }, add = TRUE)
     + test_path <- "pkgdepends"
     + asNamespace("testthat")$test_package_dir(
     + package = package, test_path = test_path,
     + filter = NULL, reporter = "check")
     + }
     + test()
     + }
     + }
     >
     > do()
     Error in asNamespace("testthat")$test_package_dir(package = package, test_path = test_path, :
     attempt to apply non-function
     Calls: do -> test
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.2
Check: package dependencies
Result: NOTE
    Imports includes 21 non-default packages.
    Importing from so many packages makes the package vulnerable to any of
    them becoming unavailable. Move as many as possible to Suggests and
    use conditionally.
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.2
Check: tests
Result: ERROR
     Running ‘test-pkgdepends.R’
     Running ‘test-pkginstall.R’
     Running ‘testthat.R’ [7s/16s]
    Running the tests in ‘tests/test-pkgdepends.R’ failed.
    Complete output:
     >
     > do <- function() {
     + old <- Sys.getenv("R_PKG_CACHE_DIR", NA_character_)
     + if (is.na(old)) {
     + on.exit(Sys.unsetenv("R_PKG_CACHE_DIR"), add = TRUE)
     + } else {
     + on.exit(Sys.setenv("R_PKG_CACHE_DIR" = old), add = TRUE)
     + }
     + Sys.setenv("R_PKG_CACHE_DIR" = tempfile())
     +
     + if (file.exists("pkgdepends")) {
     + library(testthat)
     + library(pak)
     + test <- function() {
     + package <- "pak"
     + env_test <- asNamespace("testthat")$env_test
     + env_test$in_test <- TRUE
     + env_test$package <- package
     + on.exit({
     + env_test$in_test <- FALSE
     + env_test$package <- NULL
     + }, add = TRUE)
     + test_path <- "pkgdepends"
     + asNamespace("testthat")$test_package_dir(
     + package = package, test_path = test_path,
     + filter = NULL, reporter = "check")
     + }
     + test()
     + }
     + }
     >
     > do()
     Error in asNamespace("testthat")$test_package_dir(package = package, test_path = test_path, :
     attempt to apply non-function
     Calls: do -> test
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.2
Check: tests
Result: ERROR
     Running ‘test-pkgdepends.R’
     Running ‘test-pkginstall.R’
     Running ‘testthat.R’ [15s/18s]
    Running the tests in ‘tests/test-pkgdepends.R’ failed.
    Complete output:
     >
     > do <- function() {
     + old <- Sys.getenv("R_PKG_CACHE_DIR", NA_character_)
     + if (is.na(old)) {
     + on.exit(Sys.unsetenv("R_PKG_CACHE_DIR"), add = TRUE)
     + } else {
     + on.exit(Sys.setenv("R_PKG_CACHE_DIR" = old), add = TRUE)
     + }
     + Sys.setenv("R_PKG_CACHE_DIR" = tempfile())
     +
     + if (file.exists("pkgdepends")) {
     + library(testthat)
     + library(pak)
     + test <- function() {
     + package <- "pak"
     + env_test <- asNamespace("testthat")$env_test
     + env_test$in_test <- TRUE
     + env_test$package <- package
     + on.exit({
     + env_test$in_test <- FALSE
     + env_test$package <- NULL
     + }, add = TRUE)
     + test_path <- "pkgdepends"
     + asNamespace("testthat")$test_package_dir(
     + package = package, test_path = test_path,
     + filter = NULL, reporter = "check")
     + }
     + test()
     + }
     + }
     >
     > do()
     Error in asNamespace("testthat")$test_package_dir(package = package, test_path = test_path, :
     attempt to apply non-function
     Calls: do -> test
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.1.2
Check: tests
Result: ERROR
     Running 'test-pkgdepends.R' [0s]
     Running 'test-pkginstall.R' [0s]
     Running 'testthat.R' [7s]
    Running the tests in 'tests/test-pkgdepends.R' failed.
    Complete output:
     >
     > do <- function() {
     + old <- Sys.getenv("R_PKG_CACHE_DIR", NA_character_)
     + if (is.na(old)) {
     + on.exit(Sys.unsetenv("R_PKG_CACHE_DIR"), add = TRUE)
     + } else {
     + on.exit(Sys.setenv("R_PKG_CACHE_DIR" = old), add = TRUE)
     + }
     + Sys.setenv("R_PKG_CACHE_DIR" = tempfile())
     +
     + if (file.exists("pkgdepends")) {
     + library(testthat)
     + library(pak)
     + test <- function() {
     + package <- "pak"
     + env_test <- asNamespace("testthat")$env_test
     + env_test$in_test <- TRUE
     + env_test$package <- package
     + on.exit({
     + env_test$in_test <- FALSE
     + env_test$package <- NULL
     + }, add = TRUE)
     + test_path <- "pkgdepends"
     + asNamespace("testthat")$test_package_dir(
     + package = package, test_path = test_path,
     + filter = NULL, reporter = "check")
     + }
     + test()
     + }
     + }
     >
     > do()
     Error in asNamespace("testthat")$test_package_dir(package = package, test_path = test_path, :
     attempt to apply non-function
     Calls: do -> test
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.1.2
Check: tests
Result: ERROR
     Running ‘test-pkgdepends.R’ [0s/1s]
     Running ‘test-pkginstall.R’ [0s/1s]
     Running ‘testthat.R’ [6s/10s]
    Running the tests in ‘tests/test-pkgdepends.R’ failed.
    Complete output:
     >
     > do <- function() {
     + old <- Sys.getenv("R_PKG_CACHE_DIR", NA_character_)
     + if (is.na(old)) {
     + on.exit(Sys.unsetenv("R_PKG_CACHE_DIR"), add = TRUE)
     + } else {
     + on.exit(Sys.setenv("R_PKG_CACHE_DIR" = old), add = TRUE)
     + }
     + Sys.setenv("R_PKG_CACHE_DIR" = tempfile())
     +
     + if (file.exists("pkgdepends")) {
     + library(testthat)
     + library(pak)
     + test <- function() {
     + package <- "pak"
     + env_test <- asNamespace("testthat")$env_test
     + env_test$in_test <- TRUE
     + env_test$package <- package
     + on.exit({
     + env_test$in_test <- FALSE
     + env_test$package <- NULL
     + }, add = TRUE)
     + test_path <- "pkgdepends"
     + asNamespace("testthat")$test_package_dir(
     + package = package, test_path = test_path,
     + filter = NULL, reporter = "check")
     + }
     + test()
     + }
     + }
     >
     > do()
     Error in asNamespace("testthat")$test_package_dir(package = package, test_path = test_path, :
     attempt to apply non-function
     Calls: do -> test
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.1.2
Check: tests
Result: ERROR
     Running ‘test-pkgdepends.R’
     Running ‘test-pkginstall.R’
     Running ‘testthat.R’ [11s/16s]
    Running the tests in ‘tests/test-pkgdepends.R’ failed.
    Complete output:
     >
     > do <- function() {
     + old <- Sys.getenv("R_PKG_CACHE_DIR", NA_character_)
     + if (is.na(old)) {
     + on.exit(Sys.unsetenv("R_PKG_CACHE_DIR"), add = TRUE)
     + } else {
     + on.exit(Sys.setenv("R_PKG_CACHE_DIR" = old), add = TRUE)
     + }
     + Sys.setenv("R_PKG_CACHE_DIR" = tempfile())
     +
     + if (file.exists("pkgdepends")) {
     + library(testthat)
     + library(pak)
     + test <- function() {
     + package <- "pak"
     + env_test <- asNamespace("testthat")$env_test
     + env_test$in_test <- TRUE
     + env_test$package <- package
     + on.exit({
     + env_test$in_test <- FALSE
     + env_test$package <- NULL
     + }, add = TRUE)
     + test_path <- "pkgdepends"
     + asNamespace("testthat")$test_package_dir(
     + package = package, test_path = test_path,
     + filter = NULL, reporter = "check")
     + }
     + test()
     + }
     + }
     >
     > do()
     Error in asNamespace("testthat")$test_package_dir(package = package, test_path = test_path, :
     attempt to apply non-function
     Calls: do -> test
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.1.2
Check: tests
Result: ERROR
     Running ‘test-pkgdepends.R’ [0s/1s]
     Running ‘test-pkginstall.R’ [0s/1s]
     Running ‘testthat.R’ [6s/9s]
    Running the tests in ‘tests/test-pkgdepends.R’ failed.
    Complete output:
     >
     > do <- function() {
     + old <- Sys.getenv("R_PKG_CACHE_DIR", NA_character_)
     + if (is.na(old)) {
     + on.exit(Sys.unsetenv("R_PKG_CACHE_DIR"), add = TRUE)
     + } else {
     + on.exit(Sys.setenv("R_PKG_CACHE_DIR" = old), add = TRUE)
     + }
     + Sys.setenv("R_PKG_CACHE_DIR" = tempfile())
     +
     + if (file.exists("pkgdepends")) {
     + library(testthat)
     + library(pak)
     + test <- function() {
     + package <- "pak"
     + env_test <- asNamespace("testthat")$env_test
     + env_test$in_test <- TRUE
     + env_test$package <- package
     + on.exit({
     + env_test$in_test <- FALSE
     + env_test$package <- NULL
     + }, add = TRUE)
     + test_path <- "pkgdepends"
     + asNamespace("testthat")$test_package_dir(
     + package = package, test_path = test_path,
     + filter = NULL, reporter = "check")
     + }
     + test()
     + }
     + }
     >
     > do()
     Error in asNamespace("testthat")$test_package_dir(package = package, test_path = test_path, :
     attempt to apply non-function
     Calls: do -> test
     Execution halted
Flavor: r-release-linux-x86_64

Version: 0.1.2
Check: tests
Result: ERROR
     Running 'test-pkgdepends.R' [1s]
     Running 'test-pkginstall.R' [0s]
     Running 'testthat.R' [10s]
    Running the tests in 'tests/test-pkgdepends.R' failed.
    Complete output:
     >
     > do <- function() {
     + old <- Sys.getenv("R_PKG_CACHE_DIR", NA_character_)
     + if (is.na(old)) {
     + on.exit(Sys.unsetenv("R_PKG_CACHE_DIR"), add = TRUE)
     + } else {
     + on.exit(Sys.setenv("R_PKG_CACHE_DIR" = old), add = TRUE)
     + }
     + Sys.setenv("R_PKG_CACHE_DIR" = tempfile())
     +
     + if (file.exists("pkgdepends")) {
     + library(testthat)
     + library(pak)
     + test <- function() {
     + package <- "pak"
     + env_test <- asNamespace("testthat")$env_test
     + env_test$in_test <- TRUE
     + env_test$package <- package
     + on.exit({
     + env_test$in_test <- FALSE
     + env_test$package <- NULL
     + }, add = TRUE)
     + test_path <- "pkgdepends"
     + asNamespace("testthat")$test_package_dir(
     + package = package, test_path = test_path,
     + filter = NULL, reporter = "check")
     + }
     + test()
     + }
     + }
     >
     > do()
     Error in asNamespace("testthat")$test_package_dir(package = package, test_path = test_path, :
     attempt to apply non-function
     Calls: do -> test
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.1.2
Check: tests
Result: ERROR
     Running 'test-pkgdepends.R' [1s]
     Running 'test-pkginstall.R' [0s]
     Running 'testthat.R' [6s]
    Running the tests in 'tests/test-pkgdepends.R' failed.
    Complete output:
     >
     > do <- function() {
     + old <- Sys.getenv("R_PKG_CACHE_DIR", NA_character_)
     + if (is.na(old)) {
     + on.exit(Sys.unsetenv("R_PKG_CACHE_DIR"), add = TRUE)
     + } else {
     + on.exit(Sys.setenv("R_PKG_CACHE_DIR" = old), add = TRUE)
     + }
     + Sys.setenv("R_PKG_CACHE_DIR" = tempfile())
     +
     + if (file.exists("pkgdepends")) {
     + library(testthat)
     + library(pak)
     + test <- function() {
     + package <- "pak"
     + env_test <- asNamespace("testthat")$env_test
     + env_test$in_test <- TRUE
     + env_test$package <- package
     + on.exit({
     + env_test$in_test <- FALSE
     + env_test$package <- NULL
     + }, add = TRUE)
     + test_path <- "pkgdepends"
     + asNamespace("testthat")$test_package_dir(
     + package = package, test_path = test_path,
     + filter = NULL, reporter = "check")
     + }
     + test()
     + }
     + }
     >
     > do()
     Error in asNamespace("testthat")$test_package_dir(package = package, test_path = test_path, :
     attempt to apply non-function
     Calls: do -> test
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64