Skip to content

Installation error #16

@gerlis22

Description

@gerlis22

Hello, I'm running into an error when trying to install the package:

devtools::install_github("https://github.com/TabakM/CameraTrapDetectoR.git")

I get the following:

Downloading GitHub repo TabakM/CameraTrapDetectoR@HEAD
Running R CMD build...

  • checking for file ‘/private/var/folders/xv/cvcp0zgj2y36w7dnft857yg80000gn/T/Rtmp24RclB/remotes1ae46b3d3866/TabakM-CameraTrapDetectoR-5ba4769/DESCRIPTION’ ... OK
  • preparing ‘CameraTrapDetectoR’:
  • checking DESCRIPTION meta-information ... OK
  • checking for LF line-endings in source and make files and shell scripts
  • checking for empty or unneeded directories
  • building ‘CameraTrapDetectoR_0.1.0.tar.gz’
  • installing source package ‘CameraTrapDetectoR’ ...
    ** using staged installation
    ** R
    Error in parse(outFile) :
    /private/var/folders/xv/cvcp0zgj2y36w7dnft857yg80000gn/T/RtmpF4CIz5/R.INSTALL2db2760f4fb6/CameraTrapDetectoR/R/deploy_model.R:507:1: unexpected '}'
    506: }
    507: }
    ^
    ERROR: unable to collate and parse R files for package ‘CameraTrapDetectoR’
  • removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/CameraTrapDetectoR’
    Warning message:
    In i.p(...) :
    installation of package ‘/var/folders/xv/cvcp0zgj2y36w7dnft857yg80000gn/T//Rtmp24RclB/file1ae441e78b/CameraTrapDetectoR_0.1.0.tar.gz’ had non-zero exit status`

Session info:

R version 4.2.0 (2022-04-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Monterey 12.4

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

loaded via a namespace (and not attached):
[1] nlme_3.1-157 fs_1.5.2 usethis_2.1.6 lubridate_1.8.0
[5] devtools_2.4.3 rprojroot_2.0.3 tools_4.2.0 utf8_1.2.2
[9] R6_2.5.1 rpart_4.1.16 DBI_1.1.2 colorspace_2.0-3
[13] nnet_7.3-17 withr_2.5.0 tidyselect_1.1.2 gridExtra_2.3
[17] prettyunits_1.1.1 processx_3.7.0 curl_4.3.2 compiler_4.2.0
[21] cli_3.3.0 desc_1.4.1 scales_1.2.0 callr_3.7.0
[25] stringr_1.4.0 digest_0.6.29 rmarkdown_2.14 pkgconfig_2.0.3
[29] htmltools_0.5.2 parallelly_1.31.1 sessioninfo_1.2.2 fastmap_1.1.0
[33] rlang_1.0.3 rstudioapi_0.13 generics_0.1.2 dplyr_1.0.9
[37] ModelMetrics_1.2.2.2 magrittr_2.0.3 Matrix_1.4-1 Rcpp_1.0.9
[41] munsell_0.5.0 fansi_1.0.3 lifecycle_1.0.1 stringi_1.7.6
[45] pROC_1.18.0 yaml_2.3.5 MASS_7.3-56 brio_1.1.3
[49] pkgbuild_1.3.1 plyr_1.8.7 recipes_0.2.0 grid_4.2.0
[53] parallel_4.2.0 listenv_0.8.0 crayon_1.5.1 lattice_0.20-45
[57] splines_4.2.0 knitr_1.39 ps_1.7.1 pillar_1.7.0
[61] future.apply_1.9.0 reshape2_1.4.4 codetools_0.2-18 stats4_4.2.0
[65] pkgload_1.2.4 glue_1.6.2 evaluate_0.15 data.table_1.14.2
[69] remotes_2.4.2 vctrs_0.4.1 foreach_1.5.2 testthat_3.1.4
[73] gtable_0.3.0 purrr_0.3.4 future_1.25.0 assertthat_0.2.1
[77] cachem_1.0.6 ggplot2_3.3.6 xfun_0.31 gower_1.0.0
[81] prodlim_2019.11.13 vip_0.3.2 class_7.3-20 survival_3.3-1
[85] timeDate_3043.102 tibble_3.1.7 iterators_1.0.14 memoise_2.0.1
[89] hardhat_0.2.0 lava_1.6.10 globals_0.15.0 ellipsis_0.3.2
[93] caret_6.0-92 ipred_0.9-12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions