nstrayer / datadrivencv

R package for building customizable CVs from spreadsheets
http://nickstrayer.me/datadrivencv/
Other
593 stars 178 forks source link

Fix issue with build for R 3.6.3 #36

Open nstrayer opened 4 years ago

nstrayer commented 4 years ago

This is a result of me being lazy and not updating my laptop's R version.

veroandreo commented 4 years ago

Hi Nick,

Seems I'm hitting this issue right now. When I try to run the example for use_datadriven_cv()

temp_dir <- fs::dir_create(fs::path(tempdir(), "my_cv"))
datadrivencv::use_datadriven_cv(
  full_name = "Nick Strayer",
  data_location = "https://docs.google.com/spreadsheets/d/14MQICF2F8-vf8CKPF1m4lyGKO6_thG-4aSwat1e2TWc",
  pdf_location = "https://github.com/nstrayer/cv/raw/master/strayer_cv.pdf",
  html_location = "nickstrayer.me/cv/",
  source_location = "https://github.com/nstrayer/cv"
)

I get Error: '/home/user/R/x86_64-redhat-linux-gnu-library/3.6/datadrivencv/templates/cv.rmd' does not exist. But the file is there indeed.

R version 3.6.3 (2020-02-29)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: Fedora 32 (Thirty Two)

Matrix products: default
BLAS/LAPACK: /usr/lib64/libopenblas-r0.3.9.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8       
 [4] LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                  LC_ADDRESS=C              
[10] LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] datadrivencv_0.1.0

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.4.6         pillar_1.4.4         compiler_3.6.3      
 [4] gower_0.2.2          plyr_1.8.6           iterators_1.0.12    
 [7] class_7.3-15         tools_3.6.3          rpart_4.1-15        
[10] ipred_0.9-9          lubridate_1.7.9      lifecycle_0.2.0     
[13] tibble_3.0.1         nlme_3.1-144         gtable_0.3.0        
[16] lattice_0.20-41      pkgconfig_2.0.3      rlang_0.4.7         
[19] Matrix_1.2-18        foreach_1.5.0        rstudioapi_0.11     
[22] yaml_2.2.1           prodlim_2019.11.13   stringr_1.4.0       
[25] withr_2.2.0          dplyr_1.0.0          hms_0.5.3           
[28] fs_1.4.2             pROC_1.16.2          generics_0.0.2      
[31] vctrs_0.3.1          recipes_0.1.13       stats4_3.6.3        
[34] grid_3.6.3           caret_6.0-86         nnet_7.3-12         
[37] tidyselect_1.1.0     data.table_1.12.8    glue_1.4.1          
[40] R6_2.4.1             survival_3.1-8       lava_1.6.7          
[43] readr_1.3.1          reshape2_1.4.4       ggplot2_3.3.2       
[46] purrr_0.3.4          magrittr_1.5         ModelMetrics_1.2.2.2
[49] scales_1.1.1         codetools_0.2-16     ellipsis_0.3.1      
[52] MASS_7.3-51.5        splines_3.6.3        timeDate_3043.102   
[55] colorspace_1.4-1     stringi_1.4.6        munsell_0.5.0       
[58] crayon_1.3.4