CRAN Package Check Results for Package HSAR

Last updated on 2020-02-19 10:48:55 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.2 140.43 152.60 293.03 WARN
r-devel-linux-x86_64-debian-gcc 0.4.2 104.25 118.08 222.33 WARN
r-devel-linux-x86_64-fedora-clang 0.4.2 389.74 WARN
r-devel-linux-x86_64-fedora-gcc 0.4.2 384.77 WARN
r-devel-windows-ix86+x86_64 0.4.2 238.00 229.00 467.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.4.2 374.00 261.00 635.00 OK
r-patched-linux-x86_64 0.4.2 117.11 149.01 266.12 OK
r-patched-solaris-x86 0.4.2 510.90 OK
r-release-linux-x86_64 0.4.2 118.83 150.18 269.01 OK
r-release-windows-ix86+x86_64 0.4.2 238.00 168.00 406.00 OK
r-release-osx-x86_64 0.4.2 WARN
r-oldrel-windows-ix86+x86_64 0.4.2 203.00 208.00 411.00 OK
r-oldrel-osx-x86_64 0.4.2 NOTE

Check Details

Version: 0.4.2
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     sar.cpp:210:32: warning: explicitly assigning value of variable of type 'arma::sp_mat' (aka 'SpMat<double>') to itself [-Wself-assign-overloaded]
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-fedora-clang, r-release-osx-x86_64

Version: 0.4.2
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building 'hsar.Rmd' using knitr
    Loading required package: sp
    Checking rgeos availability: TRUE
    rgdal: version: 1.4-8, (SVN revision 845)
     Geospatial Data Abstraction Library extensions to R successfully loaded
     Loaded GDAL runtime: GDAL 3.0.4, released 2020/01/28
     Path to GDAL shared files:
     GDAL binary built with GEOS: TRUE
     Loaded PROJ.4 runtime: Rel. 6.3.0, January 1st, 2020, [PJ_VERSION: 630]
     Path to PROJ.4 shared files: (autodetected)
     Linking to sp version: 1.3-2
    rgeos version: 0.5-2, (SVN revision 621)
     GEOS runtime version: 3.8.0-CAPI-1.13.1
     Linking to sp version: 1.3-2
     Polygon checking: TRUE
    
    Loading required package: spData
    To access larger datasets in this package, install the spDataLarge
    package with: `install.packages('spDataLarge',
    repos='https://nowosad.github.io/drat/', type='source')`
    Loading required package: sf
    Linking to GEOS 3.8.0, GDAL 3.0.4, PROJ 6.3.0
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    HSAR
     --- call from context ---
    get_X_from_frame(frame)
     --- call from argument ---
    if (class(X) == "try-error") stop("The covariate matrix contains inappropriate values.",
     call. = FALSE)
     --- R stacktrace ---
    where 1: get_X_from_frame(frame)
    where 2: hsar(res.formula, data = model.data.sp@data, W = W, M = M, Delta = Delta,
     burnin = 100, Nsim = 200)
    where 3: eval(expr, envir, enclos)
    where 4: eval(expr, envir, enclos)
    where 5: withVisible(eval(expr, envir, enclos))
    where 6: withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler,
     error = eHandler, message = mHandler)
    where 7: handle(ev <- withCallingHandlers(withVisible(eval(expr, envir,
     enclos)), warning = wHandler, error = eHandler, message = mHandler))
    where 8: timing_fn(handle(ev <- withCallingHandlers(withVisible(eval(expr,
     envir, enclos)), warning = wHandler, error = eHandler, message = mHandler)))
    where 9: evaluate_call(expr, parsed$src[[i]], envir = envir, enclos = enclos,
     debug = debug, last = i == length(out), use_try = stop_on_error !=
     2L, keep_warning = keep_warning, keep_message = keep_message,
     output_handler = output_handler, include_timing = include_timing)
    where 10: evaluate::evaluate(...)
    where 11: evaluate(code, envir = env, new_device = FALSE, keep_warning = !isFALSE(options$warning),
     keep_message = !isFALSE(options$message), stop_on_error = if (options$error &&
     options$include) 0L else 2L, output_handler = knit_handlers(options$render,
     options))
    where 12: in_dir(input_dir(), evaluate(code, envir = env, new_device = FALSE,
     keep_warning = !isFALSE(options$warning), keep_message = !isFALSE(options$message),
     stop_on_error = if (options$error && options$include) 0L else 2L,
     output_handler = knit_handlers(options$render, options)))
    where 13: block_exec(params)
    where 14: call_block(x)
    where 15: process_group.block(group)
    where 16: process_group(group)
    where 17: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),
     error = function(e) {
     setwd(wd)
     cat(res, sep = "\n", file = output %n% "")
     message("Quitting from lines ", paste(current_lines(i),
     collapse = "-"), " (", knit_concord$get("infile"),
     ") ")
     })
    where 18: process_file(text, output)
    where 19: knit(input, text = text, envir = envir, quiet = quiet)
    where 20: knit2html(..., force_v1 = TRUE)
    where 21: (if (grepl("\\.[Rr]md$", file)) knit2html_v1 else if (grepl("\\.[Rr]rst$",
     file)) knit2pandoc else knit)(file, encoding = encoding,
     quiet = quiet, envir = globalenv(), ...)
    where 22: engine$weave(file, quiet = quiet, encoding = enc)
    where 23: doTryCatch(return(expr), name, parentenv, handler)
    where 24: tryCatchOne(expr, names, parentenv, handlers[[1L]])
    where 25: tryCatchList(expr, classes, parentenv, handlers)
    where 26: tryCatch({
     engine$weave(file, quiet = quiet, encoding = enc)
     setwd(startdir)
     output <- find_vignette_product(name, by = "weave", engine = engine)
     if (!have.makefile && vignette_is_tex(output)) {
     texi2pdf(file = output, clean = FALSE, quiet = quiet)
     output <- find_vignette_product(name, by = "texi2pdf",
     engine = engine)
     }
     outputs <- c(outputs, output)
    }, error = function(e) {
     thisOK <<- FALSE
     fails <<- c(fails, file)
     message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s",
     file, conditionMessage(e)))
    })
    where 27: tools:::buildVignettes(dir = "/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/HSAR.Rcheck/vign_test/HSAR",
     ser_elibs = "/tmp/Rtmpe4bMy5/file3fce2efc3f18.rds")
    
     --- value of length: 2 type: logical ---
    [1] FALSE FALSE
     --- function from context ---
    function (frame)
    {
     X <- try(suppressWarnings(model.matrix(object = attr(frame,
     "terms"), data = frame)), silent = TRUE)
     if (class(X) == "try-error")
     stop("The covariate matrix contains inappropriate values.",
     call. = FALSE)
     return(X)
    }
    <bytecode: 0x1284a600>
    <environment: namespace:HSAR>
     --- function search by body ---
    Function get_X_from_frame in namespace HSAR has this body.
     ----------- END OF FAILURE REPORT --------------
    Quitting from lines 197-201 (hsar.Rmd)
    Error: processing vignette 'hsar.Rmd' failed with diagnostics:
    the condition has length > 1
    --- failed re-building 'hsar.Rmd'
    
    SUMMARY: processing the following file failed:
     'hsar.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.4.2
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘hsar.Rmd’ using knitr
    Loading required package: sp
    Checking rgeos availability: TRUE
    rgdal: version: 1.4-8, (SVN revision 845)
     Geospatial Data Abstraction Library extensions to R successfully loaded
     Loaded GDAL runtime: GDAL 3.0.4, released 2020/01/28
     Path to GDAL shared files:
     GDAL binary built with GEOS: TRUE
     Loaded PROJ.4 runtime: Rel. 6.3.0, January 1st, 2020, [PJ_VERSION: 630]
     Path to PROJ.4 shared files: (autodetected)
     Linking to sp version: 1.3-2
    rgeos version: 0.5-2, (SVN revision 621)
     GEOS runtime version: 3.8.0-CAPI-1.13.1
     Linking to sp version: 1.3-2
     Polygon checking: TRUE
    
    Loading required package: spData
    To access larger datasets in this package, install the spDataLarge
    package with: `install.packages('spDataLarge',
    repos='https://nowosad.github.io/drat/', type='source')`
    Loading required package: sf
    Linking to GEOS 3.8.0, GDAL 3.0.4, PROJ 6.3.0
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    HSAR
     --- call from context ---
    get_X_from_frame(frame)
     --- call from argument ---
    if (class(X) == "try-error") stop("The covariate matrix contains inappropriate values.",
     call. = FALSE)
     --- R stacktrace ---
    where 1: get_X_from_frame(frame)
    where 2: hsar(res.formula, data = model.data.sp@data, W = W, M = M, Delta = Delta,
     burnin = 100, Nsim = 200)
    where 3: eval(expr, envir, enclos)
    where 4: eval(expr, envir, enclos)
    where 5: withVisible(eval(expr, envir, enclos))
    where 6: withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler,
     error = eHandler, message = mHandler)
    where 7: handle(ev <- withCallingHandlers(withVisible(eval(expr, envir,
     enclos)), warning = wHandler, error = eHandler, message = mHandler))
    where 8: timing_fn(handle(ev <- withCallingHandlers(withVisible(eval(expr,
     envir, enclos)), warning = wHandler, error = eHandler, message = mHandler)))
    where 9: evaluate_call(expr, parsed$src[[i]], envir = envir, enclos = enclos,
     debug = debug, last = i == length(out), use_try = stop_on_error !=
     2L, keep_warning = keep_warning, keep_message = keep_message,
     output_handler = output_handler, include_timing = include_timing)
    where 10: evaluate::evaluate(...)
    where 11: evaluate(code, envir = env, new_device = FALSE, keep_warning = !isFALSE(options$warning),
     keep_message = !isFALSE(options$message), stop_on_error = if (options$error &&
     options$include) 0L else 2L, output_handler = knit_handlers(options$render,
     options))
    where 12: in_dir(input_dir(), evaluate(code, envir = env, new_device = FALSE,
     keep_warning = !isFALSE(options$warning), keep_message = !isFALSE(options$message),
     stop_on_error = if (options$error && options$include) 0L else 2L,
     output_handler = knit_handlers(options$render, options)))
    where 13: block_exec(params)
    where 14: call_block(x)
    where 15: process_group.block(group)
    where 16: process_group(group)
    where 17: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),
     error = function(e) {
     setwd(wd)
     cat(res, sep = "\n", file = output %n% "")
     message("Quitting from lines ", paste(current_lines(i),
     collapse = "-"), " (", knit_concord$get("infile"),
     ") ")
     })
    where 18: process_file(text, output)
    where 19: knit(input, text = text, envir = envir, quiet = quiet)
    where 20: knit2html(..., force_v1 = TRUE)
    where 21: (if (grepl("\\.[Rr]md$", file)) knit2html_v1 else if (grepl("\\.[Rr]rst$",
     file)) knit2pandoc else knit)(file, encoding = encoding,
     quiet = quiet, envir = globalenv(), ...)
    where 22: engine$weave(file, quiet = quiet, encoding = enc)
    where 23: doTryCatch(return(expr), name, parentenv, handler)
    where 24: tryCatchOne(expr, names, parentenv, handlers[[1L]])
    where 25: tryCatchList(expr, classes, parentenv, handlers)
    where 26: tryCatch({
     engine$weave(file, quiet = quiet, encoding = enc)
     setwd(startdir)
     output <- find_vignette_product(name, by = "weave", engine = engine)
     if (!have.makefile && vignette_is_tex(output)) {
     texi2pdf(file = output, clean = FALSE, quiet = quiet)
     output <- find_vignette_product(name, by = "texi2pdf",
     engine = engine)
     }
     outputs <- c(outputs, output)
    }, error = function(e) {
     thisOK <<- FALSE
     fails <<- c(fails, file)
     message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s",
     file, conditionMessage(e)))
    })
    where 27: tools:::buildVignettes(dir = "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/HSAR.Rcheck/vign_test/HSAR",
     ser_elibs = "/home/hornik/tmp/scratch/RtmpbBw6LJ/file5fb86a0dcaec.rds")
    
     --- value of length: 2 type: logical ---
    [1] FALSE FALSE
     --- function from context ---
    function (frame)
    {
     X <- try(suppressWarnings(model.matrix(object = attr(frame,
     "terms"), data = frame)), silent = TRUE)
     if (class(X) == "try-error")
     stop("The covariate matrix contains inappropriate values.",
     call. = FALSE)
     return(X)
    }
    <bytecode: 0x55ee0533e870>
    <environment: namespace:HSAR>
     --- function search by body ---
    Function get_X_from_frame in namespace HSAR has this body.
     ----------- END OF FAILURE REPORT --------------
    Quitting from lines 197-201 (hsar.Rmd)
    Error: processing vignette 'hsar.Rmd' failed with diagnostics:
    the condition has length > 1
    --- failed re-building ‘hsar.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘hsar.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.4.2
Check: installed package size
Result: NOTE
     installed size is 10.6Mb
     sub-directories of 1Mb or more:
     libs 10.1Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.4.2
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘hsar.Rmd’ using knitr
    Loading required package: sp
    Checking rgeos availability: TRUE
    rgdal: version: 1.4-8, (SVN revision 845)
     Geospatial Data Abstraction Library extensions to R successfully loaded
     Loaded GDAL runtime: GDAL 2.3.2, released 2018/09/21
     Path to GDAL shared files: /usr/share/gdal
     GDAL binary built with GEOS: TRUE
     Loaded PROJ.4 runtime: Rel. 5.2.0, September 15th, 2018, [PJ_VERSION: 520]
     Path to PROJ.4 shared files: (autodetected)
     Linking to sp version: 1.3-2
    rgeos version: 0.5-2, (SVN revision 621)
     GEOS runtime version: 3.7.1-CAPI-1.11.1
     Linking to sp version: 1.3-2
     Polygon checking: TRUE
    
    Loading required package: spData
    To access larger datasets in this package, install the spDataLarge
    package with: `install.packages('spDataLarge',
    repos='https://nowosad.github.io/drat/', type='source')`
    Loading required package: sf
    Linking to GEOS 3.7.1, GDAL 2.3.2, PROJ 5.2.0
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    HSAR
     --- call from context ---
    get_X_from_frame(frame)
     --- call from argument ---
    if (class(X) == "try-error") stop("The covariate matrix contains inappropriate values.",
     call. = FALSE)
     --- R stacktrace ---
    where 1: get_X_from_frame(frame)
    where 2: hsar(res.formula, data = model.data.sp@data, W = W, M = M, Delta = Delta,
     burnin = 100, Nsim = 200)
    where 3: eval(expr, envir, enclos)
    where 4: eval(expr, envir, enclos)
    where 5: withVisible(eval(expr, envir, enclos))
    where 6: withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler,
     error = eHandler, message = mHandler)
    where 7: handle(ev <- withCallingHandlers(withVisible(eval(expr, envir,
     enclos)), warning = wHandler, error = eHandler, message = mHandler))
    where 8: timing_fn(handle(ev <- withCallingHandlers(withVisible(eval(expr,
     envir, enclos)), warning = wHandler, error = eHandler, message = mHandler)))
    where 9: evaluate_call(expr, parsed$src[[i]], envir = envir, enclos = enclos,
     debug = debug, last = i == length(out), use_try = stop_on_error !=
     2L, keep_warning = keep_warning, keep_message = keep_message,
     output_handler = output_handler, include_timing = include_timing)
    where 10: evaluate::evaluate(...)
    where 11: evaluate(code, envir = env, new_device = FALSE, keep_warning = !isFALSE(options$warning),
     keep_message = !isFALSE(options$message), stop_on_error = if (options$error &&
     options$include) 0L else 2L, output_handler = knit_handlers(options$render,
     options))
    where 12: in_dir(input_dir(), evaluate(code, envir = env, new_device = FALSE,
     keep_warning = !isFALSE(options$warning), keep_message = !isFALSE(options$message),
     stop_on_error = if (options$error && options$include) 0L else 2L,
     output_handler = knit_handlers(options$render, options)))
    where 13: block_exec(params)
    where 14: call_block(x)
    where 15: process_group.block(group)
    where 16: process_group(group)
    where 17: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),
     error = function(e) {
     setwd(wd)
     cat(res, sep = "\n", file = output %n% "")
     message("Quitting from lines ", paste(current_lines(i),
     collapse = "-"), " (", knit_concord$get("infile"),
     ") ")
     })
    where 18: process_file(text, output)
    where 19: knit(input, text = text, envir = envir, quiet = quiet)
    where 20: knit2html(..., force_v1 = TRUE)
    where 21: (if (grepl("\\.[Rr]md$", file)) knit2html_v1 else if (grepl("\\.[Rr]rst$",
     file)) knit2pandoc else knit)(file, encoding = encoding,
     quiet = quiet, envir = globalenv(), ...)
    where 22: engine$weave(file, quiet = quiet, encoding = enc)
    where 23: doTryCatch(return(expr), name, parentenv, handler)
    where 24: tryCatchOne(expr, names, parentenv, handlers[[1L]])
    where 25: tryCatchList(expr, classes, parentenv, handlers)
    where 26: tryCatch({
     engine$weave(file, quiet = quiet, encoding = enc)
     setwd(startdir)
     output <- find_vignette_product(name, by = "weave", engine = engine)
     if (!have.makefile && vignette_is_tex(output)) {
     texi2pdf(file = output, clean = FALSE, quiet = quiet)
     output <- find_vignette_product(name, by = "texi2pdf",
     engine = engine)
     }
     outputs <- c(outputs, output)
    }, error = function(e) {
     thisOK <<- FALSE
     fails <<- c(fails, file)
     message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s",
     file, conditionMessage(e)))
    })
    where 27: tools:::buildVignettes(dir = "/data/gannet/ripley/R/packages/tests-clang/HSAR.Rcheck/vign_test/HSAR",
     ser_elibs = "/tmp/Rtmpv20HDr/file2dee660ea01b.rds")
    
     --- value of length: 2 type: logical ---
    [1] FALSE FALSE
     --- function from context ---
    function (frame)
    {
     X <- try(suppressWarnings(model.matrix(object = attr(frame,
     "terms"), data = frame)), silent = TRUE)
     if (class(X) == "try-error")
     stop("The covariate matrix contains inappropriate values.",
     call. = FALSE)
     return(X)
    }
    <bytecode: 0x13055e00>
    <environment: namespace:HSAR>
     --- function search by body ---
    Function get_X_from_frame in namespace HSAR has this body.
     ----------- END OF FAILURE REPORT --------------
    Quitting from lines 197-201 (hsar.Rmd)
    Error: processing vignette 'hsar.Rmd' failed with diagnostics:
    the condition has length > 1
    --- failed re-building ‘hsar.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘hsar.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4.2
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘hsar.Rmd’ using knitr
    Loading required package: sp
    Checking rgeos availability: TRUE
    rgdal: version: 1.4-8, (SVN revision 845)
     Geospatial Data Abstraction Library extensions to R successfully loaded
     Loaded GDAL runtime: GDAL 2.3.2, released 2018/09/21
     Path to GDAL shared files: /usr/share/gdal
     GDAL binary built with GEOS: TRUE
     Loaded PROJ.4 runtime: Rel. 5.2.0, September 15th, 2018, [PJ_VERSION: 520]
     Path to PROJ.4 shared files: (autodetected)
     Linking to sp version: 1.3-2
    rgeos version: 0.5-2, (SVN revision 621)
     GEOS runtime version: 3.7.1-CAPI-1.11.1
     Linking to sp version: 1.3-2
     Polygon checking: TRUE
    
    Loading required package: spData
    To access larger datasets in this package, install the spDataLarge
    package with: `install.packages('spDataLarge',
    repos='https://nowosad.github.io/drat/', type='source')`
    Loading required package: sf
    Linking to GEOS 3.7.1, GDAL 2.3.2, PROJ 5.2.0
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    HSAR
     --- call from context ---
    get_X_from_frame(frame)
     --- call from argument ---
    if (class(X) == "try-error") stop("The covariate matrix contains inappropriate values.",
     call. = FALSE)
     --- R stacktrace ---
    where 1: get_X_from_frame(frame)
    where 2: hsar(res.formula, data = model.data.sp@data, W = W, M = M, Delta = Delta,
     burnin = 100, Nsim = 200)
    where 3: eval(expr, envir, enclos)
    where 4: eval(expr, envir, enclos)
    where 5: withVisible(eval(expr, envir, enclos))
    where 6: withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler,
     error = eHandler, message = mHandler)
    where 7: handle(ev <- withCallingHandlers(withVisible(eval(expr, envir,
     enclos)), warning = wHandler, error = eHandler, message = mHandler))
    where 8: timing_fn(handle(ev <- withCallingHandlers(withVisible(eval(expr,
     envir, enclos)), warning = wHandler, error = eHandler, message = mHandler)))
    where 9: evaluate_call(expr, parsed$src[[i]], envir = envir, enclos = enclos,
     debug = debug, last = i == length(out), use_try = stop_on_error !=
     2L, keep_warning = keep_warning, keep_message = keep_message,
     output_handler = output_handler, include_timing = include_timing)
    where 10: evaluate::evaluate(...)
    where 11: evaluate(code, envir = env, new_device = FALSE, keep_warning = !isFALSE(options$warning),
     keep_message = !isFALSE(options$message), stop_on_error = if (options$error &&
     options$include) 0L else 2L, output_handler = knit_handlers(options$render,
     options))
    where 12: in_dir(input_dir(), evaluate(code, envir = env, new_device = FALSE,
     keep_warning = !isFALSE(options$warning), keep_message = !isFALSE(options$message),
     stop_on_error = if (options$error && options$include) 0L else 2L,
     output_handler = knit_handlers(options$render, options)))
    where 13: block_exec(params)
    where 14: call_block(x)
    where 15: process_group.block(group)
    where 16: process_group(group)
    where 17: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),
     error = function(e) {
     setwd(wd)
     cat(res, sep = "\n", file = output %n% "")
     message("Quitting from lines ", paste(current_lines(i),
     collapse = "-"), " (", knit_concord$get("infile"),
     ") ")
     })
    where 18: process_file(text, output)
    where 19: knit(input, text = text, envir = envir, quiet = quiet)
    where 20: knit2html(..., force_v1 = TRUE)
    where 21: (if (grepl("\\.[Rr]md$", file)) knit2html_v1 else if (grepl("\\.[Rr]rst$",
     file)) knit2pandoc else knit)(file, encoding = encoding,
     quiet = quiet, envir = globalenv(), ...)
    where 22: engine$weave(file, quiet = quiet, encoding = enc)
    where 23: doTryCatch(return(expr), name, parentenv, handler)
    where 24: tryCatchOne(expr, names, parentenv, handlers[[1L]])
    where 25: tryCatchList(expr, classes, parentenv, handlers)
    where 26: tryCatch({
     engine$weave(file, quiet = quiet, encoding = enc)
     setwd(startdir)
     output <- find_vignette_product(name, by = "weave", engine = engine)
     if (!have.makefile && vignette_is_tex(output)) {
     texi2pdf(file = output, clean = FALSE, quiet = quiet)
     output <- find_vignette_product(name, by = "texi2pdf",
     engine = engine)
     }
     outputs <- c(outputs, output)
    }, error = function(e) {
     thisOK <<- FALSE
     fails <<- c(fails, file)
     message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s",
     file, conditionMessage(e)))
    })
    where 27: tools:::buildVignettes(dir = "/data/gannet/ripley/R/packages/tests-devel/HSAR.Rcheck/vign_test/HSAR",
     ser_elibs = "/tmp/RtmpLh80NJ/file20501afe8405.rds")
    
     --- value of length: 2 type: logical ---
    [1] FALSE FALSE
     --- function from context ---
    function (frame)
    {
     X <- try(suppressWarnings(model.matrix(object = attr(frame,
     "terms"), data = frame)), silent = TRUE)
     if (class(X) == "try-error")
     stop("The covariate matrix contains inappropriate values.",
     call. = FALSE)
     return(X)
    }
    <bytecode: 0x116a7a98>
    <environment: namespace:HSAR>
     --- function search by body ---
    Function get_X_from_frame in namespace HSAR has this body.
     ----------- END OF FAILURE REPORT --------------
    Quitting from lines 197-201 (hsar.Rmd)
    Error: processing vignette 'hsar.Rmd' failed with diagnostics:
    the condition has length > 1
    --- failed re-building ‘hsar.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘hsar.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc