dlgMessage.tcltkGUI: no visible global function definition for 'alarm'
dlgMessage.tcltkGUI: no visible global function definition for
  'bringToTop'
Undefined global functions or variables:
  alarm bringToTop
Consider adding
  importFrom("grDevices", "bringToTop")
  importFrom("utils", "alarm")
to your NAMESPACE file.
Malformed Description field: should contain one or more complete sentences.
Package in Depends field not imported from: 'lattice'
  These packages need to be imported from (in the NAMESPACE file)
  for when this namespace is loaded but not attached.
svd3dplot: no visible global function definition for 'wireframe'
svd3dplot: no visible global function definition for 'levelplot'
Undefined global functions or variables:
  levelplot wireframe
Malformed Description field: should contain one or more complete sentences.
startHttpServer : <anonymous> : Rjsonp: no visible global function
  definition for 'localeToCharset'
Undefined global functions or variables:
  localeToCharset
Consider adding
  importFrom("utils", "localeToCharset")
to your NAMESPACE file.
Malformed Description field: should contain one or more complete sentences.
.onAttach : svBrowser: no visible global function definition for
  'browseURL'
.onAttach: no visible global function definition for 'loadhistory'
Undefined global functions or variables:
  browseURL loadhistory
Consider adding
  importFrom("utils", "browseURL", "loadhistory")
to your NAMESPACE file.
Malformed Description field: should contain one or more complete sentences.
svycox.calibrate: no visible global function definition for 'quantile'
svycox.calibrate: no visible binding for global variable 'median'
svycox.calibrate: no visible global function definition for
  'as.formula'
svycox.calibrate: no visible global function definition for 'arrows'
svycox.calibrate: no visible global function definition for 'abline'
svycox.nomogram: no visible global function definition for 'predict'
svycox.nomogram: no visible global function definition for 'as.formula'
svycox.validate : internal.validate.func: no visible global function
  definition for 'as.formula'
svycox.validate : internal.validate.func: no visible global function
  definition for 'formula'
Undefined global functions or variables:
  abline arrows as.formula formula median predict quantile
Consider adding
  importFrom("graphics", "abline", "arrows")
  importFrom("stats", "as.formula", "formula", "median", "predict",
             "quantile")
to your NAMESPACE file.
Package suggested but not available for checking: 'swephRdata'
Packages in Depends field not imported from:
  'MASS' 'fda' 'splines'
  These packages need to be imported from (in the NAMESPACE file)
  for when this namespace is loaded but not attached.
fj_pl: no visible global function definition for 'getbasismatrix'
fj_pl: no visible global function definition for 'create.bspline.basis'
fj_pl: no visible global function definition for 'getbasispenalty'
forward_backward.quantities : <anonymous>: no visible global function
  definition for 'dnorm'
function_cases1AND2: no visible global function definition for 'dnorm'
function_cases3AND4: no visible global function definition for 'dnorm'
pij_iid: no visible global function definition for 'dnorm'
pilj: no visible global function definition for 'dnorm'
updateLambda: no visible global function definition for 'optimize'
Undefined global functions or variables:
  create.bspline.basis dnorm getbasismatrix getbasispenalty optimize
Consider adding
  importFrom("stats", "dnorm", "optimize")
to your NAMESPACE file.
Package suggested but not available for checking: 'cplexAPI'
installed size is  5.1Mb
  sub-directories of 1Mb or more:
    extdata   4.2Mb
Package suggested but not available for checking: 'cplexAPI'
Package suggested but not available for checking: 'cplexAPI'
installed size is  5.1Mb
  sub-directories of 1Mb or more:
    libs   5.0Mb
Packages suggested but not available for checking: 'sylly.de', 'sylly.es'
symbol: no visible global function definition for 'plot.new'
symbol: no visible global function definition for 'plot.window'
symbol: no visible global function definition for 'axis'
symbol: no visible global function definition for 'box'
symbol: no visible global function definition for 'title'
symbol: no visible global function definition for 'rainbow'
symbol: no visible global function definition for 'hsv'
symbol: no visible global function definition for 'rect'
symbol: no visible global function definition for 'polygon'
symbol: no visible global function definition for 'lines'
symbol: no visible global function definition for 'text'
Undefined global functions or variables:
  axis box hsv lines plot.new plot.window polygon rainbow rect text
  title
Consider adding
  importFrom("grDevices", "hsv", "rainbow")
  importFrom("graphics", "axis", "box", "lines", "plot.new",
             "plot.window", "polygon", "rect", "text", "title")
to your NAMESPACE file.
installed size is  8.5Mb
  sub-directories of 1Mb or more:
    libs     6.3Mb
    mylibs   1.3Mb
Package in Depends field not imported from: 'fields'
  These packages need to be imported from (in the NAMESPACE file)
  for when this namespace is loaded but not attached.
cwt_fw: no visible global function definition for 'fft'
cwt_iw: no visible global function definition for 'fft'
est_riskshrink_thresh: no visible global function definition for
  'median'
Undefined global functions or variables:
  fft median
Consider adding
  importFrom("stats", "fft", "median")
to your NAMESPACE file.
'library' or 'require' calls to packages already attached by Depends:
  'tcltk' 'tkrplot'
  Please remove these calls from your code.
mainNetFunction: no visible global function definition for 'png'
mainNetFunction: no visible global function definition for 'lines'
mainNetFunction: no visible global function definition for 'legend'
mainNetFunction: no visible global function definition for 'dev.off'
plotROC: no visible global function definition for 'lines'
simulatedData: no visible global function definition for 'rpois'
simulatedData : <anonymous>: no visible global function definition for
  'rpois'
simulatedData : rlognormpois: no visible global function definition for
  'rnorm'
simulatedData : rlognormpois: no visible global function definition for
  'rpois'
Undefined global functions or variables:
  dev.off legend lines png rnorm rpois
Consider adding
  importFrom("grDevices", "dev.off", "png")
  importFrom("graphics", "legend", "lines")
  importFrom("stats", "rnorm", "rpois")
to your NAMESPACE file.
'library' or 'require' calls in package code:
  'LowRankQP' 'rgenoud'
  Please use :: or requireNamespace() instead.
  See section 'Suggested packages' in the 'Writing R Extensions' manual.
fn.V: no visible global function definition for 'LowRankQP'
gaps.plot: no visible global function definition for 'abline'
path.plot: no visible global function definition for 'lines'
path.plot: no visible global function definition for 'abline'
path.plot: no visible global function definition for 'legend'
synth: no visible binding for global variable 'sd'
synth: no visible binding for global variable 'var'
synth: no visible global function definition for 'LowRankQP'
Undefined global functions or variables:
  LowRankQP abline legend lines sd var
Consider adding
  importFrom("graphics", "abline", "legend", "lines")
  importFrom("stats", "sd", "var")
to your NAMESPACE file.
Package suggested but not available for checking: 'unix'
installed size is  5.2Mb
  sub-directories of 1Mb or more:
    R         1.3Mb
    extdata   3.1Mb
.checkDimAndTest: no visible global function definition for
  'chisq.test'
.checkDimAndTest: no visible global function definition for
  'fisher.test'
plotTable1Heatmap: no visible global function definition for 'par'
plotTable1Heatmap: no visible global function definition for 'image'
plotTable1Heatmap: no visible global function definition for 'abline'
plotTable1Heatmap: no visible global function definition for 'axis'
plotTable1Heatmap: no visible global function definition for 'text'
plotTable1Heatmap: no visible global function definition for 'legend'
plotTable1Heatmap: no visible global function definition for 'box'
Undefined global functions or variables:
  abline axis box chisq.test fisher.test image legend par text
Consider adding
  importFrom("graphics", "abline", "axis", "box", "image", "legend",
             "par", "text")
  importFrom("stats", "chisq.test", "fisher.test")
to your NAMESPACE file.
installed size is  6.1Mb
  sub-directories of 1Mb or more:
    doc   5.9Mb
installed size is 11.5Mb
  sub-directories of 1Mb or more:
    java  11.5Mb
'library' or 'require' calls in package code:
  'gdata' 'ggplot2' 'grid' 'lattice' 'xtable'
  Please use :: or requireNamespace() instead.
  See section 'Suggested packages' in the 'Writing R Extensions' manual.
Package suggested but not available for checking: 'tashudata'
BootTree: no visible global function definition for 'hclust'
BootTree: no visible global function definition for 'dist'
BootTree: no visible global function definition for 'as.dist'
BootTree: no visible global function definition for 'cor'
BootTree: no visible binding for global variable 'var'
Pgpd: no visible global function definition for 'optim'
Pgpd : <anonymous>: no visible global function definition for 'optim'
Pgpd: no visible global function definition for 'var'
Pgpd: no visible global function definition for 'rnorm'
Pgpd: no visible global function definition for 'quantile'
Pvalue: no visible global function definition for 'rnorm'
SigTree: no visible global function definition for 'data'
TreeStat: no visible global function definition for 'hclust'
TreeStat: no visible global function definition for 'as.dist'
TreeStat: no visible global function definition for 'dist'
TreeStat: no visible global function definition for 'cor'
plot.best: no visible global function definition for 'hclust'
plot.best: no visible global function definition for 'as.dist'
plot.best: no visible global function definition for 'dist'
plot.best: no visible global function definition for 'cor'
treetext: no visible global function definition for 'par'
treetext: no visible global function definition for 'text'
Undefined global functions or variables:
  as.dist cor data dist hclust optim par quantile rnorm text var
Consider adding
  importFrom("graphics", "par", "text")
  importFrom("stats", "as.dist", "cor", "dist", "hclust", "optim",
             "quantile", "rnorm", "var")
  importFrom("utils", "data")
to your NAMESPACE file.
installed size is 12.2Mb
  sub-directories of 1Mb or more:
    doc  11.2Mb
Malformed Description field: should contain one or more complete sentences.
cluster_cutoff_at_first_empty_bin: no visible global function
  definition for 'hist'
mapper1D: no visible global function definition for 'dist'
mapper1D: no visible global function definition for 'as.dist'
mapper1D: no visible global function definition for 'hclust'
mapper1D: no visible global function definition for 'cutree'
mapper2D: no visible global function definition for 'dist'
mapper2D: no visible global function definition for 'as.dist'
mapper2D: no visible global function definition for 'hclust'
mapper2D: no visible global function definition for 'cutree'
Undefined global functions or variables:
  as.dist cutree dist hclust hist
Consider adding
  importFrom("graphics", "hist")
  importFrom("stats", "as.dist", "cutree", "dist", "hclust")
to your NAMESPACE file.
installed size is  5.7Mb
  sub-directories of 1Mb or more:
    doc    1.4Mb
    libs   3.9Mb
Packages in Depends field not imported from:
  'RSEIS' 'pracma' 'signal'
  These packages need to be imported from (in the NAMESPACE file)
  for when this namespace is loaded but not attached.
CalcCorners: no visible global function definition for 'abline'
ConvDiffCoef: no visible global function definition for 'pascal'
ConvolveTrace: no visible global function definition for 'filter'
DeconTrace: no visible global function definition for 'as.Zpg'
DeconTrace: no visible global function definition for 'butter'
DeconTrace: no visible global function definition for 'filter'
GetDPZ: no visible global function definition for 'data'
MakeDPZ: no visible global function definition for 'bilinear'
MakeDPZ: no visible global function definition for 'fft'
MakeDPZ: no visible global function definition for 'lines'
MakeDPZ: no visible global function definition for 'legend'
MatchCoefDPZ : CalcMisfit: no visible global function definition for
  'fft'
MatchCoefDPZ : CalcMisfit: no visible global function definition for
  'filter'
MatchCoefDPZ : generate: no visible global function definition for
  'runif'
MatchCoefDPZ : generate: no visible global function definition for
  'rnorm'
MatchCoefDPZ: no visible global function definition for 'fft'
MatchCoefDPZ: no visible global function definition for 'filter'
MatchCoefDPZ: no visible global function definition for 'Zpg'
MatchCoefDPZ: no visible global function definition for 'lines'
MatchCoefDPZ: no visible global function definition for 'abline'
Metropolis: no visible global function definition for 'runif'
PZ2Coef: no visible global function definition for 'Poly'
PlotResp: no visible global function definition for 'fft'
PlotResp: no visible global function definition for 'filter'
PlotResp: no visible global function definition for 'lines'
Undefined global functions or variables:
  Poly Zpg abline as.Zpg bilinear butter data fft filter legend lines
  pascal rnorm runif
Consider adding
  importFrom("graphics", "abline", "legend", "lines")
  importFrom("stats", "fft", "filter", "rnorm", "runif")
  importFrom("utils", "data")
to your NAMESPACE file.
installed size is  6.0Mb
  sub-directories of 1Mb or more:
    apps   1.3Mb
    libs   2.9Mb
installed size is  6.0Mb
  sub-directories of 1Mb or more:
    data   2.4Mb
    libs   3.3Mb
installed size is  7.0Mb
  sub-directories of 1Mb or more:
    doc       3.3Mb
    libs      2.2Mb
    telemac   1.0Mb
TER.deesc.1.B : A1.f: no visible binding for '<<-' assignment to 'ID'
TER.deesc.1.B : A1.f: no visible binding for global variable 'ID'
TER.deesc.1.B : A2.n.f: no visible binding for '<<-' assignment to 'ID'
TER.deesc.1.B : A2.n.f: no visible binding for global variable 'ID'
TER.deesc.1.B: no visible binding for '<<-' assignment to 'ID'
TER.deesc.1.B: no visible binding for global variable 'ID'
TER.deesc.A.B : A1.f: no visible binding for '<<-' assignment to 'ID'
TER.deesc.A.B : A1.f: no visible binding for global variable 'ID'
TER.deesc.A.B : A3.f: no visible binding for '<<-' assignment to 'ID'
TER.deesc.A.B : A3.f: no visible binding for global variable 'ID'
TER.deesc.A.B : A2.f: no visible binding for '<<-' assignment to 'ID'
TER.deesc.A.B : A2.f: no visible binding for global variable 'ID'
TER.deesc.A.B : B1.f: no visible binding for '<<-' assignment to 'ID'
TER.deesc.A.B : B1.f: no visible binding for global variable 'ID'
TER.deesc.A.B: no visible binding for '<<-' assignment to 'ID'
TER.deesc.A.B: no visible binding for global variable 'ID'
Undefined global functions or variables:
  ID
installed size is 107.3Mb
  sub-directories of 1Mb or more:
    R      1.4Mb
    gdal   2.2Mb
    libs  94.2Mb
    proj   8.7Mb
installed size is 29.9Mb
  sub-directories of 1Mb or more:
    doc        1.2Mb
    libs      14.6Mb
    tessdata  14.0Mb
Package suggested but not available for checking: 'gurobi'
Warning: parse error in file 'lines':
20: unexpected '>'
32: # create DTM
33: dtm <- jfk_speech |>
                       ^
Running examples in 'text2map-Ex.R' failed
The error most likely occurred in:

> ### Name: CMDist
> ### Title: Concept Mover's Distance
> ### Aliases: CMDist
> 
> ### ** Examples
> 
> 
> # load example word embeddings
> data(ft_wv_sample)
> 
> # load example text
> data(jfk_speech)
> 
> # minimal preprocessing
> jfk_speech$sentence <- tolower(jfk_speech$sentence)
> jfk_speech$sentence <- gsub("[[:punct:]]+", " ", jfk_speech$sentence)
> 
> # create DTM
> dtm <- jfk_speech |> dtm_builder(sentence, sentence_id)
Error: unexpected '>' in "dtm <- jfk_speech |>"
Execution halted
Warning: parse error in file 'testthat/helper-data.R':
135:29: unexpected '>'
134: tidytext_dtm <- function(df.text) {
135:             dtm <- df.text |>
                                 ^
Warning: parse error in file 'testthat/test-utils-dtm.R':
87:25: unexpected '>'
86:     # example 1
87:     dtm.a <- my.corpus |>
                            ^
Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(text2map)
  > 
  > test_check("text2map")
  Error in parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") : 
    d:\RCompile\CRANpkg\local\4.0\text2map.Rcheck\tests\testthat\helper-data.R:135:29: unexpected '>'
  134: tidytext_dtm <- function(df.text) {
  135:             dtm <- df.text |>
                                   ^
  Calls: test_check ... source_test_helpers -> source_dir -> lapply -> FUN -> parse
  Execution halted
installed size is  8.6Mb
  sub-directories of 1Mb or more:
    data   2.6Mb
    doc    2.9Mb
    libs   2.5Mb
installed size is  5.7Mb
  sub-directories of 1Mb or more:
    data   5.6Mb
phyper_right: no visible global function definition for 'dhyper'
progression: no visible global function definition for 'density'
progression: no visible global function definition for 'points'
progression: no visible global function definition for 'legend'
progression: no visible global function definition for 'text'
specificities.distribution.plot: no visible global function definition
  for 'dhyper'
specificities.distribution.plot: no visible global function definition
  for 'Axis'
specificities.distribution.plot: no visible global function definition
  for 'arrows'
specificities.distribution.plot: no visible global function definition
  for 'text'
specificities.distribution.plot: no visible global function definition
  for 'title'
specificities.probabilities.vector: no visible global function
  definition for 'phyper'
Undefined global functions or variables:
  Axis arrows density dhyper legend phyper points text title
Consider adding
  importFrom("graphics", "Axis", "arrows", "legend", "points", "text",
             "title")
  importFrom("stats", "density", "dhyper", "phyper")
to your NAMESPACE file.
installed size is  5.3Mb
  sub-directories of 1Mb or more:
    extdata   2.9Mb
    libs      2.1Mb
installed size is  5.2Mb
  sub-directories of 1Mb or more:
    libs   3.7Mb
ParseTrueFX: no visible global function definition for 'read.csv'
TrueFXRef: no visible global function definition for 'download.file'
TrueFXRef: no visible global function definition for 'browseURL'
Undefined global functions or variables:
  browseURL download.file read.csv
Consider adding
  importFrom("utils", "browseURL", "download.file", "read.csv")
to your NAMESPACE file.
installed size is  5.4Mb
  sub-directories of 1Mb or more:
    doc    2.8Mb
    libs   2.2Mb
installed size is  8.8Mb
  sub-directories of 1Mb or more:
    data   1.1Mb
    rda    7.1Mb
installed size is  5.0Mb
  sub-directories of 1Mb or more:
    doc          1.0Mb
    libs         2.2Mb
    references   1.1Mb
Malformed Description field: should contain one or more complete sentences.
Thinknum: no visible global function definition for 'URLencode'
Undefined global functions or variables:
  URLencode
Consider adding
  importFrom("utils", "URLencode")
to your NAMESPACE file.
coef_traceplot: no visible global function definition for 'rainbow'
coef_traceplot: no visible global function definition for 'abline'
coef_traceplot : <anonymous>: no visible global function definition for
  'lines'
coef_traceplot: no visible global function definition for 'text'
ee.GEE.aux : <anonymous>: no visible global function definition for
  'combn'
Undefined global functions or variables:
  abline combn lines rainbow text
Consider adding
  importFrom("grDevices", "rainbow")
  importFrom("graphics", "abline", "lines", "text")
  importFrom("utils", "combn")
to your NAMESPACE file.
installed size is  5.3Mb
  sub-directories of 1Mb or more:
    doc           1.7Mb
    htmlwidgets   2.2Mb
summary.tsls: no visible global function definition for 'printCoefmat'
threesls: no visible global function definition for 'cor'
threesls: no visible global function definition for 'pt'
tsls.formula: no visible global function definition for 'model.matrix'
tsls.formula: no visible global function definition for
  'model.response'
Undefined global functions or variables:
  cor model.matrix model.response printCoefmat pt
Consider adding
  importFrom("stats", "cor", "model.matrix", "model.response",
             "printCoefmat", "pt")
to your NAMESPACE file.
installed size is  6.1Mb
  sub-directories of 1Mb or more:
    libs   5.6Mb
GNU make is a SystemRequirements.
.LoadTickDataHK: no visible global function definition for 'read.csv'
.LoadTickDataSHSZ: no visible global function definition for 'read.csv'
DrawDown: no visible global function definition for 'na.omit'
PerformanceReport: no visible global function definition for
  'aggregate'
PerformanceReport: no visible global function definition for 'sd'
Undefined global functions or variables:
  aggregate na.omit read.csv sd
Consider adding
  importFrom("stats", "aggregate", "na.omit", "sd")
  importFrom("utils", "read.csv")
to your NAMESPACE file.
Malformed Title field: should not end in a period.
newTiddler: no visible global function definition for 'new'
twImage: no visible global function definition for 'new'
twLink: no visible global function definition for 'new'
twList: no visible global function definition for 'new'
twTable: no visible global function definition for 'new'
Undefined global functions or variables:
  new
Consider adding
  importFrom("methods", "new")
to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
contains 'methods').
installed size is  5.1Mb
  sub-directories of 1Mb or more:
    doc   4.2Mb
Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.0/tidyseurat.Rcheck/00install.out' for details.
Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.0/tidysq.Rcheck/00install.out' for details.
installed size is  5.2Mb
  sub-directories of 1Mb or more:
    extdata   4.4Mb
Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(tidytree)
  
  Attaching package: 'tidytree'
  
  The following object is masked from 'package:stats':
  
      filter
  
  > 
  > test_check("tidytree")
  == Failed tests ================================================================
  -- Error (test-dplyr-methods.R:72:5): mutate fields for treedata and return treedata --
  Error: object 'get_aes_var' is not exported by 'namespace:rvcheck'
  Backtrace:
      x
   1. \-ggtree::ggtree test-dplyr-methods.R:72:4
   2.   \-base::getExportedValue(pkg, name)
   3.     \-base::asNamespace(ns)
   4.       \-base::getNamespace(ns)
   5.         \-base::loadNamespace(name)
   6.           \-base::namespaceImportFrom(...)
   7.             \-base::importIntoEnv(impenv, impnames, ns, impvars)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 66 ]
  Error: Test failures
  Execution halted
Malformed Description field: should contain one or more complete sentences.
installed size is 19.5Mb
  sub-directories of 1Mb or more:
    libs  17.5Mb
'library' or 'require' call to 'shiny' in package code.
  Please use :: or requireNamespace() instead.
  See section 'Suggested packages' in the 'Writing R Extensions' manual.
Package in Depends field not imported from: 'ggplot2'
  These packages need to be imported from (in the NAMESPACE file)
  for when this namespace is loaded but not attached.
timeline: no visible global function definition for 'ggplot'
timeline: no visible global function definition for 'geom_segment'
timeline: no visible global function definition for 'aes_string'
timeline: no visible global function definition for 'geom_rect'
timeline: no visible global function definition for 'geom_text'
timeline: no visible global function definition for 'theme'
timeline: no visible global function definition for 'element_blank'
timeline: no visible global function definition for 'xlab'
timeline: no visible global function definition for 'ylab'
timeline: no visible global function definition for 'xlim'
timeline: no visible global function definition for
  'scale_y_continuous'
timeline: no visible global function definition for 'geom_point'
timeline: no visible global function definition for 'scale_color_grey'
timeline: no visible global function definition for 'geom_hline'
Undefined global functions or variables:
  aes_string element_blank geom_hline geom_point geom_rect geom_segment
  geom_text ggplot scale_color_grey scale_y_continuous theme xlab xlim
  ylab
'library' or 'require' calls in package code:
  'ggplot2' 'plyr'
  Please use :: or requireNamespace() instead.
  See section 'Suggested packages' in the 'Writing R Extensions' manual.
Packages in Depends field not imported from:
  'Matrix' 'lubridate' 'timeDate'
  These packages need to be imported from (in the NAMESPACE file)
  for when this namespace is loaded but not attached.
is.Bizday: no visible global function definition for 'isWeekday'
plotCalendarHeatmap: no visible global function definition for 'ddply'
plotCalendarHeatmap: no visible global function definition for '.'
plotCalendarHeatmap: no visible binding for global variable 'year'
plotCalendarHeatmap: no visible binding for global variable 'month'
plotCalendarHeatmap: no visible binding for global variable 'week'
plotCalendarHeatmap: no visible global function definition for 'ggplot'
plotCalendarHeatmap: no visible global function definition for 'aes'
plotCalendarHeatmap: no visible binding for global variable 'monthweek'
plotCalendarHeatmap: no visible binding for global variable 'weekday'
plotCalendarHeatmap: no visible global function definition for
  'geom_tile'
plotCalendarHeatmap: no visible global function definition for
  'facet_grid'
plotCalendarHeatmap: no visible global function definition for
  'scale_fill_gradientn'
projectDate: no visible global function definition for 'holidayNYSE'
projectDate: no visible global function definition for
  'sparse.model.matrix'
Undefined global functions or variables:
  . aes ddply facet_grid geom_tile ggplot holidayNYSE isWeekday month
  monthweek scale_fill_gradientn sparse.model.matrix week weekday year
Malformed Description field: should contain one or more complete sentences.
'library' or 'require' call to 'boot' which was already attached by Depends.
  Please remove these calls from your code.
Package in Depends field not imported from: 'boot'
  These packages need to be imported from (in the NAMESPACE file)
  for when this namespace is loaded but not attached.
boot_autocov: no visible global function definition for 'is.ts'
boot_autocov: no visible global function definition for 'tsboot'
boot_autocov: no visible global function definition for 'quantile'
boot_autocov: no visible global function definition for 'par'
boot_autocov: no visible global function definition for 'frequency'
boot_autocov: no visible global function definition for 'polygon'
boot_autocov: no visible global function definition for 'lines'
boot_autocov: no visible global function definition for 'abline'
boot_autocov: no visible global function definition for 'acf'
boot_spec: no visible global function definition for 'is.ts'
boot_spec: no visible global function definition for 'tsboot'
boot_spec: no visible global function definition for 'spec.pgram'
boot_spec: no visible global function definition for 'quantile'
boot_spec: no visible global function definition for 'polygon'
boot_spec: no visible global function definition for 'lines'
redraw: no visible global function definition for 'spec.pgram'
statistic: no visible global function definition for 'acf'
Undefined global functions or variables:
  abline acf frequency is.ts lines par polygon quantile spec.pgram
  tsboot
Consider adding
  importFrom("graphics", "abline", "lines", "par", "polygon")
  importFrom("stats", "acf", "frequency", "is.ts", "quantile",
             "spec.pgram")
to your NAMESPACE file.
author.search: no visible binding for global variable 'na.omit'
reference.list: no visible global function definition for 'na.omit'
Undefined global functions or variables:
  na.omit
Consider adding
  importFrom("stats", "na.omit")
to your NAMESPACE file.
drawGraph: no visible global function definition for 'pdf'
drawGraph: no visible global function definition for 'par'
drawGraph: no visible global function definition for 'segments'
drawGraph: no visible global function definition for 'lines'
drawGraph: no visible global function definition for 'text'
drawGraph: no visible global function definition for 'dev.off'
drugRank: no visible global function definition for 'aggregate'
floating2: no visible global function definition for 'cor'
timma: no visible global function definition for 'median'
timma: no visible global function definition for 'write.table'
Undefined global functions or variables:
  aggregate cor dev.off lines median par pdf segments text write.table
Consider adding
  importFrom("grDevices", "dev.off", "pdf")
  importFrom("graphics", "lines", "par", "segments", "text")
  importFrom("stats", "aggregate", "cor", "median")
  importFrom("utils", "write.table")
to your NAMESPACE file.
Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.0/tinyarray.Rcheck/00install.out' for details.
installed size is  7.2Mb
  sub-directories of 1Mb or more:
    data   5.1Mb
    libs   1.8Mb
tipom.car: no visible global function definition for 'abline'
tipom.car: no visible global function definition for 'axis'
tipom.heat: no visible global function definition for 'image'
tipom.heat: no visible global function definition for 'gray'
tipom.lw: no visible global function definition for 'abline'
Undefined global functions or variables:
  abline axis gray image
Consider adding
  importFrom("grDevices", "gray")
  importFrom("graphics", "abline", "axis", "image")
to your NAMESPACE file.
FLXmclust.Density: no visible global function definition for 'dmvnorm'
FLXmclust.Estimate: no visible global function definition for 'flexmix'
FLXmclust.Estimate: no visible global function definition for
  'FLXmclust'
coefmclust: no visible global function definition for 'parameters'
flexmix.Density: no visible global function definition for
  'model.matrix'
flexmix.Density: no visible global function definition for
  'model.response'
flexmix.Density: no visible global function definition for
  'model.frame'
flexmix.Density: no visible global function definition for 'dnorm'
flexmix.Density: no visible global function definition for 'dpois'
flexmix.Density: no visible global function definition for 'dbinom'
flexmix.Estimate: no visible global function definition for 'flexmix'
flexmix.Estimate: no visible global function definition for 'FLXglm'
tleplot,TLE-data.frame: no visible global function definition for
  'legend'
Undefined global functions or variables:
  FLXglm FLXmclust dbinom dmvnorm dnorm dpois flexmix legend
  model.frame model.matrix model.response parameters
Consider adding
  importFrom("graphics", "legend")
  importFrom("stats", "dbinom", "dnorm", "dpois", "model.frame",
             "model.matrix", "model.response")
to your NAMESPACE file.
'library' or 'require' call to 'mvtnorm' which was already attached by Depends.
  Please remove these calls from your code.
Package in Depends field not imported from: 'mvtnorm'
  These packages need to be imported from (in the NAMESPACE file)
  for when this namespace is loaded but not attached.
EMN: no visible global function definition for 'dmvnorm'
EMN: no visible global function definition for 'pmvnorm'
EMT: no visible global function definition for 'GenzBretz'
EMT: no visible global function definition for 'dmvt'
EMT: no visible global function definition for 'pmvt'
MomemNT: no visible global function definition for 'pnorm'
MomemNT: no visible global function definition for 'dnorm'
MomemNT: no visible global function definition for 'pmvnorm'
MomemNT: no visible global function definition for 'dmvnorm'
TT.moment: no visible global function definition for 'GenzBretz'
TT.moment: no visible global function definition for 'pmvt'
TT.moment: no visible global function definition for 'dt'
TT.moment: no visible global function definition for 'pt'
TT.moment: no visible global function definition for 'dmvt'
cdfNI: no visible global function definition for 'pnorm'
cdfNI: no visible global function definition for 'pt'
inits: no visible global function definition for 'lm'
Undefined global functions or variables:
  GenzBretz dmvnorm dmvt dnorm dt lm pmvnorm pmvt pnorm pt
Consider adding
  importFrom("stats", "dnorm", "dt", "lm", "pnorm", "pt")
to your NAMESPACE file.
installed size is 23.1Mb
  sub-directories of 1Mb or more:
    examples  19.6Mb
    include    2.9Mb
extractContentDOM: no visible global function definition for
  'capture.output'
extractHTMLStrip: no visible global function definition for
  'capture.output'
Undefined global functions or variables:
  capture.output
Consider adding
  importFrom("utils", "capture.output")
to your NAMESPACE file.
Packages suggested but not available for checking:
  'Rcampdf', 'Rpoppler', 'tm.lexicon.GeneralInquirer'
Package unavailable to check Rd xrefs: 'Rpoppler'
Running examples in 'TNRS-Ex.R' failed
The error most likely occurred in:

> ### Name: TNRS
> ### Title: Resolve plant taxonomic names
> ### Aliases: TNRS
> 
> ### ** Examples
> 
> {
+ #Take a subset of the testfile to speed up runtime                  
+ tnrs_testfile <- tnrs_testfile[1:20,]
+  
+ results <- TNRS(taxonomic_names = tnrs_testfile)
+   
+ # Inspect the results
+ head(results, 10)
+ }
Error in function (type, msg, asError = TRUE)  : 
  error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Calls: TNRS ... .TNRS_base -> postForm -> .postForm -> <Anonymous> -> fun
Execution halted
Error(s) in re-building vignettes:
--- re-building 'TNRS_vignette.Rmd' using rmarkdown
Quitting from lines 30-50 (TNRS_vignette.Rmd) 
Error: processing vignette 'TNRS_vignette.Rmd' failed with diagnostics:
error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
--- failed re-building 'TNRS_vignette.Rmd'

SUMMARY: processing the following file failed:
  'TNRS_vignette.Rmd'

Error: Vignette re-building failed.
Execution halted
Package suggested but not available for checking: 'corpus.JSS.papers'
installed size is 33.8Mb
  sub-directories of 1Mb or more:
    R      4.7Mb
    help   1.6Mb
    libs  26.9Mb
Package suggested but not available for checking: 'toscaData'
Malformed Description field: should contain one or more complete sentences.
Tosls.formula: no visible global function definition for 'model.matrix'
Tosls.formula: no visible global function definition for
  'model.response'
summary: no visible global function definition for 'coef'
summary: no visible global function definition for 'pt'
Undefined global functions or variables:
  coef model.matrix model.response pt
Consider adding
  importFrom("stats", "coef", "model.matrix", "model.response", "pt")
to your NAMESPACE file.
ConfA: no visible global function definition for 'qf'
EstM2Sn: no visible global function definition for 'nlm'
EstM2Sn: no visible global function definition for 'qnorm'
TV.model: no visible global function definition for 'dev.new'
TV.model: no visible global function definition for 'points'
betaBino: no visible global function definition for 'pbinom'
doseD: no visible global function definition for 'lm'
doseD: no visible global function definition for 'dev.new'
doseD: no visible global function definition for 'par'
doseD: no visible global function definition for 'axTicks'
doseD: no visible global function definition for 'axis'
doseD: no visible global function definition for 'lines'
doseD: no visible global function definition for 'abline'
doseD: no visible global function definition for 'legend'
setD: no visible global function definition for 'dev.new'
setD: no visible global function definition for 'par'
setD: no visible global function definition for 'pbinom'
setD: no visible global function definition for 'abline'
setD: no visible global function definition for 'axis'
setD: no visible global function definition for 'rect'
setD: no visible global function definition for 'lines'
setD: no visible global function definition for 'text'
setD: no visible global function definition for 'axTicks'
setD: no visible global function definition for 'legend'
spoD : spoD_A: no visible global function definition for 'chisq.test'
Undefined global functions or variables:
  abline axTicks axis chisq.test dev.new legend lines lm nlm par pbinom
  points qf qnorm rect text
Consider adding
  importFrom("grDevices", "dev.new")
  importFrom("graphics", "abline", "axTicks", "axis", "legend", "lines",
             "par", "points", "rect", "text")
  importFrom("stats", "chisq.test", "lm", "nlm", "pbinom", "qf", "qnorm")
to your NAMESPACE file.
installed size is  6.1Mb
  sub-directories of 1Mb or more:
    data   2.4Mb
    doc    2.7Mb
Package suggested but not available for checking: 'taxidata'
installed size is 22.3Mb
  sub-directories of 1Mb or more:
    libs  20.3Mb
Malformed Description field: should contain one or more complete sentences.
microsoftTranslate: no visible global function definition for
  'URLencode'
Undefined global functions or variables:
  URLencode
Consider adding
  importFrom("utils", "URLencode")
to your NAMESPACE file.
BugReports field is not a suitable URL but appears to contain an email address
  not specified by mailto: nor contained in < >
   use the Contact field instead
rtrapezoid: no visible global function definition for 'runif'
Undefined global functions or variables:
  runif
Consider adding
  importFrom("stats", "runif")
to your NAMESPACE file.
Package suggested but not available for checking: 'TreeDistData'
Build_JTree: no visible global function definition for 'flush.console'
Run_JTree: no visible global function definition for 'cov2cor'
Undefined global functions or variables:
  cov2cor flush.console
Consider adding
  importFrom("stats", "cov2cor")
  importFrom("utils", "flush.console")
to your NAMESPACE file.
Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(treenomial)
  > 
  > test_check("treenomial")
LikAge: no visible global function definition for 'read.table'
bd.ME.optim: no visible global function definition for 'optim'
bd.ME.optim.rho: no visible global function definition for 'optim'
bd.ME.optim.rho.all: no visible global function definition for 'optim'
bd.MEyule.optim: no visible global function definition for 'optimize'
bd.MEyule.optim: no visible global function definition for 'optim'
bd.age.optim.matlab: no visible global function definition for
  'read.table'
bd.groups.conf: no visible global function definition for 'uniroot'
bd.shifts.plot: no visible global function definition for 'lines'
bdsky.stt.optim: no visible global function definition for 'optim'
create.mat: no visible global function definition for 'write.table'
Undefined global functions or variables:
  lines optim optimize read.table uniroot write.table
Consider adding
  importFrom("graphics", "lines")
  importFrom("stats", "optim", "optimize", "uniroot")
  importFrom("utils", "read.table", "write.table")
to your NAMESPACE file.
plot.treeperm: no visible global function definition for 'hist'
plot.treeperm: no visible global function definition for 'points'
plot.treeperm: no visible global function definition for 'text'
treeperm.formula: no visible global function definition for
  'model.frame'
treeperm.formula: no visible global function definition for
  'model.response'
Undefined global functions or variables:
  hist model.frame model.response points text
Consider adding
  importFrom("graphics", "hist", "points", "text")
  importFrom("stats", "model.frame", "model.response")
to your NAMESPACE file.
installed size is 17.8Mb
  sub-directories of 1Mb or more:
    doc    3.8Mb
    libs  12.9Mb
GNU make is a SystemRequirements.
installed size is  5.0Mb
  sub-directories of 1Mb or more:
    libs   4.4Mb
GNU make is a SystemRequirements.
Package vignette with placeholder title 'Vignette Title':
  'trimr-vignette.Rmd'
cinbag: no visible global function definition for 'var'
trimTrees: no visible global function definition for 'predict'
Undefined global functions or variables:
  predict var
Consider adding
  importFrom("stats", "predict", "var")
to your NAMESPACE file.
'library' or 'require' calls to packages already attached by Depends:
  'gtools' 'mgcv'
  Please remove these calls from your code.
Packages in Depends field not imported from:
  'gtools' 'mgcv' 'msm'
  These packages need to be imported from (in the NAMESPACE file)
  for when this namespace is loaded but not attached.
HtoGp: no visible global function definition for 'odd'
HtoGp: no visible global function definition for 'even'
plot.pirls.gam: no visible global function definition for 'par'
plot.pirls.gam: no visible global function definition for 'title'
plot.pirls.gam: no visible global function definition for 'lines'
plot.pirls.gam: no visible global function definition for 'rug'
plot.pirls.gam: no visible global function definition for 'mtext'
test.trioGxE: no visible global function definition for 'write.table'
trioGxE: no visible global function definition for 'quantile'
trioGxE: no visible global function definition for 'qtnorm'
trioplot: no visible global function definition for 'quantile'
trioplot: no visible global function definition for 'formula'
trioplot: no visible global function definition for 'gam'
trioplot: no visible global function definition for 'binomial'
Undefined global functions or variables:
  binomial even formula gam lines mtext odd par qtnorm quantile rug
  title write.table
Consider adding
  importFrom("graphics", "lines", "mtext", "par", "rug", "title")
  importFrom("stats", "binomial", "formula", "quantile")
  importFrom("utils", "write.table")
to your NAMESPACE file.
Malformed Title field: should not end in a period.
DrawMargin: no visible global function definition for 'qnorm'
DrawProbability: no visible global function definition for 'pnorm'
Factor: no visible global function definition for 'new'
Gaussian: no visible global function definition for 'new'
LikelihoodFactor: no visible global function definition for 'new'
Parameters: no visible global function definition for 'new'
Player: no visible global function definition for 'new'
PriorFactor: no visible global function definition for 'new'
SumFactor: no visible global function definition for 'new'
TruncateFactor: no visible global function definition for 'new'
Variable: no visible global function definition for 'new'
Vdraw: no visible global function definition for 'dnorm'
Vdraw: no visible global function definition for 'pnorm'
Vwin: no visible global function definition for 'dnorm'
Vwin: no visible global function definition for 'pnorm'
Wdraw: no visible global function definition for 'dnorm'
Wdraw: no visible global function definition for 'pnorm'
Undefined global functions or variables:
  dnorm new pnorm qnorm
Consider adding
  importFrom("methods", "new")
  importFrom("stats", "dnorm", "pnorm", "qnorm")
to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
contains 'methods').
Malformed Description field: should contain one or more complete sentences.
Package in Depends field not imported from: 'MASS'
  These packages need to be imported from (in the NAMESPACE file)
  for when this namespace is loaded but not attached.
cdens: no visible global function definition for 'head'
dplot: no visible global function definition for 'knots'
dplot: no visible global function definition for 'median'
dplot: no visible global function definition for 'par'
dplot: no visible global function definition for 'plot.stepfun'
dplot: no visible global function definition for 'abline'
edf: no visible global function definition for 'approxfun'
mctest : rdist: no visible global function definition for 'runif'
mctest : S: no visible global function definition for 'optim'
qplot: no visible global function definition for 'abline'
Undefined global functions or variables:
  abline approxfun head knots median optim par plot.stepfun runif
Consider adding
  importFrom("graphics", "abline", "par")
  importFrom("stats", "approxfun", "knots", "median", "optim",
             "plot.stepfun", "runif")
  importFrom("utils", "head")
to your NAMESPACE file.
Malformed Description field: should contain one or more complete sentences.
tfDetails: no visible global function definition for 'start'
tfDetails: no visible global function definition for 'end'
Undefined global functions or variables:
  end start
Consider adding
  importFrom("stats", "end", "start")
to your NAMESPACE file.
Qhat: no visible global function definition for 'pnorm'
plrt: no visible global function definition for 'uniroot'
plrt: no visible global function definition for 'optimize'
simulatedata: no visible global function definition for 'rnorm'
tsc.test: no visible global function definition for 'shapiro.test'
tsc.test: no visible global function definition for 'p.adjust'
tsc.test: no visible global function definition for 'glm'
tsc.test : f: no visible global function definition for 'pnorm'
tsc.test: no visible global function definition for 'uniroot'
tsc.test: no visible global function definition for 'optimize'
variance: no visible global function definition for 'density'
variance: no visible global function definition for 'ecdf'
Undefined global functions or variables:
  density ecdf glm optimize p.adjust pnorm rnorm shapiro.test uniroot
Consider adding
  importFrom("stats", "density", "ecdf", "glm", "optimize", "p.adjust",
             "pnorm", "rnorm", "shapiro.test", "uniroot")
to your NAMESPACE file.
vintageMap: no visible global function definition for 'read.table'
TSget,character-TSfameLocalConnection: no visible global function
  definition for 'as.ts'
TSget,character-TSfameLocalConnection: no visible global function
  definition for 'zoo'
TSget,character-TSfameLocalConnection: no visible global function
  definition for 'frequency'
TSget,character-TSfameServerConnection: no visible global function
  definition for 'as.ts'
TSget,character-TSfameServerConnection: no visible global function
  definition for 'zoo'
TSget,character-TSfameServerConnection: no visible global function
  definition for 'frequency'
Undefined global functions or variables:
  as.ts frequency read.table zoo
Consider adding
  importFrom("stats", "as.ts", "frequency")
  importFrom("utils", "read.table")
to your NAMESPACE file.
Func.SAX: no visible global function definition for 'sd'
Func.SAX: no visible global function definition for 'qnorm'
Func.matrix: no visible global function definition for 'qnorm'
Func.motif: no visible global function definition for 'sd'
Func.motif: no visible global function definition for 'na.omit'
Func.motif: no visible global function definition for 'combn'
Func.motif.multivariate: no visible global function definition for
  'txtProgressBar'
Func.motif.multivariate: no visible global function definition for
  'setTxtProgressBar'
Undefined global functions or variables:
  combn na.omit qnorm sd setTxtProgressBar txtProgressBar
Consider adding
  importFrom("stats", "na.omit", "qnorm", "sd")
  importFrom("utils", "combn", "setTxtProgressBar", "txtProgressBar")
to your NAMESPACE file.
Malformed Description field: should contain one or more complete sentences.
dLag : dlag.f: no visible global function definition for
  'complete.cases'
distmat: no visible global function definition for 'dist'
fitCity: no visible global function definition for 'glm.control'
fitCity: no visible global function definition for 'terms'
ldmvnorm: no visible global function definition for 'mahalanobis'
lspline: no visible global function definition for 'quantile'
plot.tsdecomp: no visible global function definition for 'par'
setupFormula: no visible global function definition for 'as.formula'
spatialgibbs: no visible global function definition for 'rnorm'
spatialgibbs: no visible global function definition for 'rgamma'
spatialgibbs: no visible global function definition for 'runif'
tsdecomp: no visible global function definition for 'fft'
Undefined global functions or variables:
  as.formula complete.cases dist fft glm.control mahalanobis par
  quantile rgamma rnorm runif terms
Consider adding
  importFrom("graphics", "par")
  importFrom("stats", "as.formula", "complete.cases", "dist", "fft",
             "glm.control", "mahalanobis", "quantile", "rgamma", "rnorm",
             "runif", "terms")
to your NAMESPACE file.
installed size is  8.2Mb
  sub-directories of 1Mb or more:
    data   4.6Mb
    libs   2.3Mb
GNU make is a SystemRequirements.
Malformed Title field: should not end in a period.
covTranspose11: warning in glasso(sc, 2 * rhoc/n, wi.init = gc$wi,
  w.init = gc$w, maxit = maxit.glasso, thr = thr.glasso, penalize.diag
  = pen.diag): partial argument match of 'penalize.diag' to
  'penalize.diagonal'
covTranspose11: warning in glasso(sr, 2 * rhor/p, wi.init = gr$wi,
  w.init = gr$w, maxit = maxit.glasso, thr = thr.glasso, penalize.diag
  = pen.diag): partial argument match of 'penalize.diag' to
  'penalize.diagonal'
.help.ESS: no visible global function definition for 'index.search'
TransSphere : ttin: no visible global function definition for 't.test'
TransSphere: no visible global function definition for 'sd'
TransSphere: no visible global function definition for 'quantile'
TransSphere: no visible global function definition for 'pt'
Undefined global functions or variables:
  index.search pt quantile sd t.test
Consider adding
  importFrom("stats", "pt", "quantile", "sd", "t.test")
to your NAMESPACE file.
Found the following Makefile(s) with an include directive with a pathname using R_HOME:
  src/Makefile.win
Even though not recommended, variable R_HOME may contain spaces.
Makefile directives use space as a separator and there is no portable
way to quote/escape the space in Make rules and directives.  However,
one can and should quote pathnames when passed from Makefile to the
shell, and this can be done specifically when invoking Make recursively.
It is therefore recommended to use the Make '-f' option to include files
in directories specified using R_HOME.  This option can be specified
multiple times to include multiple Makefiles.  Note that 'Makeconf' is
included automatically into top-level makefile of a package.
More information can be found in 'Writing R Extensions'.
TT.GS : TT.GS.sp: no visible global function definition for 'qt'
TT.GS : TT.GS.sp: no visible global function definition for 'runif'
TT.GS : TT.GS.sp: no visible global function definition for 'pt'
TT.moment: no visible global function definition for 'dt'
TT.moment: no visible global function definition for 'pt'
Undefined global functions or variables:
  dt pt qt runif
Consider adding
  importFrom("stats", "dt", "pt", "qt", "runif")
to your NAMESPACE file.
.saveDevice: no visible global function definition for 'dev.off'
Undefined global functions or variables:
  dev.off
Consider adding
  importFrom("grDevices", "dev.off")
to your NAMESPACE file.
Malformed Title field: should not end in a period.
ttwa: no visible global function definition for 'aggregate'
ttwa: no visible global function definition for 'txtProgressBar'
ttwa: no visible global function definition for 'setTxtProgressBar'
Undefined global functions or variables:
  aggregate setTxtProgressBar txtProgressBar
Consider adding
  importFrom("stats", "aggregate")
  importFrom("utils", "setTxtProgressBar", "txtProgressBar")
to your NAMESPACE file.
Malformed Description field: should contain one or more complete sentences.
turf: no visible global function definition for 'read.table'
turf: no visible global function definition for 'flush.console'
turf.combos: no visible global function definition for 'combn'
Undefined global functions or variables:
  combn flush.console read.table
Consider adding
  importFrom("utils", "combn", "flush.console", "read.table")
to your NAMESPACE file.
Package in Depends field not imported from: 'tcltk'
  These packages need to be imported from (in the NAMESPACE file)
  for when this namespace is loaded but not attached.
TwoCop: no visible global function definition for 'quantile'
Undefined global functions or variables:
  quantile
Consider adding
  importFrom("stats", "quantile")
to your NAMESPACE file.
Package which this enhances but not available for checking: 'sl3'
Running examples in 'txshift-Ex.R' failed
The error most likely occurred in:

> ### Name: confint.txshift
> ### Title: Confidence Intervals for Counterfactual Mean Under Stochastic
> ###   Intervention
> ### Aliases: confint.txshift
> 
> ### ** Examples
> 
> set.seed(429153)
> n_obs <- 100
> W <- replicate(2, rbinom(n_obs, 1, 0.5))
> A <- rnorm(n_obs, mean = 2 * W, sd = 1)
> Y <- rbinom(n_obs, 1, plogis(A + W + rnorm(n_obs, mean = 0, sd = 1)))
> txout <- txshift(
+   W = W, A = A, Y = Y, delta = 0.5,
+   estimator = "tmle",
+   g_exp_fit_args = list(
+     fit_type = "hal", n_bins = 5,
+     grid_type = "equal_mass",
+     lambda_seq = exp(-1:-9)
+   ),
+   Q_fit_args = list(
+     fit_type = "glm",
+     glm_formula = "Y ~ ."
+   )
+ )
Warning in origami::cross_validate(cv_fun = cv_haldensify, folds = folds,  :
  All iterations resulted in errors
Error in apply(density_pred_unscaled, 2, function(x) { : 
  dim(X) must have a positive length
Calls: txshift ... do.call -> <Anonymous> -> mapply -> <Anonymous> -> apply
Execution halted
Running 'testthat.R' [10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(txshift)
  txshift v0.3.5: Efficient Estimation of the Causal Effects of Stochastic
  Interventions
  > 
  > test_check("txshift")
  == Failed tests ================================================================
  -- Error (test-censoring_mech.R:20:1): (code run outside of `test_that()`) -----
  Error in `apply(density_pred_unscaled, 2, function(x) {
      pred <- x/bin_sizes[long_data[in_bin == 1, bin_id]]
      return(pred)
  })`: dim(X) must have a positive length
  Backtrace:
      x
   1. \-txshift:::est_g_exp(...) test-censoring_mech.R:20:0
   2.   +-base::do.call(haldensify::haldensify, fit_args)
   3.   \-(function (A, W, wts = rep(1, length(A)), grid_type = "equal_range", ...
   4.     \-base::mapply(...)
   5.       \-(function (A, W, wts = rep(1, length(A)), grid_type = "equal_range", ...
   6.         \-base::apply(...)
  -- Error (test-tmle_comparison.R:124:1): (code run outside of `test_that()`) ---
  Error in `hal9001::fit_hal(X = as.matrix(data_internal[, ..v_names]), Y = as.numeric(eif_eval$eif_unweighted[C_samp == 
      1]), max_degree = NULL, fit_type = "glmnet", family = "gaussian", 
      return_lasso = FALSE, standardize = FALSE, type.measure = "mse", 
      nlambda = 1000, lambda.min.ratio = 1/nrow(data_internal), 
      yolo = FALSE)`: unused arguments (fit_type = "glmnet", standardize = FALSE, type.measure = "mse", nlambda = 1000, lambda.min.ratio = 1/nrow(data_internal))
  Backtrace:
      x
   1. \-txshift::txshift(...) test-tmle_comparison.R:124:0
   2.   \-txshift:::tmle_txshift(...)
   3.     \-txshift:::ipcw_eif_update(...)
  
  [ FAIL 2 | WARN 4 | SKIP 0 | PASS 7 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building 'intro_txshift.Rmd' using rmarkdown
Quitting from lines 107-116 (intro_txshift.Rmd) 
Error: processing vignette 'intro_txshift.Rmd' failed with diagnostics:
dim(X) must have a positive length
--- failed re-building 'intro_txshift.Rmd'

--- re-building 'ipcw_txshift.Rmd' using rmarkdown
Quitting from lines 129-141 (ipcw_txshift.Rmd) 
Error: processing vignette 'ipcw_txshift.Rmd' failed with diagnostics:
dim(X) must have a positive length
--- failed re-building 'ipcw_txshift.Rmd'

SUMMARY: processing the following files failed:
  'intro_txshift.Rmd' 'ipcw_txshift.Rmd'

Error: Vignette re-building failed.
Execution halted
Crm: no visible global function definition for 'integrate'
Crm : <anonymous>: no visible global function definition for
  'integrate'
Crm: no visible global function definition for 'optimize'
ail1: no visible global function definition for 'uniroot'
ail2 : fu : <anonymous>: no visible global function definition for
  'integrate'
ail2: no visible global function definition for 'uniroot'
aip : fu : <anonymous>: no visible global function definition for
  'integrate'
aip: no visible global function definition for 'uniroot'
ait1: no visible global function definition for 'uniroot'
ait2 : fu : <anonymous>: no visible global function definition for
  'integrate'
ait2: no visible global function definition for 'uniroot'
sim3p3: no visible global function definition for 'rbinom'
simCrm: no visible global function definition for 'rbinom'
simCrm: no visible global function definition for 'palette'
simCrm: no visible global function definition for 'gray'
simCrm: no visible global function definition for 'abline'
simCrm: no visible global function definition for 'lines'
ssim3p3: no visible global function definition for 'txtProgressBar'
ssim3p3: no visible global function definition for 'setTxtProgressBar'
ssimCrm: no visible global function definition for 'txtProgressBar'
ssimCrm: no visible global function definition for 'setTxtProgressBar'
Undefined global functions or variables:
  abline gray integrate lines optimize palette rbinom setTxtProgressBar
  txtProgressBar uniroot
Consider adding
  importFrom("grDevices", "gray", "palette")
  importFrom("graphics", "abline", "lines")
  importFrom("stats", "integrate", "optimize", "rbinom", "uniroot")
  importFrom("utils", "setTxtProgressBar", "txtProgressBar")
to your NAMESPACE file.
installed size is  9.9Mb
  sub-directories of 1Mb or more:
    doc     7.0Mb
    ubinc   2.0Mb
installed size is  8.1Mb
  sub-directories of 1Mb or more:
    R      1.4Mb
    libs   6.1Mb
GNU make is a SystemRequirements.
rmd2pdf: no visible global function definition for 'tail'
rnw2pdf: no visible global function definition for 'tail'
Undefined global functions or variables:
  tail
Consider adding
  importFrom("utils", "tail")
to your NAMESPACE file.
GNU make is a SystemRequirements.
installed size is  6.8Mb
  sub-directories of 1Mb or more:
    doc        1.6Mb
    shinyapp   3.4Mb
installed size is  9.5Mb
  sub-directories of 1Mb or more:
    doc         1.4Mb
    dummydata   1.4Mb
    libs        5.0Mb
installed size is  5.5Mb
  sub-directories of 1Mb or more:
    help   4.1Mb
ubRacing : predCandidate: no visible global function definition for
  'predict'
ubRacing : aux2.friedman.edit: no visible global function definition
  for 'pchisq'
ubRacing : aux2.friedman.edit: no visible global function definition
  for 'qt'
ubRacing : aux.friedman.edit: no visible global function definition for
  'wilcox.test'
ubRacing : aux.ttest.edit: no visible global function definition for
  't.test'
ubRacing : aux.ttest.edit: no visible global function definition for
  'p.adjust'
ubRacing : idFolds: no visible global function definition for
  'quantile'
ubRacing: no visible binding for global variable 'sd'
ubSmoteExs: no visible global function definition for 'runif'
Undefined global functions or variables:
  p.adjust pchisq predict qt quantile runif sd t.test wilcox.test
Consider adding
  importFrom("stats", "p.adjust", "pchisq", "predict", "qt", "quantile",
             "runif", "sd", "t.test", "wilcox.test")
to your NAMESPACE file.
med: no visible global function definition for 'quantile'
uh: no visible global function definition for 'mad'
uh.bu: no visible global function definition for 'mad'
Undefined global functions or variables:
  mad quantile
Consider adding
  importFrom("stats", "mad", "quantile")
to your NAMESPACE file.
dudewicz.unif.test: no visible global function definition for 'runif'
frosini.unif.test: no visible global function definition for 'runif'
hegazy.unif.test: no visible global function definition for 'runif'
kolmogorov.unif.test: no visible global function definition for 'runif'
kuiper.unif.test: no visible global function definition for 'runif'
neyman.unif.test: no visible global function definition for 'runif'
quesenberry.unif.test: no visible global function definition for
  'runif'
sarkadi.unif.test: no visible global function definition for 'runif'
sherman.unif.test: no visible global function definition for 'runif'
Undefined global functions or variables:
  runif
Consider adding
  importFrom("stats", "runif")
to your NAMESPACE file.
cumcount: no visible global function definition for 'setNames'
uniqtag: no visible global function definition for 'setNames'
Undefined global functions or variables:
  setNames
Consider adding
  importFrom("stats", "setNames")
to your NAMESPACE file.
installed size is 27.4Mb
  sub-directories of 1Mb or more:
    R      1.4Mb
    doc    1.6Mb
    libs  23.2Mb
GNU make is a SystemRequirements.
Malformed Description field: should contain one or more complete sentences.
installed size is  8.1Mb
  sub-directories of 1Mb or more:
    doc   7.6Mb
Package suggested but not available for checking: 'USAboundariesData'
readSEER: no visible global function definition for 'read.fwf'
Undefined global functions or variables:
  read.fwf
Consider adding
  importFrom("utils", "read.fwf")
to your NAMESPACE file.
installed size is 12.7Mb
  sub-directories of 1Mb or more:
    data  12.2Mb
NB: .First.lib is obsolete and will not be used in R >= 3.0.0
File 'UScensus2000cdp/R/zzz.R':
  .First.lib calls:
    cat(paste("'", ehelp[4], "'\n", "Version ", ehelp[2], " created on ",     ehelp[3], ".\n", sep = ""))
    cat(paste(substring(ehelp[3], first = 16), "\n", "Version ",     substring(ehelp[4], first = 16), " created on ", substring(ehelp[5],         first = 16), ".\n", sep = ""))
    cat(paste("copyright (c) 2009, Zack W. Almquist, University of California-Irvine\n",     sep = ""))
    cat("For citation information, type citation(\"UScensus2000cdp\").\n")
    cat("Type help(package=\"UScensus2000cdp\") to get started.\n")

Package startup functions should use 'packageStartupMessage' to
  generate messages.
See section 'Good practice' in '?.onAttach'.
installed size is 27.0Mb
  sub-directories of 1Mb or more:
    data  26.4Mb
NB: .First.lib is obsolete and will not be used in R >= 3.0.0
File 'UScensus2000tract/R/zzz.R':
  .First.lib calls:
    cat(paste("'", ehelp[4], "'\n", "Version ", ehelp[2], " created on ",     ehelp[3], ".\n", sep = ""))
    cat(paste(substring(ehelp[3], first = 16), "\n", "Version ",     substring(ehelp[4], first = 16), " created on ", substring(ehelp[5],         first = 16), ".\n", sep = ""))
    cat(paste("copyright (c) 2009, Zack W. Almquist, University of California-Irvine\n",     sep = ""))
    cat("For citation information, type citation(\"UScensus2000tract\").\n")
    cat("Type help(package=\"UScensus2000tract\") to get started.\n")

Package startup functions should use 'packageStartupMessage' to
  generate messages.
See section 'Good practice' in '?.onAttach'.
installed size is  8.3Mb
  sub-directories of 1Mb or more:
    doc       1.6Mb
    extdata   6.4Mb
Malformed Title field: should not end in a period.
histw: no visible global function definition for 'plot.new'
histw: no visible global function definition for 'plot.window'
histw: no visible global function definition for 'axis'
histw: no visible global function definition for 'rect'
histw: no visible global function definition for 'lines'
uwham.boot: no visible binding for global variable 'var'
Undefined global functions or variables:
  axis lines plot.new plot.window rect var
Consider adding
  importFrom("graphics", "axis", "lines", "plot.new", "plot.window",
             "rect")
  importFrom("stats", "var")
to your NAMESPACE file.
installed size is 25.4Mb
  sub-directories of 1Mb or more:
    doc    2.1Mb
    libs  23.2Mb
Packages suggested but not available for checking: 'vaers', 'vaersND'
Packages suggested but not available for checking: 'vaers', 'vaersND'
installed size is  9.4Mb
  sub-directories of 1Mb or more:
    extdata   8.7Mb
installed size is 102.8Mb
  sub-directories of 1Mb or more:
    extdata   1.0Mb
    gdal      2.2Mb
    libs     89.7Mb
    proj      8.7Mb
Package vignette with placeholder title 'Vignette Title':
  'intro-to-varbundle.Rmd'
Malformed Description field: should contain one or more complete sentences.
Mammen: no visible global function definition for 'runif'
PR2: no visible global function definition for 'ar.burg'
PR2: no visible global function definition for 'pt'
PR2: no visible global function definition for 'pf'
PR3: no visible global function definition for 'ar.burg'
PR3: no visible global function definition for 'pt'
PR3: no visible global function definition for 'pf'
VAR.FOR: no visible global function definition for 'qnorm'
VAR.ForeB: no visible global function definition for 'runif'
VAR.LRtest: no visible global function definition for 'pchisq'
VAR.LRtest: no visible global function definition for 'pf'
VAR.PI: no visible global function definition for 'quantile'
VAR.Waldtest: no visible global function definition for 'pf'
VAR.irf: no visible global function definition for 'par'
VAR.irf: no visible global function definition for 'abline'
VAR1.sim: no visible global function definition for 'rnorm'
resamp: no visible global function definition for 'runif'
Undefined global functions or variables:
  abline ar.burg par pchisq pf pt qnorm quantile rnorm runif
Consider adding
  importFrom("graphics", "abline", "par")
  importFrom("stats", "ar.burg", "pchisq", "pf", "pt", "qnorm",
             "quantile", "rnorm", "runif")
to your NAMESPACE file.
black_scholes: no visible global function definition for 'pnorm'
Undefined global functions or variables:
  pnorm
Consider adding
  importFrom("stats", "pnorm")
to your NAMESPACE file.
burdenPlot: no visible global function definition for 'density'
burdenPlot: no visible global function definition for 'axis'
burdenPlot: no visible global function definition for 'points'
burdenPlot: no visible global function definition for 'lines'
burdenPlot: no visible global function definition for 'abline'
burdenPlot: no visible global function definition for 'text'
burdenPlot: no visible global function definition for 'sd'
burdenPlot: no visible global function definition for 'segments'
vbdm: no visible global function definition for 'var'
vbdm: no visible global function definition for 'pchisq'
vbdmR : run_discrete_mixture_vanilla: no visible global function
  definition for 'var'
vbdmR: no visible global function definition for 'pchisq'
Undefined global functions or variables:
  abline axis density lines pchisq points sd segments text var
Consider adding
  importFrom("graphics", "abline", "axis", "lines", "points", "segments",
             "text")
  importFrom("stats", "density", "pchisq", "sd", "var")
to your NAMESPACE file.
compute_KL : rtnorm: no visible global function definition for 'runif'
compute_KL : rtnorm: no visible global function definition for 'dnorm'
compute_KL: no visible global function definition for 'qnorm'
compute_KL: no visible global function definition for 'dnorm'
compute_KL: no visible global function definition for 'pnorm'
compute_KL: no visible global function definition for 'var'
compute_KL: no visible global function definition for 'rbinom'
compute_KL: no visible global function definition for 'rnorm'
compute_KL: no visible global function definition for 'sd'
vbsr: no visible global function definition for 'qchisq'
vbsr: no visible global function definition for 'var'
vbsr: no visible global function definition for 'pchisq'
vbsr: no visible global function definition for 'sd'
vbsr: no visible binding for global variable 'sd'
Undefined global functions or variables:
  dnorm pchisq pnorm qchisq qnorm rbinom rnorm runif sd var
Consider adding
  importFrom("stats", "dnorm", "pchisq", "pnorm", "qchisq", "qnorm",
             "rbinom", "rnorm", "runif", "sd", "var")
to your NAMESPACE file.
Package vignette with placeholder title 'Vignette Title':
  'VBTree_vignette.Rmd'
installed size is  8.6Mb
  sub-directories of 1Mb or more:
    doc   7.1Mb
Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.0/vctrs.Rcheck/00install.out' for details.
Compare2FDS: no visible global function definition for 'runif'
Compare2FDS: no visible global function definition for 'lm'
Compare2FDS: no visible global function definition for 'model.matrix'
Compare2FDS: no visible global function definition for 'abline'
Compare2FDS: no visible global function definition for 'lines'
Compare2FDS: no visible global function definition for 'text'
Compare2Vdg: no visible global function definition for 'par'
Compare2Vdg: no visible global function definition for 'lines'
Compare2Vdg: no visible global function definition for 'legend'
FDSPlot: no visible global function definition for 'runif'
FDSPlot: no visible global function definition for 'lm'
FDSPlot: no visible global function definition for 'model.matrix'
FDSPlot: no visible global function definition for 'abline'
Vdgraph: no visible global function definition for 'par'
Vdgraph: no visible global function definition for 'lines'
Vdgraph: no visible global function definition for 'legend'
Undefined global functions or variables:
  abline legend lines lm model.matrix par runif text
Consider adding
  importFrom("graphics", "abline", "legend", "lines", "par", "text")
  importFrom("stats", "lm", "model.matrix", "runif")
to your NAMESPACE file.
calculateParameters,AffineTransformation: no visible global function
  definition for 'lm'
calculateParameters,AffineTransformation: no visible global function
  definition for 'coef'
calculateParameters,SimilarityTransformation: no visible global
  function definition for 'lm'
calculateParameters,SimilarityTransformation: no visible global
  function definition for 'coef'
plotGridTransformation,Cartesian2DCoordinateTransformation: no visible
  global function definition for 'points'
plotGridTransformation,Cartesian2DCoordinateTransformation: no visible
  global function definition for 'legend'
Undefined global functions or variables:
  coef legend lm points
Consider adding
  importFrom("graphics", "legend", "points")
  importFrom("stats", "coef", "lm")
to your NAMESPACE file.
DrawDensity3D: no visible global function definition for 'colorRamp'
DrawDensity3D: no visible global function definition for 'rgb'
ReadFromFile3D: no visible global function definition for 'read.table'
Undefined global functions or variables:
  colorRamp read.table rgb
Consider adding
  importFrom("grDevices", "colorRamp", "rgb")
  importFrom("utils", "read.table")
to your NAMESPACE file.
Running examples in 'vegalite-Ex.R' failed
The error most likely occurred in:

> ### Name: from_spec
> ### Title: Take a JSON Vega-Lite Spec and render as an htmlwidget
> ### Aliases: from_spec
> 
> ### ** Examples
> 
> from_spec("http://rud.is/dl/embedded.json")
Warning in file(con, "r") :
  InternetOpenUrl failed: 'Die Serververbindung wurde zurückgesetzt.'
Error in file(con, "r") : cannot open the connection
Calls: from_spec -> readLines -> file
Execution halted
Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(vegawidget)
  > 
  > test_check("vegawidget")
  
  Attaching package: 'rlang'
  
  The following objects are masked from 'package:testthat':
  
      is_false, is_null, is_true
  
  == Skipped tests ===============================================================
  * On CRAN (7)
  
  == Failed tests ================================================================
  -- Failure (test-vegaspec.R:53:3): vegaspec without $schema warns and adds element --
  `spec_ref` (`actual`) not identical to as_vegaspec(list(`$schema` = vega_schema())) (`expected`).
  
  `actual` is length 3
  `expected` is length 1
  
  `class(actual)`:   "simpleWarning" "warning"            "condition"       
  `class(expected)`: "vegaspec_unit" "vegaspec_vega_lite" "vegaspec"  "list"
  
  `names(actual)`:   "message" "call" "trace"
  `names(expected)`: "$schema"               
  
  `actual$message` is a character vector ('Spec has no `$schema` element, adding `$schema` element for Vega-Lite major-version')
  `expected$message` is absent
  
  `actual$call` is a call
  `expected$call` is absent
  
  `actual$trace` is an S3 object of class <rlang_trace>, a list
  `expected$trace` is absent
  
  `actual$$schema` is absent
  `expected$$schema` is a character vector ('https://vega.github.io/schema/vega-lite/v4.json')
  
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 71 ]
  Error: Test failures
  Execution halted
Malformed Description field: should contain one or more complete sentences.
Checking should be performed on sources prepared by 'R CMD build'.
plot.VennDiagram : <anonymous>: no visible global function definition
  for 'hcl'
plot.VennDiagram: no visible global function definition for 'plot.new'
plot.VennDiagram: no visible global function definition for
  'plot.window'
plot.VennDiagram: no visible global function definition for 'col2rgb'
plot.VennDiagram: no visible global function definition for 'rgb'
plot.VennDiagram: no visible global function definition for 'polygon'
plot.VennDiagram: no visible global function definition for 'text'
plot.VennDiagram: no visible global function definition for 'title'
Undefined global functions or variables:
  col2rgb hcl plot.new plot.window polygon rgb text title
Consider adding
  importFrom("grDevices", "col2rgb", "hcl", "rgb")
  importFrom("graphics", "plot.new", "plot.window", "polygon", "text",
             "title")
to your NAMESPACE file.
installed size is  7.7Mb
  sub-directories of 1Mb or more:
    R      3.9Mb
    help   2.9Mb
Malformed Title field: should not end in a period.
vif: no visible global function definition for 'sd'
vif: no visible global function definition for 'lm'
vif: no visible global function definition for 'pnorm'
Undefined global functions or variables:
  lm pnorm sd
Consider adding
  importFrom("stats", "lm", "pnorm", "sd")
to your NAMESPACE file.
installed size is  6.5Mb
  sub-directories of 1Mb or more:
    doc    3.1Mb
    libs   2.1Mb
installed size is  8.9Mb
  sub-directories of 1Mb or more:
    libs   8.6Mb
'library' or 'require' call to 'stats' in package code.
  Please use :: or requireNamespace() instead.
  See section 'Suggested packages' in the 'Writing R Extensions' manual.
viopoints.default: no visible global function definition for 'par'
viopoints.default: no visible global function definition for 'plot.new'
viopoints.default: no visible global function definition for
  'plot.window'
viopoints.default: no visible global function definition for 'axis'
viopoints.default: no visible global function definition for 'arrows'
viopoints.default: no visible global function definition for
  'getFromNamespace'
viopoints.default: no visible global function definition for 'title'
viopoints.default: no visible global function definition for 'box'
Undefined global functions or variables:
  arrows axis box getFromNamespace par plot.new plot.window title
Consider adding
  importFrom("graphics", "arrows", "axis", "box", "par", "plot.new",
             "plot.window", "title")
  importFrom("utils", "getFromNamespace")
to your NAMESPACE file.
installed size is  7.7Mb
  sub-directories of 1Mb or more:
    help          1.3Mb
    htmlwidgets   6.3Mb
GNU make is a SystemRequirements.
installed size is 11.2Mb
  sub-directories of 1Mb or more:
    doc           2.5Mb
    htmlwidgets   6.8Mb
installed size is  6.2Mb
  sub-directories of 1Mb or more:
    doc   5.9Mb
installed size is  6.2Mb
  sub-directories of 1Mb or more:
    data   5.9Mb
Decile.Plot: no visible global function definition for 'barplot'
Decile.Plot: no visible global function definition for 'axis'
Sliding.Window: no visible global function definition for 'lines'
Sliding.Window: no visible global function definition for 'legend'
Undefined global functions or variables:
  axis barplot legend lines
Consider adding
  importFrom("graphics", "axis", "barplot", "legend", "lines")
to your NAMESPACE file.
installed size is  6.6Mb
  sub-directories of 1Mb or more:
    libs   6.2Mb
Malformed Description field: should contain one or more complete sentences.
voss1d: no visible global function definition for 'approx'
voss1d: no visible global function definition for 'rnorm'
voss1g: no visible global function definition for 'dchisq'
voss1g: no visible global function definition for 'approx'
voss1g: no visible global function definition for 'rnorm'
voss2d: no visible global function definition for 'rnorm'
voss2g: no visible global function definition for 'dchisq'
voss2g: no visible global function definition for 'rnorm'
Undefined global functions or variables:
  approx dchisq rnorm
Consider adding
  importFrom("stats", "approx", "dchisq", "rnorm")
to your NAMESPACE file.
installed size is  9.2Mb
  sub-directories of 1Mb or more:
    extdata   8.4Mb
Running examples in 'vprr-Ex.R' failed
The error most likely occurred in:

> ### Name: vpr_autoid_read
> ### Title: Read VPR aid files
> ### Aliases: vpr_autoid_read
> 
> ### ** Examples
> 
> 
> station_of_interest <- 'test'
> dayhour <- c('d222.h03', 'd222.h04')
> 
> #' #VPR OPTICAL SETTING (S0, S1, S2 OR S3)
> opticalSetting <- "S2"
> imageVolume <- 83663 #mm^3
> 
> auto_id_folder <- system.file('extdata/COR2019002/autoid/', package = 'vprr', mustWork = TRUE)
> auto_id_path <- list.files(paste0(auto_id_folder, "/"), full.names = TRUE)
> 
> #'   # Path to aid for each taxa
> aid_path <- paste0(auto_id_path, '/aid/')
> # Path to mea for each taxa
> aidmea_path <- paste0(auto_id_path, '/aidmea/')
> 
> # AUTO ID FILES
> aid_file_list <- list()
> aidmea_file_list <- list()
> for (i in 1:length(dayhour)) {
+   aid_file_list[[i]] <-
+     list.files(aid_path, pattern = dayhour[[i]], full.names = TRUE)
+   # SIZE DATA FILES
+   aidmea_file_list[[i]] <-
+     list.files(aidmea_path, pattern = dayhour[[i]], full.names = TRUE)
+ }
> 
> aid_file_list_all <- unlist(aid_file_list)
> aidmea_file_list_all <- unlist(aidmea_file_list)
> 
>  # ROIs
> roi_dat_combine <-
+   vpr_autoid_read(
+     file_list_aid = aid_file_list_all,
+     file_list_aidmeas = aidmea_file_list_all,
+     export = 'aid',
+     station_of_interest = station_of_interest,
+     opticalSetting = opticalSetting,
+     warn = FALSE
+   )
Error in `$<-.data.frame`(`*tmp*`, "day_hour", value = c("d628.h03", "d222.h03" : 
  replacement has 2 rows, data has 517
Calls: vpr_autoid_read -> $<- -> $<-.data.frame
Execution halted
Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(vprr)
  > 
  > test_check("vprr")
  == Failed tests ================================================================
  -- Error (test_read_files.R:26:3): CTD files are read in accurately ------------
  Error in `data.frame(ctd_dat_tmp, day = day_id, hour = hour_id, station = station_id, 
      stringsAsFactors = FALSE)`: arguments imply differing number of rows: 18351, 2, 1
  Backtrace:
      x
   1. +-testthat::expect_warning(...) test_read_files.R:26:2
   2. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings)
   3. |   +-testthat:::.capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. \-vprr::vpr_ctd_read(ctd_files, station_of_interest)
   7.   \-base::data.frame(...)
  -- Error (test_read_files.R:69:3): VPR autoid files are read in accurately -----
  Error in ``$<-.data.frame`(`*tmp*`, "day_hour", value = c("d628.h03", "d222.h03"
  ))`: replacement has 2 rows, data has 517
  Backtrace:
       x
    1. +-testthat::expect_silent(...) test_read_files.R:69:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat:::.capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. \-vprr::vpr_autoid_read(...)
   10.   +-base::`$<-`(...)
   11.   \-base::`$<-.data.frame`(...)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 20 ]
  Error: Test failures
  Execution halted
'library' or 'require' call to 'misc3d' in package code.
  Please use :: or requireNamespace() instead.
  See section 'Suggested packages' in the 'Writing R Extensions' manual.
Malformed Description field: should contain one or more complete sentences.
plot.vscc: no visible global function definition for 'rainbow'
plot.vscc: no visible global function definition for 'pairs'
Undefined global functions or variables:
  pairs rainbow
Consider adding
  importFrom("grDevices", "rainbow")
  importFrom("graphics", "pairs")
to your NAMESPACE file.
Packages in Depends field not imported from:
  'lattice' 'latticeExtra' 'stringdist'
  These packages need to be imported from (in the NAMESPACE file)
  for when this namespace is loaded but not attached.
ald: no visible global function definition for 'detectCores'
ald: no visible global function definition for 'mclapply'
coltheart.N: no visible global function definition for 'detectCores'
coltheart.N: no visible global function definition for 'mclapply'
hamming.distance: no visible global function definition for
  'stringdist'
ldknn: no visible global function definition for 'detectCores'
ldknn: no visible global function definition for 'mclapply'
ldknn.odds: no visible global function definition for 'glm'
ldknn.odds: no visible binding for global variable 'binomial'
ldknn.odds: no visible global function definition for 'coefficients'
levenshtein.damerau.distance: no visible global function definition for
  'stringdist'
levenshtein.distance: no visible global function definition for
  'stringdist'
plot.ldknn.run: no visible global function definition for 'histogram'
plot.ldknn.run: no visible global function definition for
  'theEconomist.theme'
plot.ldknn.run: no visible global function definition for 'xyplot'
plot.ldknn.run: no visible global function definition for 'as.layer'
Undefined global functions or variables:
  as.layer binomial coefficients detectCores glm histogram mclapply
  stringdist theEconomist.theme xyplot
Consider adding
  importFrom("stats", "binomial", "coefficients", "glm")
to your NAMESPACE file.
summary.whc: no visible global function definition for 'printCoefmat'
wahc.fit: no visible global function definition for 'pt'
wahc.fit: no visible global function definition for 'cor'
whc: no visible global function definition for 'model.frame'
whc: no visible global function definition for 'model.matrix'
whc: no visible global function definition for 'model.response'
Undefined global functions or variables:
  cor model.frame model.matrix model.response printCoefmat pt
Consider adding
  importFrom("stats", "cor", "model.frame", "model.matrix",
             "model.response", "printCoefmat", "pt")
to your NAMESPACE file.
installed size is  9.6Mb
  sub-directories of 1Mb or more:
    libs   8.2Mb
GNU make is a SystemRequirements.
installed size is  9.1Mb
  sub-directories of 1Mb or more:
    R      1.1Mb
    doc    5.5Mb
    libs   2.0Mb
onesamplemeantest: no visible global function definition for 'pnorm'
twosamplemeantest: no visible global function definition for 'pnorm'
wcq: no visible global function definition for 'var'
wcq: no visible global function definition for 'pnorm'
wcq.fdrc: no visible global function definition for 'p.adjust'
Undefined global functions or variables:
  p.adjust pnorm var
Consider adding
  importFrom("stats", "p.adjust", "pnorm", "var")
to your NAMESPACE file.
installed size is 10.1Mb
  sub-directories of 1Mb or more:
    client   8.9Mb
    doc      1.0Mb
installed size is  9.7Mb
  sub-directories of 1Mb or more:
    libs   9.5Mb
GNU make is a SystemRequirements.
Package vignette with placeholder title 'Vignette Title':
  'weco-vignette.Rmd'
Weighted.Box.test: no visible global function definition for 'acf'
Weighted.Box.test: no visible binding for global variable 'na.pass'
Weighted.Box.test: no visible global function definition for 'pgamma'
Weighted.Box.test: no visible global function definition for 'pchisq'
Weighted.LM.test: no visible global function definition for 'acf'
Weighted.LM.test: no visible binding for global variable 'na.pass'
Weighted.LM.test: no visible global function definition for 'pgamma'
Undefined global functions or variables:
  acf na.pass pchisq pgamma
Consider adding
  importFrom("stats", "acf", "na.pass", "pchisq", "pgamma")
to your NAMESPACE file.
installed size is  5.1Mb
  sub-directories of 1Mb or more:
    R      1.2Mb
    libs   2.2Mb
Malformed Description field: should contain one or more complete sentences.
Bundesliga.Mannschaft: no visible global function definition for 'data'
Bundesliga.Mannschaft: no visible binding for global variable
  'Bundesliga'
Bundesliga.Tabelle: no visible global function definition for 'data'
Bundesliga.Tabelle: no visible binding for global variable 'Bundesliga'
Bundesliga.XML: no visible global function definition for 'data'
Bundesliga.XML: no visible binding for global variable 'Bundesliga'
sens.spec: no visible global function definition for 'na.omit'
Undefined global functions or variables:
  Bundesliga data na.omit
Consider adding
  importFrom("stats", "na.omit")
  importFrom("utils", "data")
to your NAMESPACE file.
wilcox.selection.split: no visible global function definition for
  'pnorm'
wilcox.test2: no visible global function definition for 'wilcox.test'
Undefined global functions or variables:
  pnorm wilcox.test
Consider adding
  importFrom("stats", "pnorm", "wilcox.test")
to your NAMESPACE file.
Package vignette with placeholder title 'Vignette Title':
  'WindCurves_Info.Rmd'
.__A__.1 : <anonymous>: no visible binding for global variable '.hwnd'
Undefined global functions or variables:
  .hwnd
installed size is  7.1Mb
  sub-directories of 1Mb or more:
    bn   7.0Mb
dbayes: no visible global function definition for 'mahalanobis'
dbayes: no visible global function definition for 'var'
wmd: no visible global function definition for 'cor'
wmd: no visible global function definition for 'var'
Undefined global functions or variables:
  cor mahalanobis var
Consider adding
  importFrom("stats", "cor", "mahalanobis", "var")
to your NAMESPACE file.
fit,Leader: no visible global function definition for 'lm'
plotfit,Leader: no visible global function definition for 'par'
Undefined global functions or variables:
  lm par
Consider adding
  importFrom("graphics", "par")
  importFrom("stats", "lm")
to your NAMESPACE file.
Malformed Description field: should contain one or more complete sentences.
Packages in Depends field not imported from:
  'plyr' 'reshape2'
  These packages need to be imported from (in the NAMESPACE file)
  for when this namespace is loaded but not attached.
wordmatch: no visible global function definition for 'llply'
wordmatch : <anonymous>: no visible global function definition for
  'llply'
wordmatch: no visible global function definition for 'melt'
wordmatch: no visible global function definition for 'count'
Undefined global functions or variables:
  count llply melt
Malformed Description field: should contain one or more complete sentences.
installed size is  6.6Mb
  sub-directories of 1Mb or more:
    data   6.5Mb
Malformed Description field: should contain one or more complete sentences.
installed size is 12.6Mb
  sub-directories of 1Mb or more:
    data  12.6Mb
Malformed Description field: should contain one or more complete sentences.
installed size is 11.2Mb
  sub-directories of 1Mb or more:
    data  11.1Mb
installed size is 11.4Mb
  sub-directories of 1Mb or more:
    data  11.3Mb
installed size is 11.3Mb
  sub-directories of 1Mb or more:
    data  11.2Mb
Malformed Title field: should not end in a period.
installed size is  6.3Mb
  sub-directories of 1Mb or more:
    doc       3.3Mb
    extdata   2.4Mb
File
  LICENCE
is not mentioned in the DESCRIPTION file.
'library' or 'require' call to 'MASS' which was already attached by Depends.
  Please remove these calls from your code.
simul.wsvm: no visible binding for global variable 'mixture.example'
Undefined global functions or variables:
  mixture.example
Package vignette with placeholder title 'Vignette Title':
  'wTOvignette.Rmd'
Malformed Title field: should not end in a period.
Malformed Description field: should contain one or more complete sentences.
File
  inst/LICENCE
will install at top-level and is not mentioned in the DESCRIPTION file.
installed size is  6.2Mb
  sub-directories of 1Mb or more:
    libs   6.1Mb
Found a 'configure.in' file: 'configure.ac' has long been preferred.
installed size is  7.9Mb
  sub-directories of 1Mb or more:
    libs   7.0Mb
GNU make is a SystemRequirements.
File
  LICENCE
is not mentioned in the DESCRIPTION file.
quadplot: no visible global function definition for 'median'
xgobi: no visible global function definition for 'write.table'
Undefined global functions or variables:
  median write.table
Consider adding
  importFrom("stats", "median")
  importFrom("utils", "write.table")
to your NAMESPACE file.
XHWE: no visible global function definition for 'read.table'
result: no visible global function definition for 'pchisq'
result: no visible global function definition for 'rbinom'
result: no visible global function definition for 'rmultinom'
Undefined global functions or variables:
  pchisq rbinom read.table rmultinom
Consider adding
  importFrom("stats", "pchisq", "rbinom", "rmultinom")
  importFrom("utils", "read.table")
to your NAMESPACE file.
installed size is 36.5Mb
  sub-directories of 1Mb or more:
    java  34.2Mb
installed size is 10.8Mb
  sub-directories of 1Mb or more:
    java  10.7Mb
R5.value.default: no visible binding for global variable 'data.table'
R5.value.default: no visible global function definition for
  'as.data.table'
R5.value.parse: no visible binding for global variable 'data.table'
R5.value.parse: no visible global function definition for
  'is.data.table'
R5.value.parse: no visible global function definition for
  'as.data.table'
stampme: no visible global function definition for 'flush.console'
stampmsg: no visible global function definition for 'flush.console'
write.data.table: no visible global function definition for
  'write.table'
Undefined global functions or variables:
  as.data.table data.table flush.console is.data.table write.table
Consider adding
  importFrom("utils", "flush.console", "write.table")
to your NAMESPACE file.
installed size is  5.1Mb
  sub-directories of 1Mb or more:
    libs   4.8Mb
installed size is  7.1Mb
  sub-directories of 1Mb or more:
    exampleData   1.3Mb
    libs          4.2Mb
Running examples in 'xpose4-Ex.R' failed
The error most likely occurred in:

> ### Name: simprazExample
> ### Title: Function to create files for the simulated prazosin example in
> ###   Xpose
> ### Aliases: simprazExample
> ### Keywords: methods
> 
> ### ** Examples
> 
> 
> od = setwd(tempdir()) # move to a temp directory
> (cur.files <- dir()) # current files in temp directory
[1] "pdfee804b742657" "xptab1"         
> 
> simprazExample(overwrite=TRUE) # write files
Warning in file(file, ifelse(append, "a", "w")) :
  cannot open file 'xptab1': Invalid argument
Error in file(file, ifelse(append, "a", "w")) : 
  cannot open the connection
Calls: simprazExample -> writeTab -> cat -> file
Execution halted
installed size is  6.8Mb
  sub-directories of 1Mb or more:
    libs   6.6Mb
installed size is  6.2Mb
  sub-directories of 1Mb or more:
    include   4.0Mb
    libs      2.1Mb
Package vignette with placeholder title 'Vignette Title':
  'vignette.Rmd'
Package vignette with placeholder title 'Vignette Title':
  'xyz-vignette.Rmd'
Malformed Title field: should not end in a period.
big.read.table: no visible global function definition for 'read.table'
big.read.table: no visible global function definition for 'object.size'
sparkline: no visible global function definition for 'is.ts'
sparkline: no visible global function definition for 'time'
sparkline: no visible global function definition for 'boxplot'
Undefined global functions or variables:
  boxplot is.ts object.size read.table time
Consider adding
  importFrom("graphics", "boxplot")
  importFrom("stats", "is.ts", "time")
  importFrom("utils", "object.size", "read.table")
to your NAMESPACE file.
installed size is 21.6Mb
  sub-directories of 1Mb or more:
    libs  19.7Mb
Error(s) in re-building vignettes:
--- re-building 'gammaproteobacteria.Rmd' using rmarkdown
Quitting from lines 24-27 (gammaproteobacteria.Rmd) 
Error: processing vignette 'gammaproteobacteria.Rmd' failed with diagnostics:
package or namespace load failed for 'ggtree':
 object 'get_aes_var' is not exported by 'namespace:rvcheck'
--- failed re-building 'gammaproteobacteria.Rmd'

SUMMARY: processing the following file failed:
  'gammaproteobacteria.Rmd'

Error: Vignette re-building failed.
Execution halted
Package in Depends field not imported from: 'compiler'
  These packages need to be imported from (in the NAMESPACE file)
  for when this namespace is loaded but not attached.
bootstrapswapcurve: no visible global function definition for 'ts'
fitted: no visible global function definition for 'ts'
forwardrates: no visible global function definition for 'ts'
residuals: no visible global function definition for 'ts'
tZC_NS: no visible global function definition for 'cmpfun'
tZC_NS_extra: no visible global function definition for 'cmpfun'
tZC_SV: no visible global function definition for 'cmpfun'
tZC_SV_extra: no visible global function definition for 'cmpfun'
ycextra: no visible global function definition for 'new'
ycinter: no visible global function definition for 'new'
ycplot: no visible global function definition for 'par'
ycplot: no visible global function definition for 'points'
ycplot: no visible global function definition for 'abline'
ycplot: no visible global function definition for 'hist'
ycplot: no visible global function definition for 'lines'
ycplot: no visible global function definition for 'density'
ycplot: no visible global function definition for 'qqnorm'
ycplot: no visible global function definition for 'qqline'
ycsummary: no visible global function definition for 'shapiro.test'
ycsummary: no visible global function definition for 'pf'
Undefined global functions or variables:
  abline cmpfun density hist lines new par pf points qqline qqnorm
  shapiro.test ts
Consider adding
  importFrom("graphics", "abline", "hist", "lines", "par", "points")
  importFrom("methods", "new")
  importFrom("stats", "density", "pf", "qqline", "qqnorm",
             "shapiro.test", "ts")
to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
contains 'methods').
.NS.estimator: no visible global function definition for 'lm'
.NS.estimator: no visible global function definition for 'coef'
.NS.estimator: no visible global function definition for 'na.omit'
.NS.estimator: no visible global function definition for 'resid'
.NSS.estimator: no visible global function definition for 'lm'
.NSS.estimator: no visible global function definition for 'coef'
.NSS.estimator: no visible global function definition for 'na.omit'
.NSS.estimator: no visible global function definition for 'resid'
NSrates: no visible global function definition for 'time'
Nelson.Siegel: no visible global function definition for 'optimize'
Srates: no visible global function definition for 'time'
Svensson: no visible global function definition for 'median'
Svensson: no visible global function definition for 'optimize'
Undefined global functions or variables:
  coef lm median na.omit optimize resid time
Consider adding
  importFrom("stats", "coef", "lm", "median", "na.omit", "optimize",
             "resid", "time")
to your NAMESPACE file.
kmeansN: no visible global function definition for 'kmeans'
kmeansN: no visible global function definition for 'aggregate'
kmeansN2: no visible global function definition for 'aggregate'
kmeansN2: no visible binding for global variable 'sd'
Undefined global functions or variables:
  aggregate kmeans sd
Consider adding
  importFrom("stats", "aggregate", "kmeans", "sd")
to your NAMESPACE file.
installed size is  5.5Mb
  sub-directories of 1Mb or more:
    libs   5.2Mb
GNU make is a SystemRequirements.
Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.0/YPPE.Rcheck/00install.out' for details.
Running examples in 'YRmisc-Ex.R' failed
The error most likely occurred in:

> ### Name: xd.fred
> ### Title: Download data from Federal Reserve Bank of St. Louis
> ### Aliases: xd.fred
> 
> ### ** Examples
> 
>  cpi <- xd.fred("CPIAUCSL") # CPI data
Warning in file(file, "rt") :
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
Error in file(file, "rt") : cannot open the connection
Calls: xd.fred -> read.csv -> read.table -> file
Execution halted
installed size is  5.2Mb
  sub-directories of 1Mb or more:
    R      1.8Mb
    libs   2.5Mb
Malformed Description field: should contain one or more complete sentences.
Package vignette with placeholder title 'Vignette Title':
  'ZipRadius.Rmd'
Package suggested but not available for checking: 'zdat'
Malformed Description field: should contain one or more complete sentences.
Running examples in 'zoon-Ex.R' failed
The error most likely occurred in:

> ### Name: ModuleArguments
> ### Title: ModuleArguments
> ### Aliases: ModuleArguments
> 
> ### ** Examples
> 
> ModuleArguments('Background')
Error in ModuleArguments("Background") : 
  URL for module does not exist: https://raw.githubusercontent.com/zoonproject/modules/master/R/Background.R
Execution halted