lifewatch / eurobis

Loads data from EurOBIS into R and query on taxon, location and more
https://lifewatch.github.io/eurobis/
MIT License
1 stars 0 forks source link

Error in DESCRIPTION prevents package to be installed #9

Closed salvafern closed 3 years ago

salvafern commented 4 years ago

Hello,

I have recently updated to R version 4 where all packages need to be installed again (See the release notes). When trying to install eurobis, I get the following error:

> devtools::install_github("lifewatch/eurobis")
Downloading GitHub repo lifewatch/eurobis@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

1: All                          
2: CRAN packages only           
3: None                         
4: vctrs (0.3.2 -> 0.3.3) [CRAN]
5: glue  (1.4.1 -> 1.4.2) [CRAN]

Enter one or more numbers, or an empty line to skip updates:
√  checking for file 'C:\Users\salvadorf\AppData\Local\Temp\Rtmp0sTdmL\remotes2f8c3ab4592f\lifewatch-eurobis-4fabb9c/DESCRIPTION' (335ms)
-  preparing 'eurobis':
E  checking DESCRIPTION meta-information ... 
   Malformed Authors@R field:
     <text>:4:0: unexpected end of input
   2:              person("Lennert", "Schepers", email = "lennert.schepers@vliz.be", role = c("ctb", "cre")),
   3:              person("Ruben", "Perez", email = "ruben.perez@vliz.be", role = "ctb"))
     ^

   See section 'The DESCRIPTION file' in the 'Writing R Extensions'
   manual.

Error: Failed to install 'eurobis' from GitHub:
  System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr (last 10 lines):
E> * checking DESCRIPTION meta-information ... ERROR
E> Malformed Authors@R field:
E>   <text>:4:0: unexpected end of input
E> 2:              person("Lennert", "Schepers", email = "lennert.schepers@vliz.be", role = c("ctb", "cre")),
E> 3:              person("Ruben", "Perez", email = "ruben.perez@vliz.be", role = "ctb"))
E>   ^
E> 
E> See section 'The DESCRIPTION file' in the 'Writing R Extensions'
E> manual.
E> 

Here the sessionInfo output

> sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18362)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

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

other attached packages:
 [1] magick_2.4.0        rnaturalearth_0.1.0 forcats_0.5.0       stringr_1.4.0       dplyr_1.0.2        
 [6] purrr_0.3.4         readr_1.3.1         tidyr_1.1.1         tibble_3.0.3        ggplot2_3.3.2      
[11] tidyverse_1.3.0     svMisc_1.1.0        RColorBrewer_1.1-2  raster_3.3-13       sp_1.4-2           

loaded via a namespace (and not attached):
 [1] fs_1.5.0                usethis_1.6.1           sf_0.9-5                satellite_1.0.2        
 [5] lubridate_1.7.9         devtools_2.3.1          webshot_0.5.2           httr_1.4.2             
 [9] rprojroot_1.3-2         mapview_2.9.0           tools_4.0.2             backports_1.1.7        
[13] utf8_1.1.4              rgdal_1.5-16            R6_2.4.1                KernSmooth_2.23-17     
[17] rgeos_0.5-3             DBI_1.1.0               colorspace_1.4-1        withr_2.2.0            
[21] prettyunits_1.1.1       tidyselect_1.1.0        rnaturalearthdata_0.1.0 processx_3.4.3         
[25] leaflet_2.0.3           curl_4.3                compiler_4.0.2          leafem_0.1.3           
[29] cli_2.0.2               rvest_0.3.6             xml2_1.3.2              desc_1.2.0             
[33] scales_1.1.1            classInt_0.4-3          callr_3.4.3             digest_0.6.25          
[37] base64enc_0.1-3         pkgconfig_2.0.3         htmltools_0.5.0         sessioninfo_1.1.1      
[41] dbplyr_1.4.4            htmlwidgets_1.5.1       rlang_0.4.7             readxl_1.3.1           
[45] rstudioapi_0.11         farver_2.0.3            generics_0.0.2          jsonlite_1.7.0         
[49] crosstalk_1.1.0.1       magrittr_1.5            Rcpp_1.0.5              munsell_0.5.0          
[53] fansi_0.4.1             lifecycle_0.2.0         stringi_1.4.6           yaml_2.2.1             
[57] pkgbuild_1.1.0          grid_4.0.2              blob_1.2.1              parallel_4.0.2         
[61] crayon_1.3.4            lattice_0.20-41         haven_2.3.1             hms_0.5.3              
[65] ps_1.3.4                pillar_1.4.6            pkgload_1.1.0           codetools_0.2-16       
[69] stats4_4.0.2            reprex_0.3.0            glue_1.4.1              leaflet.providers_1.9.0
[73] remotes_2.2.0           modelr_0.1.8            png_0.1-7               vctrs_0.3.2            
[77] testthat_2.3.2          cellranger_1.1.0        gtable_0.3.0            assertthat_0.2.1       
[81] xfun_0.16               broom_0.7.0             e1071_1.7-3             class_7.3-17           
[85] tinytex_0.25            memoise_1.1.0           units_0.6-7             ellipsis_0.3.1  
LennertSchepers commented 3 years ago

@salvafern could you confirm that this has been fixed?

salvafern commented 3 years ago

@LennertSchepers Yes this was solved: https://github.com/lifewatch/eurobis/commit/3ae735c09b076c42c964a7b8bbccce3129552b60