[R] Problem installing/updating nloptr...

Brian Lunergan
Thu, 19 May 2022 23:50:56 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Evening folks:

Running R 4.2.0 on Linux Mint 19.3. When I tried to update package
nloptr the operation failed with this error text seeming to be key to
the problem.

CMake Error: The source directory
"/tmp/RtmpCNCU3l/R.INSTALL21c510095118/nloptr/src/CMAKE_RANLIB=/usr/bin
/ranlib" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Unknown argument -j
Unknown argument 2
Usage: cmake --build [options] [-- [native-options]]
Options:
= Project binary directory to be built.
  --target <tgt> = Build <tgt> instead of default targets.
                   May only be specified once.
  --config <cfg> = For multi-configuration tools, choose <cfg>.
  --clean-first  = Build target 'clean' first, then build.
                   (To clean only, use --target 'clean'.)
  --use-stderr   = Ignored.  Behavior is default in CMake >= 3.0.
  --             = Pass remaining options to the native tool.
CMake Error: The source directory
"/tmp/RtmpCNCU3l/R.INSTALL21c510095118/nloptr/src/nlopt" does not
exist.
Specify --help for usage, or press the help button on the CMake GUI.
cp: cannot stat 'nlopt/include/*': No such file or directory

Uninstalled the package and tried reinstalling. Same stumble so I now
no longer have it at all, and it's needed to load Rcmdr.

Any help sorting this out would be appreciated. Please... :-(
- --
Brian Lunergan
Russell, Ontario
Canada

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEQnNPvUcw8TGKI+uNUQG1sc4S+04FAmKG1+AACgkQUQG1sc4S
+06RxQgAo4Hq7rB99Gpvhv9RvzgvhoxVUXsFYuEmFMzysCIwFzfBVS+ZVgydSoRW
FfAxZYLruYOU2+i+9PGD/J3cW9sMaXw7NJQRUhYINTc1Q4vrSQZBmvRxwil8tPBq
z+KB5yxuEVMsyfhSRFjWdRGaBEnxVeRBlPnvWHRYgUYKFqrsosvwY1hdnlIwRMh9
/J9qfsi98mbSZB2HZd1OaCACxP+fAM0+jQuMJhTSNvvt4l3O583J6ewbvJE53YFT
2+gU9JJI7yn6rIamX2iHGKaueF9N+HPHMMnLfuO6lsmeE6OfzqyiFzy13Rr3H6yF
ptDrR2NTURpt5LyipIlK7vamJnt6pA==QWJP
-----END PGP SIGNATURE-----