harrelfe / Hmisc

Harrell Miscellaneous
Other
208 stars 81 forks source link

install.packages('Hmisc', dependencies = T) does not install the checkmate dependency #185

Closed mkrasmus closed 1 month ago

mkrasmus commented 1 month ago

R version 4.4.1 (2024-06-14 ucrt) -- "Race for Your Life" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64

Installing Hmisc is successful and identified in package library. However, loading Hmisc returns the following:

> library(Hmisc)
Error: package or namespace load failed for ‘Hmisc’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 there is no package called ‘checkmate’

This was not remedied by:

> install.packages("Hmisc", dependencies = T)
Installing package into ‘C:/Users/10456721/AppData/Local/R/win-library/4.4’
(as ‘lib’ is unspecified)
also installing the dependencies ‘minqa’, ‘nloptr’, ‘ucminf’, ‘numDeriv’, ‘zoo’, ‘iterators’, ‘lme4’, ‘ordinal’, ‘MatrixModels’, ‘TH.data’, ‘sandwich’, ‘foreach’, ‘shape’, ‘RcppEigen’, ‘pan’, ‘jomo’, ‘R.oo’, ‘R.methodsS3’, ‘deldir’, ‘V8’, ‘reactR’, ‘RcppParallel’, ‘quantreg’, ‘SparseM’, ‘multcomp’, ‘glmnet’, ‘mitml’, ‘lazyeval’, ‘crosstalk’, ‘mvtnorm’, ‘svglite’, ‘writexl’, ‘R.utils’, ‘jpeg’, ‘interp’, ‘bigD’, ‘bitops’, ‘juicyjuice’, ‘markdown’, ‘reactable’, ‘RApiSerialize’, ‘stringfish’, ‘BH’, ‘assertthat’, ‘filelock’, ‘sodium’, ‘qreport’, ‘acepack’, ‘chron’, ‘rms’, ‘mice’, ‘tables’, ‘plotly’, ‘plyr’, ‘VGAM’, ‘leaps’, ‘pcaPP’, ‘polspline’, ‘abind’, ‘kableExtra’, ‘rio’, ‘latticeExtra’, ‘gt’, ‘sparkline’, ‘qs’, ‘getPass’, ‘keyring’, ‘safer’, ‘htm2txt’

  There is a binary version available but the source version is later:
       binary source needs_compilation
bitops  1.0-7  1.0-8              TRUE

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/minqa_1.2.7.zip'
Content type 'application/zip' length 442196 bytes (431 KB)
downloaded 431 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/nloptr_2.1.1.zip'
Content type 'application/zip' length 893531 bytes (872 KB)
downloaded 872 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/ucminf_1.2.2.zip'
Content type 'application/zip' length 41065 bytes (40 KB)
downloaded 40 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/numDeriv_2016.8-1.1.zip'
Content type 'application/zip' length 117304 bytes (114 KB)
downloaded 114 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/zoo_1.8-12.zip'
Content type 'application/zip' length 1028658 bytes (1004 KB)
downloaded 1004 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/iterators_1.0.14.zip'
Content type 'application/zip' length 353446 bytes (345 KB)
downloaded 345 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/lme4_1.1-35.5.zip'
Content type 'application/zip' length 4557240 bytes (4.3 MB)
downloaded 4.3 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/ordinal_2023.12-4.zip'
Content type 'application/zip' length 1265701 bytes (1.2 MB)
downloaded 1.2 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/MatrixModels_0.5-3.zip'
Content type 'application/zip' length 406212 bytes (396 KB)
downloaded 396 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/TH.data_1.1-2.zip'
Content type 'application/zip' length 8827389 bytes (8.4 MB)
downloaded 8.4 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/sandwich_3.1-0.zip'
Content type 'application/zip' length 1514183 bytes (1.4 MB)
downloaded 1.4 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/foreach_1.5.2.zip'
Content type 'application/zip' length 149598 bytes (146 KB)
downloaded 146 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/shape_1.4.6.1.zip'
Content type 'application/zip' length 753988 bytes (736 KB)
downloaded 736 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/RcppEigen_0.3.4.0.0.zip'
Content type 'application/zip' length 2591778 bytes (2.5 MB)
downloaded 2.5 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/pan_1.9.zip'
Content type 'application/zip' length 951568 bytes (929 KB)
downloaded 929 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/jomo_2.7-6.zip'
Content type 'application/zip' length 2068497 bytes (2.0 MB)
downloaded 2.0 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/R.oo_1.26.0.zip'
Content type 'application/zip' length 994617 bytes (971 KB)
downloaded 971 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/R.methodsS3_1.8.2.zip'
Content type 'application/zip' length 84569 bytes (82 KB)
downloaded 82 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/deldir_2.0-4.zip'
Content type 'application/zip' length 289125 bytes (282 KB)
downloaded 282 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/V8_4.4.2.zip'
Content type 'application/zip' length 8924844 bytes (8.5 MB)
downloaded 8.5 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/reactR_0.6.0.zip'
Content type 'application/zip' length 618262 bytes (603 KB)
downloaded 603 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/RcppParallel_5.1.8.zip'
Content type 'application/zip' length 1295295 bytes (1.2 MB)
downloaded 1.2 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/quantreg_5.98.zip'
Content type 'application/zip' length 1572070 bytes (1.5 MB)
downloaded 1.5 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/SparseM_1.84-2.zip'
Content type 'application/zip' length 888161 bytes (867 KB)
downloaded 867 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/multcomp_1.4-26.zip'
Content type 'application/zip' length 736289 bytes (719 KB)
downloaded 719 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/glmnet_4.1-8.zip'
Content type 'application/zip' length 2446056 bytes (2.3 MB)
downloaded 2.3 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/mitml_0.4-5.zip'
Content type 'application/zip' length 538967 bytes (526 KB)
downloaded 526 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/lazyeval_0.2.2.zip'
Content type 'application/zip' length 163374 bytes (159 KB)
downloaded 159 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/crosstalk_1.2.1.zip'
Content type 'application/zip' length 416322 bytes (406 KB)
downloaded 406 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/mvtnorm_1.2-5.zip'
Content type 'application/zip' length 781020 bytes (762 KB)
downloaded 762 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/svglite_2.1.3.zip'
Content type 'application/zip' length 684909 bytes (668 KB)
downloaded 668 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/writexl_1.5.0.zip'
Content type 'application/zip' length 203874 bytes (199 KB)
downloaded 199 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/R.utils_2.12.3.zip'
Content type 'application/zip' length 1444014 bytes (1.4 MB)
downloaded 1.4 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/jpeg_0.1-10.zip'
Content type 'application/zip' length 157992 bytes (154 KB)
downloaded 154 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/interp_1.1-6.zip'
Content type 'application/zip' length 1928040 bytes (1.8 MB)
downloaded 1.8 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/bigD_0.2.0.zip'
Content type 'application/zip' length 1161570 bytes (1.1 MB)
downloaded 1.1 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/juicyjuice_0.1.0.zip'
Content type 'application/zip' length 1127702 bytes (1.1 MB)
downloaded 1.1 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/markdown_1.13.zip'
Content type 'application/zip' length 149758 bytes (146 KB)
downloaded 146 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/reactable_0.4.4.zip'
Content type 'application/zip' length 1054935 bytes (1.0 MB)
downloaded 1.0 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/RApiSerialize_0.1.3.zip'
Content type 'application/zip' length 22853 bytes (22 KB)
downloaded 22 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/stringfish_0.16.0.zip'
Content type 'application/zip' length 970759 bytes (948 KB)
downloaded 948 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/BH_1.84.0-0.zip'
Content type 'application/zip' length 21468602 bytes (20.5 MB)
downloaded 20.5 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/assertthat_0.2.1.zip'
Content type 'application/zip' length 55883 bytes (54 KB)
downloaded 54 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/filelock_1.0.3.zip'
Content type 'application/zip' length 32226 bytes (31 KB)
downloaded 31 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/sodium_1.3.1.zip'
Content type 'application/zip' length 625978 bytes (611 KB)
downloaded 611 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/qreport_1.0-1.zip'
Content type 'application/zip' length 189371 bytes (184 KB)
downloaded 184 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/acepack_1.4.2.zip'
Content type 'application/zip' length 73023 bytes (71 KB)
downloaded 71 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/chron_2.3-61.zip'
Content type 'application/zip' length 194675 bytes (190 KB)
downloaded 190 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/rms_6.8-1.zip'
Content type 'application/zip' length 2286251 bytes (2.2 MB)
downloaded 2.2 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/mice_3.16.0.zip'
Content type 'application/zip' length 1882032 bytes (1.8 MB)
downloaded 1.8 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/tables_0.9.28.zip'
Content type 'application/zip' length 493270 bytes (481 KB)
downloaded 481 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/plotly_4.10.4.zip'
Content type 'application/zip' length 3233852 bytes (3.1 MB)
downloaded 3.1 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/plyr_1.8.9.zip'
Content type 'application/zip' length 1108513 bytes (1.1 MB)
downloaded 1.1 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/VGAM_1.1-11.zip'
Content type 'application/zip' length 7873170 bytes (7.5 MB)
downloaded 7.5 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/leaps_3.2.zip'
Content type 'application/zip' length 88332 bytes (86 KB)
downloaded 86 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/pcaPP_2.0-4.zip'
Content type 'application/zip' length 415066 bytes (405 KB)
downloaded 405 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/polspline_1.1.25.zip'
Content type 'application/zip' length 604962 bytes (590 KB)
downloaded 590 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/abind_1.4-5.zip'
Content type 'application/zip' length 64252 bytes (62 KB)
downloaded 62 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/kableExtra_1.4.0.zip'
Content type 'application/zip' length 2049694 bytes (2.0 MB)
downloaded 2.0 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/rio_1.2.1.zip'
Content type 'application/zip' length 612382 bytes (598 KB)
downloaded 598 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/latticeExtra_0.6-30.zip'
Content type 'application/zip' length 2184653 bytes (2.1 MB)
downloaded 2.1 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/gt_0.11.0.zip'
Content type 'application/zip' length 6150850 bytes (5.9 MB)
downloaded 5.9 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/sparkline_2.0.zip'
Content type 'application/zip' length 228391 bytes (223 KB)
downloaded 223 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/qs_0.26.3.zip'
Content type 'application/zip' length 1813459 bytes (1.7 MB)
downloaded 1.7 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/getPass_0.2-4.zip'
Content type 'application/zip' length 493021 bytes (481 KB)
downloaded 481 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/keyring_1.3.2.zip'
Content type 'application/zip' length 357839 bytes (349 KB)
downloaded 349 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/safer_0.2.1.zip'
Content type 'application/zip' length 52015 bytes (50 KB)
downloaded 50 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/htm2txt_2.2.2.zip'
Content type 'application/zip' length 56215 bytes (54 KB)
downloaded 54 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/Hmisc_5.1-3.zip'
Content type 'application/zip' length 3607755 bytes (3.4 MB)
downloaded 3.4 MB

package ‘minqa’ successfully unpacked and MD5 sums checked
package ‘nloptr’ successfully unpacked and MD5 sums checked
package ‘ucminf’ successfully unpacked and MD5 sums checked
package ‘numDeriv’ successfully unpacked and MD5 sums checked
package ‘zoo’ successfully unpacked and MD5 sums checked
package ‘iterators’ successfully unpacked and MD5 sums checked
package ‘lme4’ successfully unpacked and MD5 sums checked
package ‘ordinal’ successfully unpacked and MD5 sums checked
package ‘MatrixModels’ successfully unpacked and MD5 sums checked
package ‘TH.data’ successfully unpacked and MD5 sums checked
package ‘sandwich’ successfully unpacked and MD5 sums checked
package ‘foreach’ successfully unpacked and MD5 sums checked
package ‘shape’ successfully unpacked and MD5 sums checked
package ‘RcppEigen’ successfully unpacked and MD5 sums checked
package ‘pan’ successfully unpacked and MD5 sums checked
package ‘jomo’ successfully unpacked and MD5 sums checked
package ‘R.oo’ successfully unpacked and MD5 sums checked
package ‘R.methodsS3’ successfully unpacked and MD5 sums checked
package ‘deldir’ successfully unpacked and MD5 sums checked
package ‘V8’ successfully unpacked and MD5 sums checked
package ‘reactR’ successfully unpacked and MD5 sums checked
package ‘RcppParallel’ successfully unpacked and MD5 sums checked
package ‘quantreg’ successfully unpacked and MD5 sums checked
package ‘SparseM’ successfully unpacked and MD5 sums checked
package ‘multcomp’ successfully unpacked and MD5 sums checked
package ‘glmnet’ successfully unpacked and MD5 sums checked
package ‘mitml’ successfully unpacked and MD5 sums checked
package ‘lazyeval’ successfully unpacked and MD5 sums checked
package ‘crosstalk’ successfully unpacked and MD5 sums checked
package ‘mvtnorm’ successfully unpacked and MD5 sums checked
package ‘svglite’ successfully unpacked and MD5 sums checked
package ‘writexl’ successfully unpacked and MD5 sums checked
package ‘R.utils’ successfully unpacked and MD5 sums checked
package ‘jpeg’ successfully unpacked and MD5 sums checked
package ‘interp’ successfully unpacked and MD5 sums checked
package ‘bigD’ successfully unpacked and MD5 sums checked
package ‘juicyjuice’ successfully unpacked and MD5 sums checked
package ‘markdown’ successfully unpacked and MD5 sums checked
package ‘reactable’ successfully unpacked and MD5 sums checked
package ‘RApiSerialize’ successfully unpacked and MD5 sums checked
package ‘stringfish’ successfully unpacked and MD5 sums checked
package ‘BH’ successfully unpacked and MD5 sums checked
package ‘assertthat’ successfully unpacked and MD5 sums checked
package ‘filelock’ successfully unpacked and MD5 sums checked
package ‘sodium’ successfully unpacked and MD5 sums checked
package ‘qreport’ successfully unpacked and MD5 sums checked
package ‘acepack’ successfully unpacked and MD5 sums checked
package ‘chron’ successfully unpacked and MD5 sums checked
package ‘rms’ successfully unpacked and MD5 sums checked
package ‘mice’ successfully unpacked and MD5 sums checked
package ‘tables’ successfully unpacked and MD5 sums checked
package ‘plotly’ successfully unpacked and MD5 sums checked
package ‘plyr’ successfully unpacked and MD5 sums checked
package ‘VGAM’ successfully unpacked and MD5 sums checked
package ‘leaps’ successfully unpacked and MD5 sums checked
package ‘pcaPP’ successfully unpacked and MD5 sums checked
package ‘polspline’ successfully unpacked and MD5 sums checked
package ‘abind’ successfully unpacked and MD5 sums checked
package ‘kableExtra’ successfully unpacked and MD5 sums checked
package ‘rio’ successfully unpacked and MD5 sums checked
package ‘latticeExtra’ successfully unpacked and MD5 sums checked
package ‘gt’ successfully unpacked and MD5 sums checked
package ‘sparkline’ successfully unpacked and MD5 sums checked
package ‘qs’ successfully unpacked and MD5 sums checked
package ‘getPass’ successfully unpacked and MD5 sums checked
package ‘keyring’ successfully unpacked and MD5 sums checked
package ‘safer’ successfully unpacked and MD5 sums checked
package ‘htm2txt’ successfully unpacked and MD5 sums checked
package ‘Hmisc’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    C:\Users\10456721\AppData\Local\Temp\RtmpgFwqh6\downloaded_packages
installing the source package ‘bitops’

trying URL 'https://cran.rstudio.com/src/contrib/bitops_1.0-8.tar.gz'
Content type 'application/x-gzip' length 10915 bytes (10 KB)
downloaded 10 KB

* installing *source* package 'bitops' ...
** package 'bitops' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 13.2.0'
gcc  -I"C:/PROGRA~1/R/R-44~1.1/include" -DNDEBUG     -I"C:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c bit-ops.c -o bit-ops.o
gcc  -I"C:/PROGRA~1/R/R-44~1.1/include" -DNDEBUG     -I"C:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cksum.c -o cksum.o
gcc  -I"C:/PROGRA~1/R/R-44~1.1/include" -DNDEBUG     -I"C:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c init.c -o init.o
gcc -shared -s -static-libgcc -o bitops.dll tmp.def bit-ops.o cksum.o init.o -LC:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/lib -LC:/PROGRA~1/R/R-44~1.1/bin/x64 -lR
installing to C:/Users/10456721/AppData/Local/R/win-library/4.4/00LOCK-bitops/00new/bitops/libs/x64
** R
** 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 (bitops)

Installing checkmate works, but requires the latest Rtools to compile. Following this Hmisc can now load.

> library(Hmisc)
Error: package or namespace load failed for ‘Hmisc’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 there is no package called ‘checkmate’
> devtools::install_github("mllg/checkmate")
Downloading GitHub repo mllg/checkmate@HEAD
── R CMD build ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔  checking for file 'C:\Users\10456721\AppData\Local\Temp\RtmpgFwqh6\remotes419023ea6b39\mllg-checkmate-63e001f/DESCRIPTION' (424ms)
─  preparing 'checkmate': (2.8s)
✔  checking DESCRIPTION meta-information ...
─  cleaning src
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building 'checkmate_2.3.2.tar.gz'

Installing package into ‘C:/Users/10456721/AppData/Local/R/win-library/4.4’
(as ‘lib’ is unspecified)
* installing *source* package 'checkmate' ...
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 13.2.0'
gcc  -I"C:/PROGRA~1/R/R-44~1.1/include" -DNDEBUG     -I"C:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c all_missing.c -o all_missing.o
gcc  -I"C:/PROGRA~1/R/R-44~1.1/include" -DNDEBUG     -I"C:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c any_infinite.c -o any_infinite.o
gcc  -I"C:/PROGRA~1/R/R-44~1.1/include" -DNDEBUG     -I"C:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c any_missing.c -o any_missing.o
gcc  -I"C:/PROGRA~1/R/R-44~1.1/include" -DNDEBUG     -I"C:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c any_nan.c -o any_nan.o
gcc  -I"C:/PROGRA~1/R/R-44~1.1/include" -DNDEBUG     -I"C:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c checks.c -o checks.o
gcc  -I"C:/PROGRA~1/R/R-44~1.1/include" -DNDEBUG     -I"C:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c find_nchar.c -o find_nchar.o
gcc  -I"C:/PROGRA~1/R/R-44~1.1/include" -DNDEBUG     -I"C:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c guess_type.c -o guess_type.o
gcc  -I"C:/PROGRA~1/R/R-44~1.1/include" -DNDEBUG     -I"C:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c helper.c -o helper.o
gcc  -I"C:/PROGRA~1/R/R-44~1.1/include" -DNDEBUG     -I"C:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c init.c -o init.o
gcc  -I"C:/PROGRA~1/R/R-44~1.1/include" -DNDEBUG     -I"C:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c integerish.c -o integerish.o
gcc  -I"C:/PROGRA~1/R/R-44~1.1/include" -DNDEBUG     -I"C:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c is_sorted.c -o is_sorted.o
gcc  -I"C:/PROGRA~1/R/R-44~1.1/include" -DNDEBUG     -I"C:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c qassert.c -o qassert.o
gcc  -I"C:/PROGRA~1/R/R-44~1.1/include" -DNDEBUG     -I"C:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c which_first.c -o which_first.o
gcc -shared -s -static-libgcc -o checkmate.dll tmp.def all_missing.o any_infinite.o any_missing.o any_nan.o checks.o find_nchar.o guess_type.o helper.o init.o integerish.o is_sorted.o qassert.o which_first.o -LC:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/RBuildTools/4.4/x86_64-w64-mingw32.static.posix/lib -LC:/PROGRA~1/R/R-44~1.1/bin/x64 -lR
installing to C:/Users/10456721/AppData/Local/R/win-library/4.4/00LOCK-checkmate/00new/checkmate/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** 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 (checkmate)
> library(Hmisc)

Attaching package: ‘Hmisc’

The following objects are masked from ‘package:dplyr’:

    src, summarize

The following objects are masked from ‘package:base’:

    format.pval, units

Not an issue without a solution, but still an issue if considering blindsided by the 'checkmate' dependency. Perhaps include checkmate as a dependency in the original install.

SamGG commented 1 month ago

Hi, I agree with the need of checkmate, but I don't understand why you didn't install it from its binary package. Does Hmisc really need the latest source version of checkmate? Best.

mkrasmus commented 1 month ago

I should note that the Rtools 4.3 I had previously installed did not install checkmate. Checkmate required the newest version, Rtools 4.4 to compile - easily the largest application on my laptop @ 2.8gb. So it's quite a dependency if new to Hmisc/checkmate.

SamGG commented 1 month ago

I still don't understand why Rtools is needed. Which command do you use to install checkmate? I didn't switch to R4.4 yet, but here is how I installed checkmate (from RGui). It does not require Rtools, which would complexify the installation of Hmisc and checkmate.

> install.packages("checkmate")
--- Please select a CRAN mirror for use in this session ---
trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.3/checkmate_2.3.2.zip'
Content type 'application/zip' length 725168 bytes (708 KB)
downloaded 708 KB

package ‘checkmate’ successfully unpacked and MD5 sums checked
couthcommander commented 1 month ago

"Hmisc" does not import any functionality from "checkmate" so it's not a direct dependency. It does import "htmlTable", which is how "checkmate" gets pulled into the web of dependencies. For some reason "htmlTable" was not included in your install with dependencies = TRUE. So it must have already been installed (?), and did not include it's own dependencies (root of the problem). CRAN dependencies are a huge mess, and I don't know of a good solution. This is not something we can fix in Hmisc though.

@SamGG is right that you can skip the Rtools requirement for "checkmate" if you install the binary version from CRAN. Any package with low-level code (C/Fortran) that you install directly from GitHub will require Rtools.

rhurlin commented 1 month ago

I should note that the Rtools 4.3 I had previously installed did not install checkmate. Checkmate required the newest version, Rtools 4.4 to compile - easily the largest application on my laptop @ 2.8gb. So it's quite a dependency if new to Hmisc/checkmate.

And one more addition: Strictly speaking, Rtools 4.4 is not needed because of Checkmate, but because R-4.4.1 and R-devel need the current Rtools44 to build packages from the sources, see [1]

[1] https://cran.r-project.org/bin/windows/Rtools/rtools44/rtools.html