This submission basically resolve some user-reported error, and
implement a wide refactoring of the code (converting $
in [[
and implicit integers to explicit ones, and set default stricter
linters provided by {lintr}
), and test suite ({testthat}
3ed).
Next, it improves some documentation (README, and examples), and error
messages.
usethis::use_tidy_github_actions()
(including Ubuntu 16.04, 18.04, and 20.04)devtools::check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
- `devtools::check_rhub(env_vars = c(R_COMPILE_AND_INSTALL_PACKAGES = "always"))
-
local:
- Debian Bulseye (Linux 5.9.0), R 4.0.3
- Windows 10 workstation, R 4.0.3
-
remote:
- MacOS 10.15.6: R 4.0.3 [GitHub Action]
- Ubuntu Linux 20.04 LTS: R 4.0.3, r-devel, GCC [GitHub Action]
- Fedora Linux, R-devel, clang, gfortran [rhub]
- Windows 10.0.17763: R 4.0.3 [GitHub Action]
- Windows Server 2008 R2 SP1: R-devel, 32/64 bit [rhub]
0 errors ✓ | 0 warnings ✓ | 0 notes ✓
Other than other changes and improvements reported in the NEWS.md, this submission resolve the following issue:
mail 2020-09-24 from Kurt Hornik <Kurt.Hornik@R-project.org>
Dear maintainer,
Please see the problems shown on
<https://cran.r-project.org/web/checks/check_results_depigner.html>.
The reported problems were all solved updating an auxiliary function used only for the tests.
- usethis::use_tidy_github_actions() (including Ubuntu 16.04, 18.04, and 20.04)
- devtools::check()
- devtools::check(remote = TRUE, manual = TRUE)
- devtools::check_win_devel()
- rhub::check_for_cran()
-
local:
- Ubuntu 20.04 LTS (Linux 5.4.0-48-generic), R 4.0.2
- Windows 10 workstation, R 4.0.2
-
remote:
- MacOS 10.15.6: R 4.0.2, R-devel
- Ubuntu Linux 16.04 LTS: R 4.0.2, R-oldrel, GCC
- Ubuntu Linux 18.04 LTS, 20.04 LTS: R 4.0.2, GCC
- Fedora Linux, R-devel, clang, gfortran
- Windows 10.0.17763: R 4.0.2
- Windows Server 2008 R2 SP1: R-devel, 32/64 bit
0 errors ✓ | 0 warnings ✓ | 0 notes ✓
-
Changed
installed.packages()
usingfind.package()
to speed up the evaluation. In theREADME
's example,installed.packages()
is still used because that example have to know all the names of the installed packages. -
Changed
\dontrun{}
with\donttest{}
in the examples which can "run" but should not be tested. Telegram's related examples and theuse_ui()
one still use\dontrun{}
because they require special environments (Telegram configuration and package-like project) to be executed without errors.
Note: on
rhub::check_for_cran()
an additional failure happen because of missing{data.table}
(that is imported by{Hmisc}
which islibrary()
ed into some examples). On the other hand{depigner}
never used{data.table}
, hence I did not put it on Suggests neighter (note also that I tried to do so and the error persists anyway claiming that{data.table}
has been required but not available). Anyway, I suppose it is an issue with the rhub environment: I get no error usingdevtools::check_win_devel()
, nor locally (Debian 10 + Win 10), nor on GitHub Actions on win (release), ubuntu (oldrle + release), macOS (release).
This is a resubmission. In this version I have not change anything:
The error:
Found the following (possibly) invalid URLs:
URL: https://elisasovrano.it
From: README.md
Status: Error
Message: libcurl error code 6:
Could not resolve host: elisasovrano.it
It was caused by the fact that https://elisasovrano.it had not yet been activated. It is now, and the link is working properly.
- usethis::use_tidy_github_actions()
- devtools::check()
- devtools::check(remote = TRUE, manual = TRUE)
- devtools::check_win_devel()
- rhub::check_for_cran()
-
local:
- Debian 10 (Linux 4.19.0), R 4.0.1
- Windows 10 pro, R 4.0.1
-
remote:
- MacOS 10.15.5: R 4.0.1, R-devel
- Ubuntu Linux 16.04 LTS: R 4.0.1, R-oldrel, GCC
- Fedora Linux, R-devel, clang, gfortran
- Windows 10.0.17763: R 4.0.1
- Windows Server 2008 R2 SP1: R-devel, 32/64 bit
0 errors ✓ | 0 warnings ✓ | 2 notes x
- Possibly mis-spelled words in DESCRIPTION: Pigna (9:14) Pignas (2:49) pìn'n'a (9:22)
Pigna is the Italian word that gives the name to the package. Pignas would be the English-like plural for Pigna. pìn'n'a is the phonetic writing to know how to correctly pronunciate Pigna (given that it is not an English word).
- This is a new release.
Error for lack of system dependencies on r-hub only for * Ubuntu Linux 16.04 LTS: R 4.0.1, GCC
With the same configuration called from a GitHub Action defined like in https://github.com/r-lib/actions/blob/master/examples/check-full.yaml, it succeded (CorradoLanera#14).