Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rTorch)
  > 
  > test_check("rTorch")
  ── 1. Error: default (@test-install_rtorch_dryrun.R#7)  ────────────────────────
  Unable to install PyTorch on this platform.Binary installation is only available for 64-bit platforms.
  Backtrace:
   1. rTorch::install_pytorch(dry_run = TRUE)
  
  ── 2. Error: 1.2, Python 3.7 (@test-install_rtorch_dryrun.R#19)  ───────────────
  Unable to install PyTorch on this platform.Binary installation is only available for 64-bit platforms.
  Backtrace:
   1. rTorch::install_pytorch(...)
  
  ── 3. Error: 1.2, Python 3.7, Nightly (@test-install_rtorch_dryrun.R#32)  ──────
  Unable to install PyTorch on this platform.Binary installation is only available for 64-bit platforms.
  Backtrace:
   1. rTorch::install_pytorch(...)
  
  ── 4. Error: 1.6, Python 3.6, pandas (@test-install_rtorch_dryrun.R#47)  ───────
  Unable to install PyTorch on this platform.Binary installation is only available for 64-bit platforms.
  Backtrace:
   1. rTorch::install_pytorch(...)
  
  ── 5. Error: 1.3, Python 3.6, pandas+matplotlib, gpu=9.2 (@test-install_rtorch_d
  Unable to install PyTorch on this platform.Binary installation is only available for 64-bit platforms.
  Backtrace:
   1. rTorch::install_pytorch(...)
  
  ── 6. Error: Python and R share variables (@test_r_torch_share_objects.R#45)  ──
  ImportNo module named 'numpy'
  
  Detailed traceback: 
    File "<string>", line 2, in <module>
  Backtrace:
   1. reticulate::py_run_string("\nimport numpy as np\nx = 10\ny = 20\n# we don't want to print\n# print(x)\n# print(y)\n")
   2. reticulate:::py_run_string_impl(code, local, convert)
  
  ── 7. Error: Multi-dimensional arrays are handled correctly (@test_types.R#43)  
  Python module numpy was not found.
  
  Detected Python configuration:
  
  python:         /opt/csw/bin/python3
  libpython:      /opt/csw/lib/libpython3.3m.so
  pythonhome:     /opt/csw:/opt/csw
  version:        3.3.6 (default, Mar 18 2016, 23:29:06)  [GCC 5.2.0]
  numpy:           [NOT FOUND]
  torch:          [NOT FOUND]
  
  python versions found: 
   /opt/csw/bin/python3
   /usr/bin/python
  
  Backtrace:
   1. testthat::expect_equal(-a1, np$negative(a1))
   5. reticulate:::`$.python.builtin.module`(np, negative)
   6. reticulate:::py_resolve_module_proxy(x)
  
  ── 8. Error: shape of numpy array return in a list (@test_types.R#52)  ─────────
  Python module numpy was not found.
  
  Detected Python configuration:
  
  python:         /opt/csw/bin/python3
  libpython:      /opt/csw/lib/libpython3.3m.so
  pythonhome:     /opt/csw:/opt/csw
  version:        3.3.6 (default, Mar 18 2016, 23:29:06)  [GCC 5.2.0]
  numpy:           [NOT FOUND]
  torch:          [NOT FOUND]
  
  python versions found: 
   /opt/csw/bin/python3
   /usr/bin/python
  
  Backtrace:
   1. np$array
   2. reticulate:::`$.python.builtin.module`(np, array)
   3. reticulate:::py_resolve_module_proxy(x)
  
  ── 9. Error: indices in numpy array have to be integers (@test_types.R#58)  ────
  Python module numpy was not found.
  
  Detected Python configuration:
  
  python:         /opt/csw/bin/python3
  libpython:      /opt/csw/lib/libpython3.3m.so
  pythonhome:     /opt/csw:/opt/csw
  version:        3.3.6 (default, Mar 18 2016, 23:29:06)  [GCC 5.2.0]
  numpy:           [NOT FOUND]
  torch:          [NOT FOUND]
  
  python versions found: 
   /opt/csw/bin/python3
   /usr/bin/python
  
  Backtrace:
   1. np$zeros
   2. reticulate:::`$.python.builtin.module`(np, zeros)
   3. reticulate:::py_resolve_module_proxy(x)
  
  ── 10. Error: Python string of commands returns a dictionary (@test_types.R#71) 
  ImportNo module named 'numpy'
  
  Detailed traceback: 
    File "<string>", line 2, in <module>
  Backtrace:
   1. reticulate::py_run_string("\nimport numpy as np\na = np.zeros((100, 100, 3))\na[:,:,0] = 255\n")
   2. reticulate:::py_run_string_impl(code, local, convert)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 48 | SKIPPED: 38 | WARNINGS: 0 | FAILED: 10 ]
  1.  Error: default (@test-install_rtorch_dryrun.R#7) 
  2.  Error: 1.2, Python 3.7 (@test-install_rtorch_dryrun.R#19) 
  3.  Error: 1.2, Python 3.7, Nightly (@test-install_rtorch_dryrun.R#32) 
  4.  Error: 1.6, Python 3.6, pandas (@test-install_rtorch_dryrun.R#47) 
  5.  Error: 1.3, Python 3.6, pandas+matplotlib, gpu=9.2 (@test-install_rtorch_dryrun.R#63) 
  6.  Error: Python and R share variables (@test_r_torch_share_objects.R#45) 
  7.  Error: Multi-dimensional arrays are handled correctly (@test_types.R#43) 
  8.  Error: shape of numpy array return in a list (@test_types.R#52) 
  9.  Error: indices in numpy array have to be integers (@test_types.R#58) 
  10. Error: Python string of commands returns a dictionary (@test_types.R#71) 
  
  Error: testthat unit tests failed
  Execution halted