code: def test_row_contrib(self):
      F = load_df_from_R("pca$ind$contrib")
      P = self.pca.row_contributions_
      np.testing.assert_allclose(F, P * 100)
  
imports: from __future__ import annotations
  import math
  import numpy
  import pandas
  import pytest
  import rpy2.robjects
  import sklearn.utils.estimator_checks
  import sklearn.utils.validation
  from sklearn import decomposition, pipeline, preprocessing
  import prince
  from tests import load_df_from_R
label_desc: Use image node_id 8 for calling the TestPCA obj's underlying member method code with example usage: obj.test_row_contrib() without return types