Closed nandania-sportsbet closed 3 years ago
Actually trying to resolve Error: Column Jumper.No.
can't be converted from numeric to character in prod
so while fixing wanted to install package again so got above error
Actually still using "get_afltables_stats" api
I assume this has worked in the past for you? I suspect that is an error with devtools
rather than anything to do with fitzRoy
. I certainly can't replicate on my machine or test cases.
I would suggest re-installing devtools
and trying again. It is actually the package remotes
that handles this, so you might want to also re-install that (although, re-installing devtools
should handle that). And if that doesn't fix it, perhaps logging an issue over there if it isn't working https://github.com/r-lib/remotes
@jimmyday12 Thanks for replying so quick Actually i even tried with install.packages("fitzRoy") and then it complains about following Error in library("fitzRoy") : there is no package called ‘fitzRoy’
That sounds like an error with your machine and maybe R library. Can you install/load other packages from either github or CRAN?
FROM rocker/r-ver:3.6.0 RUN apt-get update \ && apt-get install -y cron libxml2-dev zlib1g-dev libcurl4-gnutls-dev libssl-dev awscli \ && R -e 'install.packages("rsconnect")' \ && R -e 'install.packages("devtools")' \ && R -e 'install.packages("fitzRoy")' \ && R -e 'install.packages(c("data.table"))' \ && R -e 'install.packages("base64enc")' \ && R -e 'install.packages("https://cran.r-project.org/src/contrib/Archive/rlang/rlang_0.3.1.tar.gz", repos=NULL, type="source", INSTALL_opts = c("--no-lock"))' \ && R -e 'install.packages("https://cran.r-project.org/src/contrib/Archive/tibble/tibble_2.0.1.tar.gz", repos=NULL, type="source", INSTALL_opts = c("--no-lock"))' \ && R -e 'install.packages("https://cran.r-project.org/src/contrib/Archive/dplyr/dplyr_0.8.0.1.tar.gz", type="source", INSTALL_opts = c("--no-lock"))'
I am trying above in docker file and when i run R script in container get following error : Error in library("fitzRoy") : there is no package called ‘fitzRoy’
I am new to R your help is appreciated. Thanks
I don't really know anything about docker but it looks like you need to install fitzRoy in that docker file? Adding the following line maybe?
&& R -e 'install.packages("fitzRoy")'
Again - I don't know much about docker so have no idea if this is actually what you need