https://cran.r-project.org/web/packages/SunsVoc/index.html
CRAN: Package SunsVoc
Suns-Voc (or Isc-Voc) curves can provide the current-voltage (I-V) characteristics of the diode of photovoltaic cells without the effect of series resistance....
cranpackage