Closed jpark-ehc closed 1 year ago
Hi @jpark-ehc !
Thanks for posting this issue
We need the norm
package for the mcar_test
function.
One solution could be to move norm
to Suggests and then suggest it is installed when using the software, but I would prefer to avoid that if I could.
Can I ask what operating system you are using, and if you have encountered this with other packages that require Fortran?
I'm using Ubuntu Linux on Pop-Os
R version 4.1.2 (2021-11-01)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Pop!_OS 21.10
My solution to this issue was to run sudo apt-get install r-base-dev
. This installs the correct version of gfortran
so that I could install norm
. Attempts to just install gfortran with sudo apt-get install gfortran-$version
didn't seem to work.
I haven't had any other issues with this before because I don't believe I've had to install or use any packages that required fortran.
Thanks for documenting this, I'm not sure if there's much I can do on my end here with norm
and implementing the functions from that package locally would be out of scope for the time being
Naniar has
norm
as an import and I'm unable to install the source. Now, I can install gfortran, it's not a big deal. I wanted to write up this issue since I couldn't find anything in thenorm
documentation about gfortran or in this package readme. It may be worth considering changingnorm
fromimport
tosuggests
but I'm not sure if that's possible without breaking something. Looking at the norm package, it was last published in 2013.===== Output ====