microsoft / TagAnomaly

Anomaly detection analysis and labeling tool, specifically for multiple time series (one time series per category)
MIT License
320 stars 61 forks source link

Add missing dependency lixml2-dev for R package devtools #14

Closed wildgarden closed 5 years ago

wildgarden commented 5 years ago

The command

R -e "install.packages('devtools', repos='http://cran.rstudio.com')"

results in

------------------------- ANTICONF ERROR ---------------------------                                                                                                                                        
Configuration failed because libxml-2.0 was not found. Try installing:                                                                                                                                      
 * deb: libxml2-dev (Debian, Ubuntu, etc)                                                                                                                                                                   
 * rpm: libxml2-devel (Fedora, CentOS, RHEL)                                                                                                                                                                
 * csw: libxml2_dev (Solaris)             

Solution: The container's Debian 9 does not contain libxml2-dev. After adding it to the dependencies the image builds without errors and the container runs as expected.

omri374 commented 5 years ago

Thanks for the contribution. I will build the docker and test it in the upcoming weeks.