Weird problem when I try to install package "questionr"

Hi everyone,

I run on R 3.6.3 with RStudio 1.4.1103. I have reinstalled the 2 softwares for some reasons (I tried R 4.0.3 but I had a lot of problems with installation of packages, so I came back on R 3.6.3).

Since the reinstallation of R 3.6.3, I cannot reinstall the package "questionr". For the moment all the others are ok, but impossible with "questionr".

Here's the message :

> install.packages("questionr")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/Gloubi/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)

  There is a binary version available but the source version is later:
          binary source needs_compilation
questionr  0.7.3  0.7.4             FALSE

installing the source package ‘questionr’

essai de l'URL 'https://cran.rstudio.com/src/contrib/questionr_0.7.4.tar.gz'
Content type 'application/x-gzip' length 1714911 bytes (1.6 MB)
downloaded 1.6 MB

Impossible de configurer l'écran au nombre de lignes et de colonnes spécifié.

The downloaded source packages are in
	‘C:\Users\Gloubi\AppData\Local\Temp\Rtmpi2lpev\downloaded_packages’

The error is (my system is in french) : "Unable to configure the screen to the specified number of rows and columns."

What does this mean ?

Before, there was absolutely no problem with this package. It's compatible (R > 3.5.0), and it doesn't need compilation. Before the reinstallation it was working with R 3.6.3.

Thanks for your help !

Joël

The problem is very very strange.

When I open RStudio, it tells me the package "questionr" is not installed and ask me if I want to install it (because my script mentions it and it's not installed), in the pale yellow banner above the script window.

If I click "Install" (instead of write it with the function "install.package"), it installs it :slight_smile:

Installing 'questionr' ...

Installing package into 'C:/Users/Gloubi/Documents/R/win-library/3.6'
(as 'lib' is unspecified)

  There is a binary version available but the source version is later:
          binary source needs_compilation
questionr  0.7.3  0.7.4             FALSE

installing the source package 'questionr'

essai de l'URL 'https://cran.rstudio.com/src/contrib/questionr_0.7.4.tar.gz'
Content type 'application/x-gzip' length 1714911 bytes (1.6 MB)
==================================================
downloaded 1.6 MB


The downloaded source packages are in
	'C:\Users\Gloubi\AppData\Local\Temp\RtmpcLM5vS\downloaded_packages'


<U+2714> Package 'questionr' successfully installed.

But, if I launch it just after, it doesn't work :slight_smile:

> library(questionr)
Error in library(questionr) : 
 no package named 'questionr' is found

It doesn't make any sense... It makes me crazy !

What is the output of .libPaths()?

Hi,

Here's the output :

> .libPaths()
[1] "C:/Users/Gloubi/Documents/R/win-library/3.6" "C:/Program Files/R/R-3.6.3/library" 

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.