############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data DeepPINCS ### ############################################################################## ############################################################################## * checking for file ‘DeepPINCS/DESCRIPTION’ ... OK * preparing ‘DeepPINCS’: * checking DESCRIPTION meta-information ... OK * installing the package to build vignettes * creating vignettes ... ERROR --- re-building ‘DeepPINCS.Rmd’ using rmarkdown /Users/biocbuild/Library/Python/3.9/lib/python/site-packages/urllib3/__init__.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020 warnings.warn( Quitting from DeepPINCS.Rmd:81-108 [unnamed-chunk-3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `py_call_impl()`: ! ValueError: For a `build()` method with more than one argument, all arguments should have a `_shape` suffix and match an argument from `call()`. E.g. `build(self, foo_shape, bar_shape)` For layer 'MultiLinear', Received `build()` argument `self`, which does not end in `_shape`. Run `reticulate::py_last_error()` for details. --- Backtrace: ▆ 1. ├─DeepPINCS::fit_cpi(...) 2. │ ├─base::do.call(net_args$compound, net_args$compound_args) 3. │ └─DeepPINCS::gcn_in_out(...) 4. │ └─x %>% layer_multi_linear(units = temp_units) %>% ... 5. ├─keras::layer_activation(., activation = gcn_activation[i]) 6. │ └─keras::create_layer(...) 7. └─keras (local) layer_multi_linear(., units = temp_units) 8. └─keras::create_layer(Layer, object, args) 9. ├─keras:::compose_layer(object, layer) 10. └─keras:::compose_layer.default(object, layer) 11. └─reticulate (local) layer(object, ...) 12. └─reticulate:::py_call_impl(callable, call_args$unnamed, call_args$named) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'DeepPINCS.Rmd' failed with diagnostics: ValueError: For a `build()` method with more than one argument, all arguments should have a `_shape` suffix and match an argument from `call()`. E.g. `build(self, foo_shape, bar_shape)` For layer 'MultiLinear', Received `build()` argument `self`, which does not end in `_shape`. Run `reticulate::py_last_error()` for details. --- failed re-building ‘DeepPINCS.Rmd’ SUMMARY: processing the following file failed: ‘DeepPINCS.Rmd’ Error: Vignette re-building failed. Execution halted