CRAN Package Check Results for Package rdefra

Last updated on 2019-06-07 20:53:29 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.6 6.25 62.89 69.14 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.6 4.77 46.52 51.29 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.6 91.87 OK
r-devel-linux-x86_64-fedora-gcc 0.3.6 84.20 OK
r-devel-windows-ix86+x86_64 0.3.6 13.00 167.00 180.00 OK
r-patched-linux-x86_64 0.3.6 5.53 60.10 65.63 ERROR
r-patched-solaris-x86 0.3.6 148.00 OK
r-release-linux-x86_64 0.3.6 6.47 59.49 65.96 ERROR
r-release-windows-ix86+x86_64 0.3.6 17.00 150.00 167.00 ERROR
r-release-osx-x86_64 0.3.6 OK
r-oldrel-windows-ix86+x86_64 0.3.6 8.00 132.00 140.00 ERROR
r-oldrel-osx-x86_64 0.3.6 OK

Check Details

Version: 0.3.6
Check: tests
Result: ERROR
     Running 'testthat.R' [6s/30s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library("testthat")
     > library("rdefra")
     >
     > test_check("rdefra")
     Error in read.table(file = file, header = header, sep = sep, quote = quote, :
     more columns than column names
     -- 1. Error: Metadata should be in the right format (@test-data.R#39) ---------
     arguments imply differing number of rows: 0, 1
     1: ukair_get_hourly_data(site_id, years) at testthat/test-data.R:39
     2: ukair_get_hourly_data_internal(site_id, myYear)
     3: data.frame(variable = names(df)[col_vars], unit = units_col, year = a_year, stringsAsFactors = FALSE)
     4: stop(gettextf("arguments imply differing number of rows: %s", paste(unique(nrows),
     collapse = ", ")), domain = NA)
    
     -- 2. Error: Data should be in the right format (@test-data.R#53) -------------
     arguments imply differing number of rows: 0, 1
     1: ukair_get_hourly_data(site_id, years) at testthat/test-data.R:53
     2: ukair_get_hourly_data_internal(site_id, myYear)
     3: data.frame(variable = names(df)[col_vars], unit = units_col, year = a_year, stringsAsFactors = FALSE)
     4: stop(gettextf("arguments imply differing number of rows: %s", paste(unique(nrows),
     collapse = ", ")), domain = NA)
    
     -- 3. Error: Up-to-date metadata catalogue should have at least 6569 stations. (
     replacement has 0 rows, data has 393
     1: ukair_catalogue() at testthat/test-metadata.R:37
     2: `$<-`(`*tmp*`, "Environment.Type", value = logical(0))
     3: `$<-.data.frame`(`*tmp*`, "Environment.Type", value = logical(0))
     4: stop(sprintf(ngettext(N, "replacement has %d row, data has %d", "replacement has %d rows, data has %d"),
     N, nrows), domain = NA)
    
     == testthat results ===========================================================
     OK: 17 SKIPPED: 1 WARNINGS: 16 FAILED: 3
     1. Error: Metadata should be in the right format (@test-data.R#39)
     2. Error: Data should be in the right format (@test-data.R#53)
     3. Error: Up-to-date metadata catalogue should have at least 6569 stations. (@test-metadata.R#37)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.6
Check: tests
Result: ERROR
     Running ‘testthat.R’ [4s/31s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library("testthat")
     > library("rdefra")
     >
     > test_check("rdefra")
     ── 1. Error: Metadata should be in the right format (@test-data.R#39) ─────────
     input string 23 is invalid UTF-8
     1: ukair_get_hourly_data(site_id, years) at testthat/test-data.R:39
     2: ukair_get_hourly_data_internal(site_id, myYear)
     3: cbind(datetime = lubridate::dmy_hm(paste(df$Date, df$time, tz = "Europe/London")),
     SiteID = site_id, df[, 3:dim(df)[2]])
     4: lubridate::dmy_hm(paste(df$Date, df$time, tz = "Europe/London"))
     5: .parse_xxx_hms(..., orders = "dmyR", quiet = quiet, tz = tz, locale = locale, truncated = truncated)
     6: parse_date_time(dates, orders, tz = tz, quiet = quiet, locale = locale)
     7: .local_parse(x[to_parse], TRUE)
     8: .local_parse(x)
     9: .best_formats(train, orders, locale = locale, select_formats, drop = drop)
     10: unique(guess_formats(x, orders, locale = locale, preproc_wday = TRUE))
     11: guess_formats(x, orders, locale = locale, preproc_wday = TRUE)
     12: gsub(reg$alpha_exact[["A"]], "%A", x, ignore.case = T, perl = T)
    
     ── 2. Error: Up-to-date metadata catalogue should have at least 6569 stations. (
     more columns than column names
     1: ukair_catalogue() at testthat/test-metadata.R:37
     2: utils::read.csv(catalogue_csv_link)
     3: read.table(file = file, header = header, sep = sep, quote = quote, dec = dec, fill = fill,
     comment.char = comment.char, ...)
     4: stop("more columns than column names")
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 18 SKIPPED: 1 WARNINGS: 16 FAILED: 2
     1. Error: Metadata should be in the right format (@test-data.R#39)
     2. Error: Up-to-date metadata catalogue should have at least 6569 stations. (@test-metadata.R#37)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.6
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘rdefra_vignette.Rmd’ using knitr
    Warning in read.table(file = file, header = header, sep = sep, quote = quote, :
     line 1 appears to contain embedded nulls
    Warning in read.table(file = file, header = header, sep = sep, quote = quote, :
     line 3 appears to contain embedded nulls
    Quitting from lines 77-79 (rdefra_vignette.Rmd)
    Error: processing vignette 'rdefra_vignette.Rmd' failed with diagnostics:
    more columns than column names
    --- failed re-building ‘rdefra_vignette.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘rdefra_vignette.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.6
Check: tests
Result: ERROR
     Running ‘testthat.R’ [7s/35s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library("testthat")
     > library("rdefra")
     >
     > test_check("rdefra")
     Error in read.table(file = file, header = header, sep = sep, quote = quote, :
     more columns than column names
     Error in type.convert.default(data[[i]], as.is = as.is[i], dec = dec, :
     invalid multibyte string at '<a0><ec><e9><05><f9><7f>'
     Error in type.convert.default(data[[i]], as.is = as.is[i], dec = dec, :
     invalid multibyte string at '<c2>R<88>U'
     ── 1. Error: Metadata should be in the right format (@test-data.R#39) ─────────
     input string is too long
     1: ukair_get_hourly_data(site_id, years) at testthat/test-data.R:39
     2: ukair_get_hourly_data_internal(site_id, myYear)
     3: cbind(datetime = lubridate::dmy_hm(paste(df$Date, df$time, tz = "Europe/London")),
     SiteID = site_id, df[, 3:dim(df)[2]])
     4: lubridate::dmy_hm(paste(df$Date, df$time, tz = "Europe/London"))
     5: .parse_xxx_hms(..., orders = "dmyR", quiet = quiet, tz = tz, locale = locale, truncated = truncated)
     6: parse_date_time(dates, orders, tz = tz, quiet = quiet, locale = locale)
     7: .local_parse(x[to_parse], TRUE)
     8: .best_formats(train, orders, locale = locale, select_formats, drop = drop)
     9: .train_formats(x, fmts, locale = locale)
     10: lapply(formats, function(fmt) .strptime(x, fmt, locale = locale))
     11: FUN(X[[i]], ...)
     12: .strptime(x, fmt, locale = locale)
     13: strptime(.enclose(x), .enclose(fmt), tz)
    
     ── 2. Error: Up-to-date metadata catalogue should have at least 6569 stations. (
     invalid multibyte string 1
     1: ukair_catalogue() at testthat/test-metadata.R:37
     2: utils::read.csv(catalogue_csv_link)
     3: read.table(file = file, header = header, sep = sep, quote = quote, dec = dec, fill = fill,
     comment.char = comment.char, ...)
     4: make.names(col.names, unique = TRUE)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 18 SKIPPED: 1 WARNINGS: 25 FAILED: 2
     1. Error: Metadata should be in the right format (@test-data.R#39)
     2. Error: Up-to-date metadata catalogue should have at least 6569 stations. (@test-metadata.R#37)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.3.6
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘rdefra_vignette.Rmd’ using knitr
    Warning in read.table(file = file, header = header, sep = sep, quote = quote, :
     line 1 appears to contain embedded nulls
    Warning in read.table(file = file, header = header, sep = sep, quote = quote, :
     line 2 appears to contain embedded nulls
    Warning in read.table(file = file, header = header, sep = sep, quote = quote, :
     line 4 appears to contain embedded nulls
    Warning in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
     EOF within quoted string
    Warning in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
     embedded nul(s) found in input
    Warning in `[<-.data.frame`(`*tmp*`, , j, value = list("\006\t*\x86H\x86\xf7", :
     provided 2945 variables to replace 1 variables
    Quitting from lines 77-79 (rdefra_vignette.Rmd)
    Error: processing vignette 'rdefra_vignette.Rmd' failed with diagnostics:
    replacement has 0 rows, data has 2945
    --- failed re-building ‘rdefra_vignette.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘rdefra_vignette.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.3.6
Check: tests
Result: ERROR
     Running ‘testthat.R’ [7s/30s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library("testthat")
     > library("rdefra")
     >
     > test_check("rdefra")
     Error in read.table(file = file, header = header, sep = sep, quote = quote, :
     more columns than column names
     ── 1. Error: Metadata should be in the right format (@test-data.R#39) ─────────
     arguments imply differing number of rows: 0, 1
     1: ukair_get_hourly_data(site_id, years) at testthat/test-data.R:39
     2: ukair_get_hourly_data_internal(site_id, myYear)
     3: data.frame(variable = names(df)[col_vars], unit = units_col, year = a_year, stringsAsFactors = FALSE)
     4: stop(gettextf("arguments imply differing number of rows: %s", paste(unique(nrows),
     collapse = ", ")), domain = NA)
    
     Error in type.convert.default(data[[i]], as.is = as.is[i], dec = dec, :
     invalid multibyte string at '<c5><ee>'
     ── 2. Failure: Data should be in the right format (@test-data.R#55) ───────────
     `x` not equal to `expected`.
     'is.NA' value mismatch: 0 in current 1 in target
    
     ── 3. Error: Up-to-date metadata catalogue should have at least 6569 stations. (
     invalid multibyte string 1
     1: ukair_catalogue() at testthat/test-metadata.R:37
     2: utils::read.csv(catalogue_csv_link)
     3: read.table(file = file, header = header, sep = sep, quote = quote, dec = dec, fill = fill,
     comment.char = comment.char, ...)
     4: make.names(col.names, unique = TRUE)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 17 SKIPPED: 1 WARNINGS: 14 FAILED: 3
     1. Error: Metadata should be in the right format (@test-data.R#39)
     2. Failure: Data should be in the right format (@test-data.R#55)
     3. Error: Up-to-date metadata catalogue should have at least 6569 stations. (@test-metadata.R#37)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64

Version: 0.3.6
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘rdefra_vignette.Rmd’ using knitr
    Warning in read.table(file = file, header = header, sep = sep, quote = quote, :
     line 1 appears to contain embedded nulls
    Warning in read.table(file = file, header = header, sep = sep, quote = quote, :
     line 2 appears to contain embedded nulls
    Warning in read.table(file = file, header = header, sep = sep, quote = quote, :
     line 3 appears to contain embedded nulls
    Warning in read.table(file = file, header = header, sep = sep, quote = quote, :
     line 4 appears to contain embedded nulls
    Warning in read.table(file = file, header = header, sep = sep, quote = quote, :
     line 5 appears to contain embedded nulls
    Quitting from lines 77-79 (rdefra_vignette.Rmd)
    Error: processing vignette 'rdefra_vignette.Rmd' failed with diagnostics:
    invalid multibyte string 1
    --- failed re-building ‘rdefra_vignette.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘rdefra_vignette.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-release-linux-x86_64

Version: 0.3.6
Check: tests
Result: ERROR
     Running 'testthat.R' [36s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library("testthat")
     > library("rdefra")
     >
     > test_check("rdefra")
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     -- 1. Failure: Metadata should be in the right format (@test-data.R#44) -------
     `x` not equal to `expected`.
     1 element mismatch
    
     Error in file(file, "rt") : cannot open the connection
     -- 2. Failure: Data should be in the right format (@test-data.R#55) -----------
     `x` not equal to `expected`.
     'is.NA' value mismatch: 0 in current 1 in target
    
     == testthat results ===========================================================
     OK: 19 SKIPPED: 1 WARNINGS: 20 FAILED: 2
     1. Failure: Metadata should be in the right format (@test-data.R#44)
     2. Failure: Data should be in the right format (@test-data.R#55)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.3.6
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'rdefra_vignette.Rmd' using knitr
    Warning in file(file, "rt") :
     InternetOpenUrl failed: 'Eine Umleitungsanforderung ändert eine sichere in eine nicht sichere Verbindung.'
    No data available for station MY1
    Warning: Unknown or uninitialised column: 'unit'.
    Warning: Unknown or uninitialised column: 'unit'.
    
    Attaching package: 'zoo'
    
    The following objects are masked from 'package:base':
    
     as.Date, as.Date.numeric
    
    Warning: Unknown or uninitialised column: 'datetime'.
    Quitting from lines 118-124 (rdefra_vignette.Rmd)
    Error: processing vignette 'rdefra_vignette.Rmd' failed with diagnostics:
    do not know how to convert 'df$datetime' to class "POSIXlt"
    --- failed re-building 'rdefra_vignette.Rmd'
    
    SUMMARY: processing the following file failed:
     'rdefra_vignette.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.3.6
Check: tests
Result: ERROR
     Running 'testthat.R' [31s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library("testthat")
     > library("rdefra")
     >
     > test_check("rdefra")
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     -- 1. Failure: Metadata should be in the right format (@test-data.R#44) -------
     `x` not equal to `expected`.
     1 element mismatch
    
     Error in file(file, "rt") : cannot open the connection
     -- 2. Failure: Data should be in the right format (@test-data.R#55) -----------
     `x` not equal to `expected`.
     'is.NA' value mismatch: 0 in current 1 in target
    
     == testthat results ===========================================================
     OK: 19 SKIPPED: 1 WARNINGS: 20 FAILED: 2
     1. Failure: Metadata should be in the right format (@test-data.R#44)
     2. Failure: Data should be in the right format (@test-data.R#55)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.3.6
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Warning in file(file, "rt") :
     InternetOpenUrl failed: 'Eine Umleitungsanforderung ändert eine sichere in eine nicht sichere Verbindung.'
    No data available for station MY1
    Warning: Unknown or uninitialised column: 'unit'.
    Warning: Unknown or uninitialised column: 'unit'.
    
    Attaching package: 'zoo'
    
    The following objects are masked from 'package:base':
    
     as.Date, as.Date.numeric
    
    Warning: Unknown or uninitialised column: 'datetime'.
    Quitting from lines 118-124 (rdefra_vignette.Rmd)
    Error: processing vignette 'rdefra_vignette.Rmd' failed with diagnostics:
    do not know how to convert 'df$datetime' to class "POSIXlt"
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64