Skip to content
Prev 8716 / 12125 Next

[R-pkg-devel] no visible binding for global variable ‘degree_C’ - CRAN check note

You can declare degree_C as a variable before using set_units():

degree_C <- NULL
set_units(T, degree_C)

you could use globalVariables() somewhere at the top-level in your package:

utils::globalVariables("degree_C")

or you could supply degree_C as a literal character string:

set_units(T, "degree_C")

On Sat, Dec 10, 2022 at 11:13 PM EcoC2S - Irucka Embry
<iembry at ecoccs.com> wrote: