# Version$next\_version

### Version$<mark style="color:purple;">next\_version</mark>() → [Version](https://docs.redivis.com/api/client-libraries/redivis-r/reference/version) | NULL

Returns a new version instance for the version immediately following this version. If no subsequent version exists, will return `NULL`.

{% hint style="warning" %}
Note that this is different than calling `dataset$version("next")`, which will always reference the next (unreleased) version on the dataset. This method instead return the version immediately subsequent to the calling version.
{% endhint %}

### **Returns**

[**Version**](https://docs.redivis.com/api/client-libraries/redivis-r/reference/version) **| NULL**
