I follow up your recommendation and for the moment I didn't used
"conflicted".
So, I've made the nex R CMD check and I have the problem
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck =
vI[[i]]) :
there is no package called ‘dplyr’
How I can solve this issue?
Thanks in advance
Le jeudi 4 avril 2019 à 08:22:26 UTC+2, Sebastian Meyer
<seb.me...@fau.de> a écrit :
Note that output concerning masked objects are just messages which do
not cause your vignette to fail. So it is not stricly necessary to start
working on these conflicts now.
However, looking closely at the win-builder check results
(https://win-builder.r-project.org/incoming_pretest/cartograflow_0.0.0.9000_20190324_230822/Windows/00check.log),
I see the following output below these messages
Warning in eval(expr, envir, enclos) : NAs introduced by coercion
Quitting from lines 529-573 (cartograflow.Rmd)
Error: processing vignette 'cartograflow.Rmd' failed with diagnostics:
argument is of length zero
So the problem actually is in lines 529-573 of the cartograflow.Rmd
vignette (at least in the version submitted to win-builder a few weeks ago).
Running tools::buildVignette("cartograflow.Rmd") locally, I see
Error in if (horiz) { : argument is of length zero
and the subsequent traceback() shows that the error originates from
layoutLayer(title = "Professional mobility in Greater Paris",
coltitle = "black", author = "Cartograflow, 2019", sources =
"Sources : data : INSEE, RP, MOBPRO, 2017 ; basemap : IGN, APUR, UMS
2414 RIATE, 2018.",
scale = 0.2, tabtitle = TRUE, frame = TRUE, north(pos =
"topright"),
col = "grey")
So it seems to me that the unnamed argument 'north(pos = "topright")' is
wrongly matched to the "horiz" argument of layoutLayer().
Cheers,
Sebastian
Am 04.04.19 um 07:20 schrieb cartograf...@gmail.com
<mailto:cartograf...@gmail.com>:
Hi,I don't know if my explanations are clear.I tried several way to
solve this problem w/o success. Someone have an idea ?Thanks in advance
On 2019-04-03 2:11 p.m., cartograf...@gmail.com
<mailto:cartograf...@gmail.com> wrote:
Hi,
I come back to you because I have always the problem with
devtools::check of my package.
I used the command to check my package with R-devel :
sylvain@sylvain <mailto:sylvain@sylvain>:~/svn$ bash R-devel.sh CMD
check --as-cran
/home/sylvain/work/12_R_studio/package/cartograflow_0.0.0.1.tar.gz
When I start the rmd file there is a warning due to package dplyr :
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
The solve this issue I added in rmd file, description file and the
namespace the package conflicted.
So, the package conflicted avoid to have this warning.
But when I run R-devel CMD check I have a new issue that is Error in
loadNamespace...no package called ‘conflicted’ (see below)
Can you help me to solve this issue if tit's possible?
Thanks in advance to your help !
Sylvain
-----------------
Below extract of 00check.log
* checking whether package ‘cartograflow’ can be installed ... ERROR
Installation failed.
See ‘/home/sylvain/svn/cartograflow.Rcheck/00install.out’ for details.
* DONE
Status: 1 ERROR, 1 NOTE
Below 00install.out
* installing *source* package ‘cartograflow’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck =
vI[[i]]) :
there is no package called ‘conflicted’
Calls: <Anonymous> ... loadNamespace -> withRestarts ->
withOneRestart -> doWithOneRestart
Exécution arrêtée
ERROR: lazy loading failed for package ‘cartograflow’
* removing ‘/home/sylvain/svn/cartograflow.Rcheck/cartograflow’
Le mardi 26 mars 2019 à 22:42:21 UTC+1, Henrik Bengtsson
<henrik.bengts...@gmail.com <mailto:henrik.bengts...@gmail.com>> a écrit :
FWIW, you should be able to reproduce at least the following NOTEs
with your current R 3.5.2 and R CMD check --as-cran:
* checking CRAN incoming feasibility ... NOTE
Maintainer: ‘cartogRaflow <cartograf...@gmail.com
<mailto:cartograf...@gmail.com>>’
New submission
Version contains large components (0.0.0.9000)
Possibly mis-spelled words in DESCRIPTION:
flowmapping (7:41)
Author field should be Authors@R. <mailto:Authors@R.> Current value is:
c(person("Françoise", "Bahoken", email =
"francoise.baho...@ifsttar.fr <mailto:francoise.baho...@ifsttar.fr>",
role = c("cre","aut")),
person("Sylvain", "Blondeau", email =
"blondeau.sylv...@yahoo.fr <mailto:blondeau.sylv...@yahoo.fr>", role
= c("aut"))
The Title field should be in title case. Current version is:
‘thematic cartography of flows and movements’
In title case that is:
‘Thematic Cartography of Flows and Movements’
Those are all classical mistakes ("we've all been there"). The
vignette errors may or may not be specific to R devel.
/Henrik
On Tue, Mar 26, 2019 at 2:29 PM cartograf...@gmail.com
<mailto:cartograf...@gmail.com>
<cartograf...@gmail.com <mailto:cartograf...@gmail.com>> wrote:
Hi, l've made R CMD check --as-cran on rstudio 3.5.2Why I have to
use r-devel?
I confirm that I didn't received à error message when I've made
dev_tool::check.
How can I solve my problem ?
Thanks in advance Sylvain
nvoyé depuis Yahoo Mail pour Android
Le lun., mars 25, 2019 à 23:38, Uwe
Ligges<lig...@statistik.tu-dortmund.de
<mailto:lig...@statistik.tu-dortmund.de>> a écrit : I cannot beloeve
it. But this is certainly not R-devel?
Not sure about devtools which we do not use on CRAN, but simply
R CMD check --as-cran
with a recent R-devel version on the package tarball should reproduce
the findings.
Best,
Uwe Ligges
On 25.03.2019 23:12, cartograf...@gmail.com
<mailto:cartograf...@gmail.com> wrote:
Hello,
I've submitted my package cartograflow and I received an email from
your teeam that it does not pass the incoming checks
automatically.Debian:
<https://win-builder.r-project.org/incoming_pretest/cartograflow_0.0.0.9000_20190324_230822/Debian/00check.log>
Status: 1 ERROR, 2 WARNINGs, 1 NOTE
So, I've made the new check on my plateform (linux ubuntu) and the
check is OK.I used : ==> devtools::check(args =
c('--no-manual','--as-cran'))Status is :
── R CMD check results ──────────────────────────── cartograflow
0.0.0.9000 ────
Duration: 54.6s
0 errors ✔ | 0 warnings ✔ | 0 notes ✔
R CMD check succeeded
Can you help me to fix the problem?
Thanks in advance to your replySylvain
[[alternative HTML version deleted]]
______________________________________________
R-package-devel@r-project.org
<mailto:R-package-devel@r-project.org> mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
[[alternative HTML version deleted]]
______________________________________________
R-package-devel@r-project.org <mailto:R-package-devel@r-project.org>
mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
[[alternative HTML version deleted]]
______________________________________________
R-package-devel@r-project.org <mailto:R-package-devel@r-project.org>
mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
______________________________________________
R-package-devel@r-project.org <mailto:R-package-devel@r-project.org>
mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
[[alternative HTML version deleted]]
______________________________________________
R-package-devel@r-project.org <mailto:R-package-devel@r-project.org>
mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel