You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run example(run_glm, run.dontrun=TRUE), I get an error:
> example(run_glm, run.dontrun=TRUE)
rn_glm> sim_folder <- system.file('extdata', package = 'GLMr')
rn_glm> run_glm(sim_folder)
/usr/local/lib/R/site-library/GLMr/exec/nixglm: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
[1] 127
rn_glm> out_file <- file.path(sim_folder,'output.nc')
rn_glm> nml_file <- file.path(sim_folder,'glm2.nml')
rn_glm> library(glmtools)
Loading required package: rLakeAnalyzer
This information is preliminary or provisional and is subject to revision. It
is being provided to meet the need for timely best science. The information has
not received final approval by the U.S. Geological Survey (USGS) and is
provided on the condition that neither the USGS nor the U.S. Government shall
be held liable for any damages resulting from the authorized or unauthorized
use of the information. Although this software program has been used by the
USGS, no warranty, expressed or implied, is made by the USGS or the U.S.
Government as to the accuracy and functioning of the program and related
program material nor shall the fact of distribution constitute any such
warranty, and no responsibility is assumed by the USGS in connection therewith
.
Attaching package: ‘glmtools’
The following objects are masked from ‘package:rLakeAnalyzer’:
epi.temperature, hypo.temperature, whole.lake.temperature
rn_glm> fig_path <- tempfile("temperature", fileext = '.png')
rn_glm> plot_temp(file = out_file, fig_path = fig_path)
Error in R_nc4_open: No such file or directorytime
Error in nc_open(file, readunlim = TRUE) :
Error in nc_open trying to open file /usr/local/lib/R/site-library/GLMr/extdata/output.nc
It appears that there are two problems:
run_glm() wants libpng12, but that seems to be a particular version. I've got libpng-dev, libpng-tools, and libpng16-16 installed; libpng12 isn't even an option.
run_glm() is trying to write output to a directory. that's protected on Linux..
I can change where the file gets written, if only the libpng12 problem didn't exist. Does GRMr really need that version?
Here's my session info:
When I run
example(run_glm, run.dontrun=TRUE)
, I get an error:It appears that there are two problems:
run_glm()
wantslibpng12
, but that seems to be a particular version. I've gotlibpng-dev
,libpng-tools
, andlibpng16-16
installed; libpng12 isn't even an option.run_glm()
is trying to write output to a directory. that's protected on Linux..I can change where the file gets written, if only the libpng12 problem didn't exist. Does GRMr really need that version?
Here's my session info:
The text was updated successfully, but these errors were encountered: