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, "degr
In my iemisc package, I am using the units package.
This is an example of how I am using the set_units function:
T <- 20
set_units(T, degree_C)
Upon checking iemisc with devtools for CRAN submission, I receive the
following note under "checking R code for possible problems":
no visible bind
Thanks for the effort. Yep that is what I see when I run in my virtual
machine. I will play with it some more, and hopefully someone from CRAN will
see this and chime in. I am more than willing to try to fix this, I just can
not reproduce the error.
-Roy
> On Dec 10, 2022, at 2:53 PM, Dirk
On 10 December 2022 at 14:27, Roy Mendelssohn - NOAA Federal wrote:
| Perfect. Thanks. That is what I am seeing and that is what is expected. I
have even gotten into a debugger, and looked at to where the file was
downloaded, right after the download, and it is in a proper temporary space
On Sat, 10 Dec 2022 14:00:22 -0800
Roy Mendelssohn - NOAA Federal via R-package-devel
wrote:
> cache_setup(temp_dir = TRUE)
Unfortunately, it prints a path under tempdir() for me on my Debian
oldstable machine.
I see that the error came from the "donttest" check from an extra test
that's not on
Perfect. Thanks. That is what I am seeing and that is what is expected. I
have even gotten into a debugger, and looked at to where the file was
downloaded, right after the download, and it is in a proper temporary space.
Dirk if you really want to be a glutton for punishment, could you tr
On 10 December 2022 at 14:00, Roy Mendelssohn - NOAA Federal via
R-package-devel wrote:
| CRAN has sent me a notice about the following:
|
| https://www.stats.ox.ac.uk/pub/bdr/donttest/rerddapXtracto.out
|
| I can not reproduce it. I test on my Mac, the cache space is properly
handled (by
CRAN has sent me a notice about the following:
https://www.stats.ox.ac.uk/pub/bdr/donttest/rerddapXtracto.out
I can not reproduce it. I test on my Mac, the cache space is properly handled
(by a package outside mine). Same with Debian on r-hub. I installed Fedora
on a virtual machine, no pr
On Fri, 9 Dec 2022 17:29:21 +
Stephen Coleman wrote:
> ``outlierComponentFactory.h:37:15: error: ‘unique_ptr’ in namespace
> ‘std’ does not name a template type``.
Does it help to explicitly #include in
outlierComponentFactory.h in order to provide the definition of the
template class uniqu
Hi all,
I am trying to get my R package to pass CRAN checks for Debian. According
to ``rhub::check_on_debian()`` my error is:
``outlierComponentFactory.h:37:15: error: ‘unique_ptr’ in namespace ‘std’
does not name a template type``.
I have included ``CXX_STD = CXX17`` in my Makevars file and my
10 matches
Mail list logo