Skip to content

Install problem #6

@dg13

Description

@dg13

Hi Ramon,
Thanks for the great package and dataset - I'm getting an error trying to install:

devtools::install_github("massonix/HCATonsilData", build_vignettes = TRUE) Downloading GitHub repo massonix/HCATonsilData@HEAD ✔ checking for file ‘/private/var/folders/yh/ls2hbq6j7039g1b2ldmrkvbh0000gp/T/Rtmp5lxC9o/remotes9c5c5c953635/massonix-HCATonsilData-59187d4/DESCRIPTION’ (411ms) ─ preparing ‘HCATonsilData’: ✔ checking DESCRIPTION meta-information ... ─ installing the package to build vignettes ----------------------------------- ─ installing *source* package ‘HCATonsilData’ ... ** using staged installation ** R Error in parse(outFile) : /private/var/folders/yh/ls2hbq6j7039g1b2ldmrkvbh0000gp/T/RtmpG6nFZf/Rbuild9c7a4c45bdde/HCATonsilData/R/HCATonsilData.R:52:33: unexpected input 51: "pca", "harmony", "umap") 52: filePaths <- sapply(suffixes, \ ^ ERROR: unable to collate and parse R files for package ‘HCATonsilData’ ─ removing ‘/private/var/folders/yh/ls2hbq6j7039g1b2ldmrkvbh0000gp/T/RtmpG6nFZf/Rinst9c7a76b460f0/HCATonsilData’ ----------------------------------- ERROR: package installation failed Error: Failed to install 'HCATonsilData' from GitHub: System command 'R' failed, exit status: 1, stdout + stderr (last 10 lines): E> ** R E> Error in parse(outFile) : E> /private/var/folders/yh/ls2hbq6j7039g1b2ldmrkvbh0000gp/T/RtmpG6nFZf/Rbuild9c7a4c45bdde/HCATonsilData/R/HCATonsilData.R:52:33: unexpected input E> 51: "pca", "harmony", "umap") E> 52: filePaths <- sapply(suffixes, \ E> ^ E> ERROR: unable to collate and parse R files for package ‘HCATonsilData’ E> * removing ‘/private/var/folders/yh/ls2hbq6j7039g1b2ldmrkvbh0000gp/T/RtmpG6nFZf/Rinst9c7a76b460f0/HCATonsilData’ E> ----------------------------------- E> ERROR: package installation failed

Here's my sessionInfo()

`sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-apple-darwin19.6.0 (64-bit)
Running under: macOS Big Sur 10.16

Matrix products: default
BLAS: /usr/local/Cellar/r/4.0.3/lib/R/lib/libRblas.dylib
LAPACK: /usr/local/Cellar/r/4.0.3/lib/R/lib/libRlapack.dylib

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

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

loaded via a namespace (and not attached):
[1] ps_1.5.0 prettyunits_1.1.1 withr_2.5.0 rprojroot_2.0.2
[5] crayon_1.5.1 R6_2.5.1 lifecycle_1.0.1 magrittr_2.0.3
[9] rlang_1.0.3 cachem_1.0.6 cli_3.3.0 curl_4.3.2
[13] remotes_2.4.2 fs_1.5.2 callr_3.7.0 ellipsis_0.3.2
[17] devtools_2.4.3 tools_4.0.3 glue_1.6.2 purrr_0.3.4
[21] pkgload_1.3.0 fastmap_1.1.0 compiler_4.0.3 processx_3.5.2
[25] pkgbuild_1.2.0 sessioninfo_1.2.2 memoise_2.0.1 usethis_2.1.6`

Any ideas?
Thanks
Dan

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