Re: [R-pkg-devel] Package Submission to CRAN

2020-11-14 Thread Uwe Ligges
Write to c...@r-project.org, explain how to install the third party 
software (availability and names of Debian packages etc.) and the CRAN 
team will decide whether the software will be isntalled on (a subset of) 
CRAN machines.


Best,
Uwe Ligges



On 09.11.2020 19:24, Akshit Achara wrote:

Hey everyone,

I have created a package rminizinc
 that depends on a third party
C++ API
which is used in some of the Rcpp files. The third party header files need
to be present for their compilation or the package doesn't install.

I wish to submit the package to CRAN but the CRAN servers will not have
the third party library. Is there any way I can install the package without
having the third party library on my system?

Thanks,
Akshit Achara

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel



__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


[R-pkg-devel] Having shiny as an optional dependency

2020-11-14 Thread Kamil Stachowski
I wrote a package that contains a graphical interface written with packages
"shiny" and "shinyjqui". My package can also be used from the CLI, so I
listed both "shiny" and "shinyjqui" as optional dependencies. I ran R CMD
check --as-cran on my computer in R 3.6.3 and devel, and both passed
without any errors or warnings. However, when I tried uploading the package
to CRAN, I got this error:

Error in loadNamespace(x) : there is no package called ‘shiny’
Error: unable to load R code in package ‘soundcorrs’
Execution halted
ERROR: lazy loading failed for package ‘soundcorrs’

How can I fix this?

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] Having shiny as an optional dependency

2020-11-14 Thread Gábor Csárdi
You probably import functions from shiny. Don't do that, refer to them
with the `::` operator instead.

Gabor

On Sat, Nov 14, 2020 at 6:12 PM Kamil Stachowski
 wrote:
>
> I wrote a package that contains a graphical interface written with packages
> "shiny" and "shinyjqui". My package can also be used from the CLI, so I
> listed both "shiny" and "shinyjqui" as optional dependencies. I ran R CMD
> check --as-cran on my computer in R 3.6.3 and devel, and both passed
> without any errors or warnings. However, when I tried uploading the package
> to CRAN, I got this error:
>
> Error in loadNamespace(x) : there is no package called ‘shiny’
> Error: unable to load R code in package ‘soundcorrs’
> Execution halted
> ERROR: lazy loading failed for package ‘soundcorrs’
>
> How can I fix this?
>
> [[alternative HTML version deleted]]
>
> __
> R-package-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] Having shiny as an optional dependency

2020-11-14 Thread Kamil Stachowski
This is actually what I do. Before you replied, I was told to write to CRAN
and explain, and they will decide whether the packages will be installed on
CRAN machines. Thank you for your help nonetheless.

Best,
Kamil

On Sat, 14 Nov 2020 at 19:39, Gábor Csárdi  wrote:

> You probably import functions from shiny. Don't do that, refer to them
> with the `::` operator instead.
>
> Gabor
>
> On Sat, Nov 14, 2020 at 6:12 PM Kamil Stachowski
>  wrote:
> >
> > I wrote a package that contains a graphical interface written with
> packages
> > "shiny" and "shinyjqui". My package can also be used from the CLI, so I
> > listed both "shiny" and "shinyjqui" as optional dependencies. I ran R CMD
> > check --as-cran on my computer in R 3.6.3 and devel, and both passed
> > without any errors or warnings. However, when I tried uploading the
> package
> > to CRAN, I got this error:
> >
> > Error in loadNamespace(x) : there is no package called ‘shiny’
> > Error: unable to load R code in package ‘soundcorrs’
> > Execution halted
> > ERROR: lazy loading failed for package ‘soundcorrs’
> >
> > How can I fix this?
> >
> > [[alternative HTML version deleted]]
> >
> > __
> > R-package-devel@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-package-devel
>


-- 
Kamil Stachowski, PhD
Chair of General and Indo-European Linguistics
Jagiellonian University, Cracow, Poland
http://info.filg.uj.edu.pl/zhjij/~stachowski.kamil/

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel