hollorol / RBBGCMuso

RBBGCMuso is a software package that supports the application of the Biome-BGCMuSo biogeochemical model.
GNU General Public License v2.0
20 stars 11 forks source link

Warning message about paramSweep() #24

Open Fatemehbah opened 1 year ago

Fatemehbah commented 1 year ago

Hello, Thanks for your effort in The RBBGCMuso Package, I am planning to run based on the prepared data of the RBBGCMuso Package (https://github.com/hollorol/RBBGCMuso) and run the model step by step based on the manual. I found some errors after running aramSweep(), Please see the below, Could you please help me with how to handle this error?

Warning message: tbl_df() was deprecated in dplyr 1.0.0. i Please use tibble::as_tibble() instead. i The deprecated feature was likely used in the RBBGCMuso package. Please report the issue to the authors. This warning is displayed once every 8 hours. Call lifecycle::last_lifecycle_warnings() to see where this warning was generated.

paramSweep() [1] codes names units descriptions

<0 rows> (or 0-length row.names)

processing file: cfa2b6b8eef9fcf938c7daaaae73308e-paramsweep.rmd |........... | 20% ordinary text without R code

|...................... | 40% label: setup (with options) List of 1 $ include: logi FALSE

|................................ | 60% label: unnamed-chunk-1 (with options) List of 1 $ echo: logi FALSE

|........................................... | 80% label: unnamed-chunk-2 (with options) List of 1 $ echo: logi FALSE

Quitting from lines 11-12 (cfa2b6b8eef9fcf938c7daaaae73308e-paramsweep.rmd) Error in parse(text = x, srcfile = src) : :1:28: unexpected symbol 1: parameters <- read.csv("c("TRANSFERGROWTHP ^ In addition: Warning messages: 1: In paramSweep() : There are more than one output variable in conection with 3009. The first possibility were choosen. 2: In rmdVec[11] <- paste0("parameters <- read.csv(\"", parameters, : number of items to replace is not a multiple of replacement length 3: In do_once((if (is_R_CMD_check()) stop else warning)("The function xfun::isFALSE() will be deprecated in the future. Please ", : The function xfun::isFALSE() will be deprecated in the future. Please consider using base::isFALSE(x) or identical(x, FALSE) instead.

musoQuickEffect(calibrationPar = 13, startVal = 0, endVal = 9, nSteps = 5, outVar = 3009, yearNum=3) paramSweep() [1] codes names units descriptions

<0 rows> (or 0-length row.names)

processing file: 164e1e5a1b2df8a7b2fb3302d7e2e019-paramsweep.rmd |........... | 20% ordinary text without R code

|...................... | 40% label: setup (with options) List of 1 $ include: logi FALSE

|................................ | 60% label: unnamed-chunk-1 (with options) List of 1 $ echo: logi FALSE

|........................................... | 80% label: unnamed-chunk-2 (with options) List of 1 $ echo: logi FALSE

Quitting from lines 11-12 (164e1e5a1b2df8a7b2fb3302d7e2e019-paramsweep.rmd) Error in parse(text = x, srcfile = src) : :1:28: unexpected symbol 1: parameters <- read.csv("c("TRANSFERGROWTHP ^ In addition: Warning messages: 1: In paramSweep() : There are more than one output variable in conection with 3009. The first possibility were choosen. 2: In rmdVec[11] <- paste0("parameters <- read.csv(\"", parameters, : number of items to replace is not a multiple of replacement length

hollorol commented 1 year ago

Thanks for the bug report. I'll check it soon.