Giter Club home page Giter Club logo

Comments (8)

marciz avatar marciz commented on July 28, 2024

I think the issue is blank in the date field

as.Date("")
Error in charToDate(x) :
character string is not in a standard unambiguous format

from excelr.

GoodMorgon avatar GoodMorgon commented on July 28, 2024

That is probably another issue. You can see from the screenshots that the date input indeed is passed along, but with a timestamp addon.

from excelr.

Swechhya avatar Swechhya commented on July 28, 2024

@GoodMorgon @marciz This issue cannot be replicated even with an empty cell with the example below:

library(shiny)                                                                        
library(excelR)                                                                       

shinyApp(                                                                            
    ui = fluidPage(excelOutput("table")),                                              
    server = function(input, output, session) {                                        
        iris <- iris
        iris$test <- c(rep(as.Date("2019-01-01"),5,),"")
        
        output$table <- renderExcel(excelTable(data = head(iris)))                                        
        observeEvent(input$table,{                                                        
            print(excel_to_R(input$table))                                                  
        })                                                                                
    }                                                                                 
)

Can you please post an example which replicates this issue so that I can merge your PR?

from excelr.

marciz avatar marciz commented on July 28, 2024

@Swechhya , try to delete test row 1. It gets an error

from excelr.

Swechhya avatar Swechhya commented on July 28, 2024

@marciz Using the latest development version and deleting the first row I am not able to replicate the error. Any pointers why?

from excelr.

marciz avatar marciz commented on July 28, 2024

Press delete button on the first cell of test column. Is there still no error?

from excelr.

Swechhya avatar Swechhya commented on July 28, 2024

@marciz Can replicate it. Thank you 😃

from excelr.

Swechhya avatar Swechhya commented on July 28, 2024

@GoodMorgon Closing this issue as this is fixed by PR #60. Thank you @marciz for the fix 🎉

from excelr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.