Import a private package #926
Unanswered
RealCoChenchao
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks for developing this great framework!
My shiny app uses a few plot function from one of my private packages. One of the functions
plot_raster
is plot the raster, like below. The shiny app always give me errorError in addLayersControl: could not find function "addLayersControl"
, but I have no problem of running this function out of the framework. I did add the package to DESCRIPTION usingusethis::use_dev_package
with remote and added import roxygen parameter in the module file/script. The private package has correct import ofleaflet
in its DESCRIPTION as well.Created on 2022-10-06 with reprex v2.0.2
Beta Was this translation helpful? Give feedback.
All reactions