code: def test_active_ipynb_rspin(no_jupytext_version_number):
      nb = jupytext.reads(ACTIVE_IPYNB_RSPIN[".R"], "R:spin")
      assert len(nb.cells) == 1
      compare(jupytext.writes(nb, "R:spin"), ACTIVE_IPYNB_RSPIN[".R"])
      cell = NotebookNode(ACTIVE_IPYNB_RSPIN[".ipynb"])
      compare_cells(nb.cells, [cell], compare_ids=False)
  
file_path: jupytext/tests/functional/others/test_active_cells.py
imports: import pytest
  from nbformat import NotebookNode
  import jupytext
  from jupytext.compare import compare, compare_cells
label_desc: Use image node_id 5 for calling a global function with example usage: test_active_ipynb_rspin(no_jupytext_version_number) without return types