-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
not sure why pak::pkg_install fails to install. Seems that dev tools can do it though after installing cpp11, plogr (see chunk below)
> pak::pkg_install("NewGraphEnvironment/fpr", ask = FALSE)
→ Will update 1 package.
→ The package (0 B) is cached.
+ fpr 1.2.0 → 1.2.0 👷🏾♂️🔧 (GitHub: 295421b)
ℹ No downloads are needed, 1 pkg is cached
ℹ Building fpr 1.2.0
Error:
! error in pak subprocess
Caused by error:
! Could not find tools necessary to compile a package
Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
Type .Last.error to see the more details.
with devtools and pressing enter to "skip updates". Seems like cpp11, plogr install anyway. Knowing which dependencies rely on cpp11, plogr might give clue to what is happening
> devtools::install_github("NewGraphEnvironment/fpr")
Using GitHub PAT from the git credential store.
Downloading GitHub repo NewGraphEnvironment/fpr@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: rlang (1.1.3 -> 1.1.4 ) [CRAN]
5: cli (3.6.2 -> 3.6.3 ) [CRAN]
6: colorspace (2.1-0 -> 2.1-1 ) [CRAN]
7: withr (3.0.0 -> 3.0.1 ) [CRAN]
8: crayon (1.5.2 -> 1.5.3 ) [CRAN]
9: Rcpp (1.0.12 -> 1.0.13 ) [CRAN]
10: wk (0.9.1 -> 0.9.2 ) [CRAN]
11: systemfonts (1.0.6 -> 1.1.0 ) [CRAN]
12: fastmap (1.1.1 -> 1.2.0 ) [CRAN]
13: digest (0.6.35 -> 0.6.37 ) [CRAN]
14: cachem (1.0.8 -> 1.1.0 ) [CRAN]
15: yaml (2.3.8 -> 2.3.10 ) [CRAN]
16: xfun (0.44 -> 0.47 ) [CRAN]
17: tinytex (0.51 -> 0.52 ) [CRAN]
18: evaluate (0.23 -> 0.24.0 ) [CRAN]
19: bslib (0.7.0 -> 0.8.0 ) [CRAN]
20: s2 (1.1.6 -> 1.1.7 ) [CRAN]
21: terra (1.7-71 -> 1.7-78 ) [CRAN]
22: curl (5.2.1 -> 5.2.2 ) [CRAN]
23: chk (ea59f9cd1... -> 10f8dbd45...) [GitHub]
Enter one or more numbers, or an empty line to skip updates:
Installing 2 packages: cpp11, plogr
trying URL 'https://cran.rstudio.com/bin/macosx/big-sur-arm64/contrib/4.4/cpp11_0.5.0.tgz'
Content type 'application/x-gzip' length 271250 bytes (264 KB)
==================================================
downloaded 264 KB
trying URL 'https://cran.rstudio.com/bin/macosx/big-sur-arm64/contrib/4.4/plogr_0.2.0.tgz'
Content type 'application/x-gzip' length 13418 bytes (13 KB)
==================================================
downloaded 13 KB
The downloaded binary packages are in
/var/folders/mg/h910y2c54fsc99qj74dyrjph0000gn/T//RtmpaU2EAP/downloaded_packages
── R CMD build ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ checking for file ‘/private/var/folders/mg/h910y2c54fsc99qj74dyrjph0000gn/T/RtmpaU2EAP/remotese7a55fdcd941/NewGraphEnvironment-fpr-295421b/DESCRIPTION’ ...
─ preparing ‘fpr’:
✔ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘fpr_1.2.0.tar.gz’
* installing *source* package ‘fpr’ ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (fpr)
*
* ```
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels