Giter Club home page Giter Club logo

Comments (4)

giabaio avatar giabaio commented on June 2, 2024 1

Hi @jSoboil,
Sorry for being a bit slow. I think this is sorted. If you install the current `dev' version, with

remotes::install_github("giabaio/BCEA",ref="dev")

all should be back to working OK.

Please do shout if there's still something not quite right!

from bcea.

giabaio avatar giabaio commented on June 2, 2024

Can you elaborate, possibly with a reproducible example? I'll look into it then!

Thanks for this!
G

from bcea.

jSoboil avatar jSoboil commented on June 2, 2024

Hey Gianluca,

It initially produced the error with a real-life model, but after running a simple script it reproduces it using simulated values. See below:

# Set seed:
set.seed(13412)

# Load libraries
library(BCEA)

# Randomly sample effects and cost data:
eff <- matrix(data = (rnorm(n = 2 * 100)), nrow = 100, ncol = 2)
cost <- matrix(data = (rlnorm(n = 2 * 100, meanlog = 5)), nrow = 100, ncol = 2)

# Create BCEA object
df_cea <- bcea(eff = eff, cost = cost, ref = 1, .comparison = 2)

# Call make.report() function:
BCEA::make.report(bcea(eff = eff, cost = cost, ref = 1, .comparison = 2)) # calling bcea function directly
BCEA::make.report(df_cea) # calling bcea object

The last two lines of code return:

Error in abs_path(input) : The file '/report.Rmd' does not exist.

from bcea.

jSoboil avatar jSoboil commented on June 2, 2024

Thanks, Gianluca! Not slow at all...

from bcea.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.