[R-pkg-devel] Using non-exported functions from another package with :::
Joris Meys
Joris.Meys at ugent.be
Wed Jul 5 21:19:08 CEST 2017
Hi all,
I'm working on a very small package where I redesign the inputs of Shiny to
have the label inline instead of above the actual widget. To avoid having
to rewrite quite big parts of Shiny, I need access to a number of internal
functions. I do this using :::, but R CMD check obviously gives a note,
indicating that this is "a bad idea".
I understand why this is in most cases a bad idea, but I see no other
option apart from literally copying these functions (and the ones they
depend on) all into my package.
Hence my questions:
- is it acceptable to get a package using ::: on CRAN? When I run R CMD
check --as-cran it only gives a note, but just to be sure...
- anybody a better option to be able to use eg shiny:::selectizeIt,
shiny:::selectOptions etc?
Thank you in advance
Joris
--
Joris Meys
Statistical consultant
Ghent University
Faculty of Bioscience Engineering
Department of Mathematical Modelling, Statistics and Bio-Informatics
tel : +32 9 264 59 87
Joris.Meys at Ugent.be
-------------------------------
Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list