R/zzz.R

# R CMD check does not like the variable used by foreach::foreach()
#
# * checking R code for possible problems ... NOTE
# cycle_npreg_mstep: no visible binding for global variable 'g'
# data_transform_quantile: no visible binding for global variable 'g'
# fit_cyclical_many: no visible binding for global variable 'g'
# Undefined global functions or variables:
#   g
#
# Hack to make the NOTE go away:
# https://stackoverflow.com/questions/9439256/how-can-i-handle-r-cmd-check-no-
# visible-binding-for-global-variable-notes-when
#' @importFrom utils globalVariables
if(getRversion() >= "2.15.1") utils::globalVariables("g")

Try the peco package in your browser

Any scripts or data that you put into this service are public.

peco documentation built on Nov. 8, 2020, 8:16 p.m.