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:~/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
<[email protected]> 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 <[email protected]>’
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. Current value is:
c(person("Françoise", "Bahoken", email =
"[email protected]", role = c("cre","aut")),
person("Sylvain", "Blondeau", email =
"[email protected]", 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 [email protected]
<[email protected]> 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<[email protected]>
>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, [email protected] 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]]
> >
> > ______________________________________________
> > [email protected] mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-package-devel
> >
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel