Code Monkey home page Code Monkey logo

Comments (3)

emdelponte avatar emdelponte commented on June 26, 2024 2

Try the following code to install the package: if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")

BiocManager::install("Icens")

install.packages(interval)

devtools::install_github('emdelponte/r4pde', force=TRUE)

from r4pde.

harryeslick avatar harryeslick commented on June 26, 2024 1

Hi @lucianhuang ,
Im finding it a bit hard to understand your post because of how the markdown is rendered, you may want to review your formatting.

But I think you may just need to install {Icens} using:
BiocManager::install("Icens", force = TRUE)
rather than:
install.packages("Icens", force = TRUE)

I followed the original instructions without a problem, ( skipping install.packages(interval) which didn't work). I am using R version 4.3.1.

from r4pde.

lucianhuang avatar lucianhuang commented on June 26, 2024

Sorry my friend, it's bad formatting.

Your suggestion is helpful and I install r4pde successfully.

I appreciate @harryeslick and @emdelponte's help very much.
I believe I can continue learning the content of R for Plant Disease Epidemiology.

I code
"BiocManager::install("Icens", force = TRUE)"
and code
"if (!require(remotes)) {
install.packages("remotes")
}
remotes::install_github("emdelponte/r4pde")"

The former message:

Firstly, I code
"if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("Icens")"

and R tell me that
"Warning message:
package(s) not installed when version(s) same as or greater than current; use force = TRUE to
re-install: 'Icens'"

So I code that
"install.packages("Icens", force = TRUE)"

and it shows me that
"package ‘Icens’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages"

from r4pde.

Related Issues (1)

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.