Comments (3)
Hi,
Did you check the content of the shiny log when your app failed with the new version of rclipboard? If so, can you please share it? There is not much I can and will do without the actual error.
The package passed all build checks on linux, windows, and Mac (the arm check is still pending), so it seems like the issue is specific to your workflow.
from rclipboard.
I can't say I have used Docker to build Shiny apps in the past but looking at the link you sent, I could not help but notice that your CRAN environment variable seems to target a time stamp of package manager that predates the release of rclipboard 1.0.4...
ENV CRAN=https://packagemanager.rstudio.com/cran/__linux__/focal/2021-10-29
Could you try to update this path and recompile with the new version of rclipboard?
from rclipboard.
Hi thank you for answering. I'have recreated the example app on readme with docker to investigate the issue. And there were no errors. You are right the issue is likely specific to my workflow. I will close this issue now. I am sorry for creating a false alarm
App.R
library(rclipboard)
library(shiny)
# The UI
ui <- bootstrapPage(
rclipboardSetup(),
# Add a text input
textInput("copytext", "Copy this:", "Zlika!"),
# UI ouputs for the copy-to-clipboard buttons
uiOutput("clip"),
# A text input for testing the clipboard content.
textInput("paste", "Paste here:")
)
# The server
server <- function(input, output) {
# Add clipboard buttons
output$clip <- renderUI({
rclipButton(
inputId = "clipbtn",
label = "rclipButton Copy",
clipText = input$copytext,
icon = icon("clipboard")
)
})
}
shinyApp(ui = ui, server = server)
Dockerfile
# Base image https://hub.docker.com/u/rocker/
FROM rocker/shiny:4.1.1
COPY app.R ./app.R
COPY renv.lock ./renv.lock
RUN Rscript -e 'install.packages("renv")'
RUN Rscript -e 'renv::consent(provided = TRUE)'
RUN Rscript -e 'renv::restore()'
# expose port
EXPOSE 3838
# run app on container start
CMD ["R","-e", "shiny::runApp('app.R', host = '0.0.0.0', port = 3838)"]
from rclipboard.
Related Issues (16)
- port documentation to roxygen HOT 4
- README example clipr::write_clip issue
- width input of rclipButton doesn't seem to be passed through HOT 1
- Using RClipboard / Framework without button HOT 1
- Help file example app throws error HOT 1
- modal doesn't seem to work HOT 4
- clipr package dependency missing in README HOT 2
- Test for rclipboardSetup() HOT 1
- latest rclipboard (version 0.2.0) installation from CRAN failed HOT 1
- Problem calling rclipButton inside a modal HOT 10
- rclipboard is not working in Chrome 61+
- rclipbutton inside DT datatable HOT 2
- Encoding HOT 2
- Can you provide a function? You can paste list, similar to renderprint() HOT 3
- README example clipr issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rclipboard.