muschellij2 / gifti

GIFTI package for R
4 stars 4 forks source link

Replace `options()$digits` with `getOption("digits")`. #7

Closed damondpham closed 2 years ago

damondpham commented 2 years ago

I was getting an error on a certain computer where options() yielded an error.

options() Error in options() : Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'NULL'

This is avoided if only the "digits" option is obtained directly with getOption.