Hi folks,
I got the dreaded
Version contains leading zeroes
NOTE from a package check - the version was 0.0.1.000.
until I dug into the code and found the regex "(^|[.-])0[0-9]+" I didn't
realize the restriction was on leading zeroes *within a version
component* - I was interpreting it a
See also
https://ropensci.org/blog/2022/01/21/ropensci-news-digest-january-2022/#to-quote-or-not-to-quote-non-existing-words-in-description
https://stat.ethz.ch/R-manual/R-patched/library/utils/html/aspell-utils.html
On 2023-07-18 3:11 p.m., Duncan Murdoch wrote:
On 18/07/2023 12:37 p.m., Ga
On 18/07/2023 12:37 p.m., Gabriel Constantino Blain wrote:
Dears,
I submitted my R package to CRAN.
However, it didn't pass the CRAN checks because of 2 notes:
Note 1:
Flavor: r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64
Check: CRAN incoming feasibility, Result: NOTE
Maintainer: 'Ga
On Tue, 18 Jul 2023 16:37:46 +
Gabriel Constantino Blain wrote:
> Regarding note 1, not all the words are misspelled,
This is fine, especially if you add a comment to your package
submission.
> Regarding note 2, I don't know what's wrong. Is it related to the
> time to run the examples (>5s
Hello, Gabriel.
CRAN policy is to rarely, if ever, allow long-running examples. It would be
best if you could give an example of the function which requires as little run
time as possible. Perhaps pre-compute some stages?
Avi
Sent from my iPhone
> On Jul 18, 2023, at 9:07 PM, Gabriel Constan
Hi John,
You need to set the R CMD check environment variable
_R_CHECK_FORCE_SUGGESTS_ to FALSE/0. You should be able to do this
with the env_vars
argument in rhub::check(). You can also achieve this with github actions by
customizing your yaml file (example here:
https://github.com/willgearty/dee
Dears,
I submitted my R package to CRAN.
However, it didn't pass the CRAN checks because of 2 notes:
Note 1:
Flavor: r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64
Check: CRAN incoming feasibility, Result: NOTE
Maintainer: 'Gabriel Constantino Blain '
New submission
Possibly misspe
I want to check my package to make sure I'm properly using suggested
packages. I'm trying to catch mistakes where I forgot to do what you're
suggesting.
On Tue, Jul 18, 2023 at 7:58 AM Serguei Sokol
wrote:
> Is it possible that you have complicated the task unnecessarily?
> Normally, you can jus
В Tue, 18 Jul 2023 07:37:40 -0700
John Harrold пишет:
> I was wondering if anyone has a good way to run R CMD
> check with only the imports installed?
According to "R Internals", running R CMD check with the environment
variable _R_CHECK_DEPENDS_ONLY_ set to "TRUE" will populate a temporary
libr
Is it possible that you have complicated the task unnecessarily?
Normally, you can just do
if (requireNamespace("", quietly=TRUE)) {
# do the tests involving
}
Wasn't that enough?
Best,
Serguei.
Le 18/07/2023 à 16:37, John Harrold a écrit :
Howdy Folks,
I recent had a package start failin
Howdy Folks,
I recent had a package start failing because I wasn't checking properly in
my tests to make sure my suggested packages were installed before running
tests. I think this is something new running on CRAN where packages are
tested with only the packages specified as Imports in the DESCRI
11 matches
Mail list logo